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

Bug#141213: g++-3.0: coredump with dynamic_cast



On Thu, Apr 04, 2002 at 11:06:18PM +0100, Philip Blundell wrote:
> On Thu, 2002-04-04 at 22:28, Zdenek Kabelac wrote:
> > Just today I've recompiled avifile with latest gcc3.0 
> > and with Qt compiled with gcc3.0 so I could actually try how this
> > works - and I've discovered that  dynamic_cast with this
> > gcc no longer works and actually creates coredump.
> > 
> > For avifile I've removed usage of  dynamic_cast with introduction
> > of another method - however I believe that this bug is
> > relatively improtant for C++ support (at least from my point of view)
> 
> Is this the same as #134262, or something else?

Hmm looks like it - but there are two interesting points however
- somehow I've not noticed this report while using reportbug
- I do not link  libGLU to avifile - but as it's linked with libSDL
  libGL seems to be linked with the program - but no libGLU is shown
  with ldd (here is the output:


$ ldd bin/aviplay 
        libaviplay-0.6.so.1 => /var/tmp/avi6/lib/libaviplay-0.6.so.1 (0x40014000)
        libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0x400b4000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4068e000)
        libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x406f8000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40721000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40729000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40736000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40810000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40824000)
        libdl.so.2 => /lib/libdl.so.2 (0x40838000)
        libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x4083c000)
        libm.so.6 => /lib/libm.so.6 (0x408cd000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x408ee000)
        libc.so.6 => /lib/libc.so.6 (0x408f5000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x40a12000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40a55000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40a74000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40aa1000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40ab1000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40b17000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40b2b000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40b41000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40b49000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40b4e000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40b8d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        liblcms.so.1 => /usr/lib/liblcms.so.1 (0x40bd8000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40bf1000)

-- 
  .''`.  Which fundamental human right do you want to give up today?
 : :' :      Debian GNU/Linux maintainer - www.debian.{org,cz}
 `. `'  Zdenek Kabelac  kabi@{debian.org, users.sf.net, fi.muni.cz}
   `-              When in doubt, just blame the Euro. :)


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: