[vtkusers] Problems on AIX
Alexander Trum
a.trum at teraport.de
Wed Mar 20 11:11:01 EST 2002
Hello
Thanks a lot for your tips.
I found out that this is a bug in gcc's bastring.h on AIX, but a fix for
gcc 2.95.x is not available.
So I try to switch to a native compiler.
Thanks a lot,
Alex
"William A. Hoffman" schrieb:
>
> You could type where and see what the call stack was.
> Also, you may want to try removing the -O2 and rebuilding
> everything. -O2 has caused problems on some machines.
>
> -Bill
>
> At 04:15 PM 3/19/2002 +0100, Alexander Trum wrote:
> >Hello
> >
> >CMAKE_CXX_FLAGS are set to -O2 -g.
> >I have debugged my program with gdb 5.0.
> >Gdb produces following output:
> >
> >Program received signal SIGSEGV, Segmentation fault.
> >0xd0b479d4 in __static_initialization_and_destruction_0
> >(__initialize_p=1, __priority=65535)
> > at
> >/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/../../../../include/g++-3/std/bastring.h:75
> >75 charT* grab () { if (selfish) return clone (); ++ref; return
> >data (); }
> >(gdb)
> >
> >It seems that this is a problem of g++ related libs and includes.
> >Is there anybody who have had a similar problem?
> >Perhaps should i use another compiler?
> >
> >Thanks in advance,
> > Alex
> >
> >"William A. Hoffman" schrieb:
> >>
> >> If you are compiling with gcc, then you should try gdb and not dbx, you
> >> might get more information. Also, when you run ccmake or cmake, you should
> >> make sure the CMAKE_CXX_FLAGS is set to -g so you have debug information.
> >>
> >> -Bill
> >>
> >> At 01:12 PM 3/19/2002 +0100, Alexander Trum wrote:
> >> >Hello
> >> >
> >> >I'm using VTK 4.0 on a power pc with aix 4.3.3.0.
> >> >I have compiled VTK with gnu as 2.9 and gcc 2.95.3 without any problems.
> >> >But when i call my executable it immediately core dumps with a
> >> >segmentation fault.
> >> >When i try to debug it, dbx prints out following errors:
> >> >
> >> >reading symbolic information ...internal error: unexpected value 58 at
> >> >line 3935 in file stabstring.c
> >> >internal error: expected char ',', found
> >> >'17=#14,18=&14,19=*14,20=&14,-11;:__as__3._0RC3._0;2A.;._0::21=#14,19,19,20,-11;:__3._0RC3._0;2A.22=#14,19,19,-11;:__3._0;2A.;;'
> >> >internal error: expected char ',', found
> >> >'=#14,18=&14,19=*14,20=&14,-11;:__as__3._0RC3._0;2A.;._0::21=#14,19,19,20,-11;:__3._0RC3._0;2A.22=#14,19,19,-11;:__3._0;2A.;;'
> >> >internal error: expected char ';', found
> >> >'#14,18=&14,19=*14,20=&14,-11;:__as__3._0RC3._0;2A.;._0::21=#14,19,19,20,-11;:__3._0RC3._0;2A.22=#14,19,19,-11;:__3._0;2A.;;'
> >> >internal error: unexpected value 95 at line 3935 in file stabstring.c
> >> >internal error: expected char ',', found
> >> >'_as__3._0RC3._0;2A.;._0::21=#14,19,19,20,-11;:__3._0RC3._0;2A.22=#14,19,19,-11;:__3._0;2A.;;'
> >> >internal error: expected char ',', found
> >> >'as__3._0RC3._0;2A.;._0::21=#14,19,19,20,-11;:__3._0RC3._0;2A.22=#14,19,19,-11;:__3._0;2A.;;'
> >> >internal error: expected char ';', found
> >> >'s__3._0RC3._0;2A.;._0::21=#14,19,19,20,-11;:__3._0RC3._0;2A.22=#14,19,19,-11;:__3._0;2A.;;'
> >> >internal error: unexpected value 58 at line 3935 in file stabstring.c
> >> >
> >> >It seems to me that this is a compiler problem.
> >> >Has anybody an idea how to solve this problem?
> >> >
> >> >Thanks in advance,
> >> > AlexContent-Type: text/x-vcard; charset=iso-8859-2;
> >> > name="a.trum.vcf"
> >> >Content-Description: Karte für Alexander Trum
> >> >Content-Disposition: attachment;
> >> > filename="a.trum.vcf"
> >> >X-MIME-Autoconverted: from 8bit to quoted-printable by nymx01.mgw.rr.com id g2JCEvP17485Content-Type: text/x-vcard; charset=iso-8859-2;
> > name="a.trum.vcf"
> >Content-Description: Karte für Alexander Trum
> >Content-Disposition: attachment;
> > filename="a.trum.vcf"
> >X-MIME-Autoconverted: from 8bit to quoted-printable by nymx01.mgw.rr.com id g2JFHOP00229
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.trum.vcf
Type: text/x-vcard
Size: 409 bytes
Desc: Karte f?r Alexander Trum
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020320/447e448d/attachment.vcf>
More information about the vtkusers
mailing list