hp-ux, c++, pthread, sigsegv
Laszlo, Robert
rob@icell.hu
Sun Nov 5 05:14:00 GMT 2000
Hi.
I've got some trouble here.
I've also compiled and run the code successfully (without segv) with aCC.
h8) gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/specs
gcc version 2.95.2 19991024 (release)
h8) g++ -g -o sanyi sanyi.cc -lpthread
h8) gcc -v -save-temps -g -o sanyi sanyi.cc -lpthread 2>sanyi.out.2
h8) ./sanyi
44
szasz
szasz
szasz
szasz
Segmentation fault (core dumped)
h8) gdb sanyi core
..
#0 0x4448 in main (argc=1, argv=0x77ff06ac) at sanyi.cc:65
65 log(xstring("stopping"));
(gdb)
Regards,
rob - László, Róbert - rob@icell.hu - http://www.icell.hu/~rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanyi.cc.gz
Type: application/x-gzip
Size: 762 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20001105/1a9f3a13/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanyi.ii.gz
Type: application/x-gzip
Size: 27128 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20001105/1a9f3a13/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanyi.out.2.gz
Type: application/x-gzip
Size: 820 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20001105/1a9f3a13/attachment-0002.bin>
More information about the Gcc-bugs
mailing list