I'm not sure this is the right place to ask this question, because I don't use Puppy Linux, but I'm a big fan of gtkdialog, and I know there are other gtkdialog-lovers over here. Unfortunately, gtkdialog, compiled from the svn source, doesn't run anymore. I get: Attempt to unlock mutex that was not locked.
I had to make some modifications before it compiled successfully [1], but I have no idea what the error message means.
I hope someone can point me to the right direction.
thanks,
floris
more details at:
[1] http://code.google.com/p/gtkdialog/issues/detail?id=77
gtkdialog: Attempt to unlock mutex that was not locked
Does it work if you compile against gtk2?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
When I try
(from a fresh and unmodified svn source)
$ ./autogen.sh --prefix=/usr
$ make
$ checkinstall
$ sudo dpkg -i gtkdialog_0.8.4-1_amd64.deb
$ gtkdialog -f hbox.txt
Attempt to unlock mutex that was not locked
So, there is no difference.
I think a change in libc has caused this issue
$ ldd --version
ldd (Debian GLIBC 2.19-10) 2.19
https://bugzilla.gnome.org/show_bug.cgi?id=731986
I hope Thunor can update this beautiful program.
(from a fresh and unmodified svn source)
$ ./autogen.sh --prefix=/usr
$ make
$ checkinstall
$ sudo dpkg -i gtkdialog_0.8.4-1_amd64.deb
$ gtkdialog -f hbox.txt
Attempt to unlock mutex that was not locked
So, there is no difference.
I think a change in libc has caused this issue
$ ldd --version
ldd (Debian GLIBC 2.19-10) 2.19
https://bugzilla.gnome.org/show_bug.cgi?id=731986
I hope Thunor can update this beautiful program.
Interesting. It works fine for me with GNU libc 2.19
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Hi
I will refer to this topic, hoping that someone can help me. I saw that you had problems with compiling gtkdialog...I have also problems with installinng gtkdialog on Solaris 10 ...I have gcc installed....
Do you know how can I install it, do I need to change something..I'm out of idea, any help would be really great.
I will refer to this topic, hoping that someone can help me. I saw that you had problems with compiling gtkdialog...I have also problems with installinng gtkdialog on Solaris 10 ...I have gcc installed....
Do you know how can I install it, do I need to change something..I'm out of idea, any help would be really great.
Please at least describe the problems.TIHO0505 wrote:HI have also problems with installinng gtkdialog on Solaris 10 ...I have gcc installed....
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
jkfloris - I don't know much about this sort of thing, but it would be interesting to know if you still have the same problem with the latest Debian glibc, and with the plain GNU libc (without the Debian patches). And I guess even if a version built in another distro works for you...
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Workaround
Posted on gtkdialog buglist by me:
Error is caused by glib2.0-2.42.0 (prior Versions not tested) file glib2.0-2.42.0/glib/gthread-posix.c line 1327 'fprintf (stderr, "Attempt to unlock mutex that was not locked\n");abort ();'.
Temporary solution:
Get the sources for your distribution. Uncomment abort function this way: /*abort ()*/. Compile source. DO NOT install the packages. Glib2 is essential for your system. Broken glib will lead to malfunction. Open the compiled packages with e.g. mc and extract libglib-2.0.so(*). Do NOT copy the extracted LIB to a place in your Library-Path. Copy it to a new folder in your HOME folder. Rename gtkdialog binary to gtkdialog.bin. Write a little shellscript with the following line to start gtkdialog:
LD_PRELOAD="/<your path to your compiled and extracted>/libglib-2.0.so" gtkdialog.bin $@
Call this script gtkdialog and copy it to place in in your $PATH.
Hope this helps.
Peter
Error is caused by glib2.0-2.42.0 (prior Versions not tested) file glib2.0-2.42.0/glib/gthread-posix.c line 1327 'fprintf (stderr, "Attempt to unlock mutex that was not locked\n");abort ();'.
Temporary solution:
Get the sources for your distribution. Uncomment abort function this way: /*abort ()*/. Compile source. DO NOT install the packages. Glib2 is essential for your system. Broken glib will lead to malfunction. Open the compiled packages with e.g. mc and extract libglib-2.0.so(*). Do NOT copy the extracted LIB to a place in your Library-Path. Copy it to a new folder in your HOME folder. Rename gtkdialog binary to gtkdialog.bin. Write a little shellscript with the following line to start gtkdialog:
LD_PRELOAD="/<your path to your compiled and extracted>/libglib-2.0.so" gtkdialog.bin $@
Call this script gtkdialog and copy it to place in in your $PATH.
Hope this helps.
Peter