Problem in running eclipse 3.6 on ubuntu 10.04 - eclipse

I am trying to run eclipse 3.6 on ubuntu 10.04. I am getting these errors:
** (Eclipse:13709): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
And this causes the tool bar has big height. Is there a way to fix it?
Thank you.

it's a problem related to gtk and not to eclipse or emacs.
try this (solved to me) :
Modify the entry in /usr/share/themes/Ambiance/gtk-2.0/gtkrc from GtkRange::trough-under-steppers = 0 to GtkRange::trough-under-steppers = 1.
thanks to http://thehacklist.blogspot.com/2010/06/resolving-murrinestyledrawbox-assertion.html
[]s
pedro

Looks like bug 305843
It should be fixed in Eclipse Helios 3.6RC4 and more.
If you have the final Eclipse Helios 3.6 version, you may have to open a new bug report.

Related

AnyLogic 8 fails under Ubuntu 20.04

Clean installation of Ubuntu 20.04 with AnyLogic 8.0.0 Personal Learning Edition.
Anylogic suddenly hangs in many cases: when the drop-down menu is open, when the Property panel is resizing or even when you simply draw an object.
Example:
Install Anylogic
Run Anylogic
Create New Project
Create some objects (e.g. Conveyor):
Palette / Material Handling Library
Space Markup / Conveyor (double click to activate drawing mode)
Draw some lines, doble click to finish a drawing
Then try to resize several times the Properties area
Now Anylogic is hanging with the eternal repeating of failed in GtkScrollbar message:
…
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.457: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.463: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.464: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.464: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
…
Screen record
The same behaviour is under Kubuntu 22.04.
Does anybody manage to work successfully with Anylogic under Linux?
What flavour?
Or maybe there is a recipe for how to resolve the failed in GtkScrollbar issue?
Thanks

GLib-CRITICAL message on Linux

i have a rcp application that run on windows and linux.
First off all, in windows all is working fine, but when i compile the app on linux i have a lot of this message outputs.
GLib-CRITICAL **: 09:40:58.143: g_base64_encode_step: assertion 'in !=
NULL' failed
Gtk-WARNING **: 09:41:00.169: Negative content height -7 (allocation
1, extents 4x4) while allocating gadget (node button, owner
GtkToggleButton)
the linux version is:
Linux 3.10.0-957.10.1.el7.x86_64 GNU/Linux
In the other hand i have problems with the visualization of the controls, maybe is releated with the other issue.
I try to change the --launcher.GTK_version 2 in the .ini file but the controls problems remains.
login problem
enter image description here

Building Cyanogenmod from source - recipe for target failed (libnativehelper.so)

I'm getting the following error about an hour into my build of Cyanogenmod 12.1 for hlte, using the latest repo checkout. I am using Debian testing, have all dependencies installed as listed in Google's build guide and am using OpenJDK 7. I also have all proprietary files under vendor/samsung. What am I missing or what direction should I look in to solve this problem?
...
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target '/home/james/android/cm/out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [/home/james/android/cm/out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1

ArchLinux LibreOfficeFresh unable to start

My System:
- ArchLinux
- LibreOfficeFresh 5.0.2-3
- Xorg116
- Catalyst Graphics Drivers
Problem:
LibreOfficeFresh is unable to start since I have installed catalyst, so since i switched
from MESA to catalyst.
Error Description:
[tekkkz#thinkpad ~]$ libreoffice
(soffice:1022): GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
(soffice:1022): GLib-GObject-WARNING **: gtype.c:4268: type id '0' is invalid
(soffice:1022): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
Application Error
Someone an idea how I can get my LibreOffice working again?
Thanks for help,
Tekkkz
this is the message that I saw when upgrading today
(18/24) upgrading libreoffice-fresh [##############################] 100%
> LibreOffice now uses highly experimental gtk3 vcl by default
> on some desktops. To use stable gtk2 vcl uncomment
> it in /etc/profile.d/libreoffice-fresh.{sh,csh}
So you can try that, uncomment the line export SAL_USE_VCLPLUGIN=gtk
and re-login, if you don't want to logout, you have to export the variable manually in a terminal and run libreoffice from that terminal inmediately after exporting the variable.
export SAL_USE_VCLPLUGIN=gtk
soffice
I do that, and it works right now
It seems to be a problem with GTK themes (and a recent change between GTK2/3). Try changing themes and see if it starts working again (it did for me).

Error while building binutils 2.21.1a on Solaris

I'm trying to build binutils 2.21.1a from http://ftp.gnu.org/gnu/binutils on Solaris sun4u sparc SunOS 5.10. I am using gcc version 4.0.2. When I built this is the error:
cc1: warnings being treated as errors
compress.c: In function 'bfd_compress_section_contents':
compress.c:100: warning: implicit declaration of function 'compressBound'
make[2]: *** [compress.lo] Error 1
make[2]: Leaving directory `/nfs/netapp0/user/home/hart/downloads/binutils-2.21.1/bfd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nfs/netapp0/user/home/hart/downloads/binutils-2.21.1/bfd'
*** Error code 2
make: Fatal error: Command failed for target `all'
I added the --disable-werror to the configure line to try to bypass it and hopefully continue the build. Unfortunately this did not work either and I got this new, related, error at link time:
Undefined first referenced
symbol in file
compressBound ../bfd/.libs/libbfd.a(compress.o)
ld: fatal: Symbol referencing errors. No output written to size
collect2: ld returned 1 exit status
I have searched for an existing issue but I have found nothing related. Any ideas? I prefer to use this version of binutils, but if you know of a version that builds OK on this platform with gcc 4.0.2 specifically please let me know.
I finally found the issue was indeed filed as a BUG. The workaround is to add --without-zlib to the configure script or install an up to date version of zlib on the system.