On Fri, Aug 26, 2005 at 03:02:33PM +0200, Daniel Kobras wrote :
> On Fri, Aug 26, 2005 at 01:03:47AM +0200, Brice Méalier wrote:
> > I compiled it with the debugging symbols and then try to run it from
> > gdb, but it starts, the splash screen appears and nothing more!! I can
> > just quit gdb and kill muse running inside. The output is:
> > 
> > (gdb) run
> > Starting program: /usr/bin/muse 
> > [Thread debugging using libthread_db enabled]
> > [New Thread -1223010624 (LWP 26513)]
> > /usr/bin/mozilla-firefox
> > no locale <muse_en_US>/</usr/share/muse/locale>
> > open projectfile: No such file or directory
> > starting with default template
> > [New Thread -1229894736 (LWP 26525)]
> > 
> > Program received signal SIG33, Real-time event 33.
> > [Switching to Thread -1229894736 (LWP 26525)]
> > 0xb7353af8 in clone () from /lib/tls/libc.so.6
> 
> Ah, this is a signal for internal thread handling stuff or whatever. You
> can tell gdb to ignore it using
> 
>       handle SIG33 nostop noprint pass
> 
> Do the same with other signals until you hit the SIGSEGV. Then, type
> "bt" to obtain a backtrace.


thanks for the trick! here is what I obtained:


(gdb) handle SIG33 nostop noprint pass
Signal        Stop      Print   Pass to program Description
SIG33         No        No      Yes             Real-time event 33
(gdb) bt
No stack.
(gdb) run
Starting program: /usr/bin/muse 
[Thread debugging using libthread_db enabled]
[New Thread -1223555392 (LWP 24011)]
/usr/bin/mozilla-firefox
no locale <muse_en_US>/</usr/share/muse/locale>
open projectfile: No such file or directory
starting with default template
[New Thread -1230566480 (LWP 24047)]
[New Thread -1238955088 (LWP 24048)]
[New Thread -1247343696 (LWP 24049)]
[New Thread -1255732304 (LWP 24050)]
cca_open_socket: could not connect to host 'localhost', service '14541'
cca_init: could not connect to server 'localhost' - disabling ladcca
midiSeqRunning = 1 watchMidi 0
midiSeqRunning = 1 watchMidi 0
midiSeqRunning = 1 watchMidi 0
WatchDog: fatal error, realtime task timeout
   (0,141-3) - stopping all services

Program received signal SIG32, Real-time event 32.
[Switching to Thread -1238955088 (LWP 24048)]
0xb72c45a9 in poll () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb72c45a9 in poll () from /lib/tls/libc.so.6
#1  0x08076e64 in Thread::loop (this=0x853b2b8) at thread.cpp:258
#2  0x08076f4f in loop (mops=0x853b2b8) at thread.cpp:34
#3  0xb7485ccd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb72ceb0e in clone () from /lib/tls/libc.so.6
(gdb) 



note the program doesn't crash but it is not responding to anything.



> 
> > With ltrace this is the same story!!! I issue an ltrace muse in a
> > terminal as root and it outputs a lot of stuff, the splash screen comes
> > out and then it locks the computer, the processor runs 100% and that's
> > it!
> 
> Try starting with ltrace -f to trace all threads.
> 


this still doesn't work!! same story: cpu runs at 100%, the splash
screen is displayed but nothing more happens.


Best regards,

-- 
Brice Méalier
[EMAIL PROTECTED]
Linux user nb. 372699
Debian GNU/Linux testing
-----
"Unix IS user friendly, it is just selective about who his friends are"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to