public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems using the commonc++ library
@ 2004-05-06 19:33 Jason.Majors
  0 siblings, 0 replies; only message in thread
From: Jason.Majors @ 2004-05-06 19:33 UTC (permalink / raw)
  To: gcc-help

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 ()

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-06 19:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 19:33 Problems using the commonc++ library Jason.Majors

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).