[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segfault using the Thread class
From: |
Rogério Samuel de Moura Martins |
Subject: |
Re: segfault using the Thread class |
Date: |
Wed, 12 May 2004 02:45:17 -0300 |
Send your code for me.
----- Original Message -----
From: <address@hidden>
To: <address@hidden>
Sent: Thursday, May 06, 2004 4:22 PM
Subject: segfault using the Thread class
> I'm trying to use commonc++2-1.0.13 for a project.
> I created a simple Thread derived 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. Is this an error in
> commonc++ or is it an incompatibility with my system? Any suggestions on
> how I can get around this?
> I'm using gcc 3.3.2 on aix 5.2.0.
> 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 ()
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>