bug-glibc
[Top][All Lists]
Advanced

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

libc2.3.2, RedHat 9 and gdb


From: Konrad Rzeszutek
Subject: libc2.3.2, RedHat 9 and gdb
Date: Thu, 31 Jul 2003 13:50:43 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey there,

I'm working on Pegasus (www.openpegasus.org) and we have encountered a
problem on RedHat 9 machine while trying to debug the Pegasus code. Not
sure if its a Pegasus, libc, or RedHat problem - but I figured asking
you guys for some input would help me find the culprit.

The problem is documented at:
http://cvs.opengroup.org/bugzilla/show_bug.cgi?id=404

It basically says:


Under RedHat 9 (which has libc2.3.2) Pegasus (compiled with
PEGASUS_DEBUG=on)
coredumps when debugging under gdb 5.3 (and also the latest snaphost of
GDB from gdb CVS). The coredump reports the backtrace to be:

(gdb) backtrace
#0  0xffffe002 in ?? ()
#1  0x42028a73 in abort () from /lib/tls/libc.so.6
#2  0x40428b57 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#3  0x40428ba4 in std::terminate() () from /usr/lib/libstdc++.so.5
#4  0x40428d16 in __cxa_throw () from /usr/lib/libstdc++.so.5
#5  0x400e6e82 in Pegasus::Semaphore::wait() (this=0x401815b0) at
IPCUnix.cpp:588
#6  0x400ebd60 in Pegasus::MessageQueueService::polling_routine(void*)
(parm=0x80949d8)
~    at MessageQueueService.cpp:108
#7  0x403662b6 in start_thread () from /lib/tls/libpthread.so.0
(gdb) l IPCUnix.cpp:588
583     // block until this semaphore is in a signalled state, or
584     // throw an exception if the wait fails
585      void Semaphore::wait(void) throw(WaitFailed)
586     {
587        if (sem_wait(&_semaphore.sem))
588           throw(WaitFailed(_semaphore.owner));
589     }
590
591     // wait succeeds immediately if semaphore has a non-zero count,
592     // return immediately and throw and exception if the

Any ideas? Thanks!
- --
Regards,

Konrad Rzeszutek
IBM Corp. 1.617.693.1718
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/KVbzdijIw3ODF1YRAqYaAJ9vMAkEE5kOXGCvB9WgrkprmrhdyACfc65j
RXWZyZuppWoEq/hSDyKLj98=
=wWHN
-----END PGP SIGNATURE-----





reply via email to

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