Bugs item #3475624, was opened at 2012-01-18 12:41
Message generated for change (Comment added) made by denis-w
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=3475624&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Crasher/nasty bug
Group: Latest release
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Denis Washington (denis-w)
Assigned to: Nobody/Anonymous (nobody)
Summary: Startup crash on Ubuntu 12.04

Initial Comment:
When trying to run Synfig Studio after installation from the .deb package, it 
crashes right away with the following error message:

GLib (gthread-posix.c): Unexpected error from C library during 'Das Argument 
ist ungültig': pthread_cond_timedwait.  Aborting.

Running the binary from gdb reveals that this results from a call to 
g_cond_wait_until(). This may be because Ubuntu 12.04 ships with glib 2.31.x, 
which integrated libgthread-2.0 into libglib-2.0 and made g_thread_init() a 
noop:

http://osdir.com/ml/commits.gnome/2011-10/msg08477.html

A simple rebuild might help (but until now I was not able to build Synfig 
successfully).

----------------------------------------------------------------------

>Comment By: Denis Washington (denis-w)
Date: 2012-03-14 01:42

Message:
I have tracked down the problem: the async renderer in syfigstudio/src/gui/
uses GCond::timed_wait() the wrong way - it passes a relative time time to
wait instead of an absolute point in time. This is what caused the "invalid
argument" error (as the time passed was always in the past).

Why this problem hasn't shown up earlier is a good question, though.
Probably some change inside of glib. Anyway, I have fixed the problem and
Synfig works perfectly now. I'll attach a patch shortly.

----------------------------------------------------------------------

Comment By: ike ahloe ()
Date: 2012-03-10 11:36

Message:
gdb synfigstudio
GNU gdb (Ubuntu/Linaro 7.4-0ubuntu1) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/synfigstudio...done.
(gdb) r
Starting program: /usr/bin/synfigstudio 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

   synfig studio -- starting up application...

synfig(13459) [01:34:28 PM] info: Loading modules from
/opt/synfig/etc/synfig_modules.cfg
[New Thread 0x7fffead24700 (LWP 13462)]
[New Thread 0x7fffea523700 (LWP 13463)]

GLib-GObject-CRITICAL **: Object class
gtkmm__CustomObject_N6studio15ValueBase_EntryE doesn't implement property
'editing-canceled' from interface 'GtkCellEditable'
[New Thread 0x7fffe29a9700 (LWP 13464)]
GLib (gthread-posix.c): Unexpected error from C library during
'pthread_cond_timedwait': Invalid argument.  Aborting.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe29a9700 (LWP 13464)]
0x00007ffff2ca0445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/synfigstudio 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

   synfig studio -- starting up application...

synfig(13465) [01:35:02 PM] info: Loading modules from
/opt/synfig/etc/synfig_modules.cfg
[New Thread 0x7fffead24700 (LWP 13466)]
[New Thread 0x7fffea523700 (LWP 13467)]

GLib-GObject-CRITICAL **: Object class
gtkmm__CustomObject_N6studio15ValueBase_EntryE doesn't implement property
'editing-canceled' from interface 'GtkCellEditable'
[New Thread 0x7fffe29a9700 (LWP 13468)]
GLib (gthread-posix.c): Unexpected error from C library during
'pthread_cond_timedwait': Invalid argument.  Aborting.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe29a9700 (LWP 13468)]
0x00007ffff2ca0445 in raise () from /lib/x86_64-linux-gnu/libc.so.6


----------------------------------------------------------------------

Comment By: ike ahloe ()
Date: 2012-03-10 11:33

Message:
"   synfig studio -- starting up application...

synfig(13430) [01:32:02 PM] info: Loading modules from
/opt/synfig/etc/synfig_modules.cfg

GLib-GObject-CRITICAL **: Object class
gtkmm__CustomObject_N6studio15ValueBase_EntryE doesn't implement property
'editing-canceled' from interface 'GtkCellEditable'
GLib (gthread-posix.c): Unexpected error from C library during
'pthread_cond_timedwait': Invalid argument.  Aborting.
Aborted (core dumped)
"

----------------------------------------------------------------------

Comment By: Joao Lopes (caldas_lopes)
Date: 2012-03-09 12:17

Message:
joao@portatil:~$ gdb synfigstudio 
GNU gdb (Ubuntu/Linaro 7.4-0ubuntu1) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/synfigstudio...done.
(gdb) r
Starting program: /usr/bin/synfigstudio 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

   synfig studio -- starting up application...

synfig(9819) [20:12:59] info: Loading modules from
/opt/synfig/etc/synfig_modules.cfg
[New Thread 0x7fffeb199700 (LWP 9822)]
[New Thread 0x7fffea998700 (LWP 9823)]

GLib-GObject-CRITICAL **: Object class
gtkmm__CustomObject_N6studio15ValueBase_EntryE doesn't implement property
'editing-canceled' from interface 'GtkCellEditable'
[New Thread 0x7fffe8c90700 (LWP 9824)]
GLib (gthread-posix.c): Unexpected error from C library during
'pthread_cond_timedwait': Argumento inválido.  Aborting.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe8c90700 (LWP 9824)]
0x00007ffff2ca0445 in __GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: Ficheiro ou directoria
inexistente.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2012-03-01 05:20

Message:
Same Issue but other mesage: 
top@Star:~/Scaricati/Pacchetti - Kubuntu_12.04_LTS$ synfigstudio 

   Synfig Studio: avvio applicazione...

synfig(30364) [14:15:23] info: Created directory "/home/silvio/.synfig"
synfig(30364) [14:15:23] informazione: Caricamento moduli da
/opt/synfig/etc/synfig_modules.cfg
synfig(30364) [14:15:28] informazione: Created directory
"/home/silvio/.synfig/tmp"

GLib-GObject-CRITICAL **: Object class
gtkmm__CustomObject_N6studio15ValueBase_EntryE doesn't implement property
'editing-canceled' from interface 'GtkCellEditable'
GLib (gthread-posix.c): Unexpected error from C library during 'Argomento
non valido': pthread_cond_timedwait.  Aborting.
Annullato (core dump creato)
silvio@Star:~/Scaricati/Pacchetti - Kubuntu_12.04_LTS$ 


----------------------------------------------------------------------

Comment By: Joao Lopes (caldas_lopes)
Date: 2012-02-27 11:02

Message:
Rebuilding is not enough. Same error appear.  

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=3475624&group_id=144022

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to