This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20949] New: misscompilation of konqueror, artsd, STLport, libstdc++, ...


******************************************************************************

[1] konqueror (kdebase-3.4.0).

(gdb) bt
#0  ~QIconSet (this=0x8209614) at qshared.h:50

~QIconSet (this=0x8209614) at qshared.h:50
50          bool deref()        { return !--count; }

(gdb) print this
$1 = (QIconSet * const) 0x8209614
(gdb) print *this
$2 = {_vptr.QIconSet = 0x41048ba8, d = 0x5}

It looks as if "d" pointer was corrupted in toplevel.

#1  0x4068cc51 in ~KGuiItem (this=0xbfffdbe4) at kguiitem.cpp:109
#2  0x400a1ce5 in ~QPair (this=0xbfffdbe4) at konq_mainwindow.cc:3683
#3  0x400727ea in KonqMainWindow::initActions (this=0x812af98)
    at konq_mainwindow.cc:3922
#4  0x4008b330 in KonqMainWindow (this=0x812af98, initialURL=@0xbfffef84,
    openInitialURL=false, name=0x29 <Address 0x29 out of bounds>,
    xmluiFile=@0x29) at konq_mainwindow.cc:217
(...)

Known workaround:
http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/kdebase-gcc4-konq_mainwindow.patch?rev=1.3

******************************************************************************

[2] arts-1.4.0

Program received signal SIGSEGV, Segmentation fault.
0x404f7405 in __gnu_cxx::__pool<true>::_M_reclaim_block ()
from /usr/lib/libstdc++.so.6

(gdb) bt
#0  0x404f7405 in __gnu_cxx::__pool<true>::_M_reclaim_block () from
/usr/lib/libstdc++.so.6
#1  0x08104928 in ?? ()
#2  0x0810492c in ?? ()
#3  0x00000000 in ?? ()
#4  0xbffff4d4 in ?? ()
#5  0xbffff4c8 in ?? ()
#6  0x00000000 in ?? ()
#7  0xbffff580 in ?? ()
#8  0x4006c8a0 in virtual thunk to Arts::GSLPlayObject_base::_defaultPortsOut()
    const () from /usr/lib/libsoundserver_idl.so.1
#9  0x4008ae60 in Arts::SampleStorageEntry_base::_IID ()
    from /usr/lib/libsoundserver_idl.so.1
#10 0x08104928 in ?? ()
#11 0x00000004 in ?? ()
#12 0x080ff100 in ?? ()
#13 0x081618ac in ?? ()
#14 0x081070bd in ?? ()
#15 0x081070f0 in ?? ()
#16 0xbffff4c8 in ?? ()
#17 0xbffff4b0 in ?? ()
#18 0xbffff4c8 in ?? ()
#19 0xbffff4b0 in ?? ()
#20 0x40061d49 in Arts::SoundServerStartup_base::_fromString ()
    from /usr/lib/libsoundserver_idl.so.1
#21 0x00000001 in ?? ()
#22 0x08073240 in vtable for Arts::ObjectReference ()
#23 0x080b902c in ?? ()
#24 0x0000001c in ?? ()
#25 0x081048d8 in ?? ()
#26 0x081048dc in ?? ()
#27 0x081048dc in ?? ()
#28 0x08073240 in vtable for Arts::ObjectReference ()
#29 0x0811634c in ?? ()
#30 0x0000001c in ?? ()
#31 0x08104928 in ?? ()
#32 0x0810492c in ?? ()
#33 0x0810492c in ?? ()
#34 0xbffff520 in ?? ()
#35 0x00000000 in ?? ()
#36 0xbffff508 in ?? ()
#37 0x0805e5e8 in Arts::SoundServerStartup_impl::cleanReference (this=0x8163ee0)
    at soundserver.h:1376
#38 0x0805ebda in Arts::SoundServerStartup_impl::lock (this=0x8163ee0)
    at soundserverstartup_impl.cc:78
#39 0x0805d51c in main (argc=1, argv=0xbffff784) at soundserver.h:2082

It may be related to PR19265

******************************************************************************

[3] STLport-4.6.2 (used by openoffice-1.1.3)

OpenOffice's open-file dialog closes immediately after it was launched.
This behavior came with rebuilded STLport.
It works fine with gcc-3.4, 3.3 and some earlier 4.0-snaps.
I will do a bsearch in free time.

******************************************************************************

-- 
           Summary: misscompilation of konqueror, artsd, STLport, libstdc++,
                    ...
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at pld-linux dot org
                CC: gcc-bugs at gcc dot gnu dot org,jason at redhat dot com
 GCC build triplet: i686-pld-linux
  GCC host triplet: i686-pld-linux
GCC target triplet: i686-pld-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20949


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]