Problems using the commonc++ library

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

 



I'm trying to use commonc++2-1.0.13 under gcc 3.3.2 on aix 5.2.0 for a 
project.
I created a simple class derived from commonc++'s Thread class and a main 
function that instantiates a couple of them to test how it works.
When I run my program I get a segfault, before it even enters my main().
Below is the output from a where command in gdb. Can anybody on this list 
with more knowledge of the internals of a compiler suggest what the 
problem might be, where to start investigating it, or how to fix it?
Thanks.

(gdb) where
#0  0xd255af14 in pthread_mutexattr_init ()
   from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#1  0xd2554f48 in ost::Mutex::Mutex() ()
   from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#2  0xd257c570 in __static_initialization_and_destruction_0(int, int) ()
   from /isprod/lib/libccgnu2.a(libccgnu2-1.0.so.0)
#3  0x1006b514 in _GLOBAL__FI_thread_test ()
#4  0xd01ec7c0 in mod_init1 () from /usr/lib/libc.a(shr.o)
#5  0xd01ec6dc in __modinit () from /usr/lib/libc.a(shr.o)
#6  0x1000019c in __start ()

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux