guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stumped by scm_car/scm_cdr


From: Han-Wen Nienhuys
Subject: stumped by scm_car/scm_cdr
Date: Sat, 25 Sep 2004 01:29:56 +0200

I have a problem that I cannot make heads of tails from.

If I go through the entire LilyPond C++ source, and replace

   ly_car

defined as 

         inline SCM ly_car (SCM x) { return SCM_CAR (x); }

by

        scm_car

and do the same for scm_cdr(), then my LilyPond mysteriously hangs in

        (gdb) r input/example-1
        [Thread debugging using libthread_db enabled]
        [New Thread 1075224992 (LWP 13675)]

        Now processing `input/example-1.ly'
        Parsing...

        Program received signal SIGINT, Interrupt.
        [Switching to Thread 1075224992 (LWP 13675)]
        0xffffe410 in ?? ()
        (gdb) bt
        #0  0xffffe410 in ?? ()
        #1  0xbfffa058 in ?? ()
        #2  0x00000002 in ?? ()
        #3  0x43afa18e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
        (gdb) 


this seemingly happens at a random place, and I can't investigate by
setting a breakpoint on __lll_mutex_lock_wait (If I try, the run
inside GDB succeeds as normal.)

What could be going on here?


-- 
 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]