[Bug 52917] Gideon crashes when saving h-files

Dominik Kuhlen dkuhlen at fhm.edu
Mon Jan 13 15:27:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=52917     
dkuhlen at fhm.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harry at kdevelop.org



------- Additional Comments From dkuhlen at fhm.edu  2003-01-13 15:26 -------
There are two possible "crashpoints": the one above (in qstring) and this one: 
I compiled QT with debug support and started gideon with gdb 
heres the interesting output: 
 
Program received signal SIGSEGV, Segmentation fault. 
[Switching to Thread 1024 (LWP 26492)] 
0x4036a083 in QMapIterator<QString, ParsedClass *>::inc (this=0xbfffe9c4) at 
/opt/qt/include/qmap.h:171 
171             while ( tmp->left ) 
(gdb) display tmp 
1: tmp = (QMapNodeBase *) 0x10                
(gdb) up 
#1  0x4036bfa3 in QMapIterator<QString, ParsedClass *>::operator++ 
(this=0xbfffe9c4) 
    at /opt/qt/include/qmap.h:143 
143             inc(); 
(gdb) up 
#2  0x4036632e in ClassStore::removeWithReferences (this=0x812f160, 
fileName=@0xbfffea8c) at classstore.cpp:490 
490         } 
(gdb) up 
#3  0x41e34639 in CppSupportPart::maybeParse (this=0x821ee20, 
fileName=Internal: global symbol `_7QString.null' found in tools/qstring.cpp 
psymtab but not in symtab. 
_7QString.null may be an inlined function, or may be a template function 
(if a template, try specifying an instantiation: _7QString.null<type>). 
) at cppsupportpart.cpp:1027 
1027        store->removeWithReferences( fileName ); 
(gdb) up 
#4  0x41e30309 in CppSupportPart::savedFile (this=0x821ee20, 
fileName=@0x85901a0) at cppsupportpart.cpp:482 
482             maybeParse( fileName, classStore( ), m_pParser ); 
(gdb) bt 
#0  0x4036a083 in QMapIterator<QString, ParsedClass *>::inc (this=0xbfffe9c4) 
at /opt/qt/include/qmap.h:171 
#1  0x4036bfa3 in QMapIterator<QString, ParsedClass *>::operator++ 
(this=0xbfffe9c4) 
    at /opt/qt/include/qmap.h:143 
#2  0x4036632e in ClassStore::removeWithReferences (this=0x812f160, 
fileName=@0xbfffea8c) at classstore.cpp:490 
#3  0x41e34639 in CppSupportPart::maybeParse (this=0x821ee20, fileName= 
      {static null = {static null = <same as static member of an already seen 
type>, d = 0x80adce8, static shared_null = 0x80adce8}, d = 0xbfffea8c, static 
shared_null = 0x80adce8}, store=0x812f160, parser=0x8220180) 
    at cppsupportpart.cpp:1027 
#4  0x41e30309 in CppSupportPart::savedFile (this=0x821ee20, 
fileName=@0x85901a0) at cppsupportpart.cpp:482 
#5  0x41e35aef in CppSupportPart::qt_invoke (this=0x821ee20, _id=5, 
_o=0xbfffeb60) at cppsupportpart.moc:153 
#6  0x40dc9daa in QObject::activate_signal (this=0x815c020, clist=0x81599c8, 
o=0xbfffeb60) 
    at kernel/qobject.cpp:2232 
#7  0x40dca3d9 in QObject::activate_signal (this=0x815c020, signal=5, param= 
      {static null = {static null = <same as static member of an already seen 
type>, d = 0x80adce8, static shared_null = 0x80adce8}, d = 0xbfffebb8, static 
shared_null = 0x80adce8}) at kernel/qobject.cpp:2279 
#8  0x08095a92 in KDevPartController::savedFile (this=0x815c020, 
t0=@0xbfffec1c) at kdevpartcontroller.moc:90 
#9  0x0807430f in PartController::slotUploadFinished (this=0x815c020) at 
partcontroller.cpp:320 
#10 0x08075e75 in PartController::qt_invoke (this=0x815c020, _id=15, 
_o=0xbfffed04) at partcontroller.moc:126 
#11 0x40dc9daa in QObject::activate_signal (this=0x849a010, clist=0x8542fa0, 
o=0xbfffed04) 
    at kernel/qobject.cpp:2232 
#12 0x40dc99ed in QObject::activate_signal (this=0x849a010, signal=20) at 
kernel/qobject.cpp:2186 
#13 0x4217507b in KateDocument::fileNameChanged () from 
/opt/kde-3.0.5a/lib/libkatepart.so 
#14 0x4217cb8f in KateDocument::saveFile () from 
/opt/kde-3.0.5a/lib/libkatepart.so 
#15 0x403d22d1 in KParts::ReadWritePart::save () from 
/opt/kde-3.0.5a/lib/libkparts.so.2 
#16 0x403d264c in KParts::ReadWritePart::saveAs () from 
/opt/kde-3.0.5a/lib/libkparts.so.2 
#17 0x4219de7f in KateView::save () from /opt/kde-3.0.5a/lib/libkatepart.so 
#18 0x42195ccf in KateView::qt_invoke () from 
/opt/kde-3.0.5a/lib/libkatepart.so 
#19 0x40dc9c5e in QObject::activate_signal (this=0x846c398, clist=0x8527a78, 
o=0xbffff044) 
    at kernel/qobject.cpp:2212 
#20 0x40dc99ed in QObject::activate_signal (this=0x846c398, signal=2) at 
kernel/qobject.cpp:2186 
#21 0x40713cc8 in KAction::activated () from /opt/kde-3.0.5a/lib/libkdeui.so.4 
#22 0x407097ce in KAction::slotActivated () from 
/opt/kde-3.0.5a/lib/libkdeui.so.4 
#23 0x40713ecb in KAction::qt_invoke () from /opt/kde-3.0.5a/lib/libkdeui.so.4 
#24 0x40dc9daa in QObject::activate_signal (this=0x8574df0, clist=0x85754a8, 
o=0xbffff174) 
    at kernel/qobject.cpp:2232 
#25 0x40dc99ed in QObject::activate_signal (this=0x8574df0, signal=4) at 
kernel/qobject.cpp:2186 
#26 0x411a2104 in QButton::clicked (this=0x8574df0) at 
.moc/debug-shared-mt/moc_qbutton.cpp:152 
#27 0x40e70750 in QButton::mouseReleaseEvent (this=0x8574df0, e=0xbffff5b4) at 
widgets/qbutton.cpp:808 
#28 0x40e0df52 in QWidget::event (this=0x8574df0, e=0xbffff5b4) at 
kernel/qwidget.cpp:4334 
#29 0x40d45c44 in QApplication::internalNotify (this=0xbffffa84, 
receiver=0x8574df0, e=0xbffff5b4) 
    at kernel/qapplication.cpp:2350 
#30 0x40d450e8 in QApplication::notify (this=0xbffffa84, receiver=0x8574df0, 
e=0xbffff5b4) 
    at kernel/qapplication.cpp:2159 
#31 0x408c7315 in KApplication::notify () from 
/opt/kde-3.0.5a/lib/libkdecore.so.4 
#32 0x4118b60b in QApplication::sendSpontaneousEvent (receiver=0x8574df0, 
event=0xbffff5b4) 
    at .moc/debug-shared-mt/../../kernel/qapplication.h:481 
#33 0x40cd1b69 in QETWidget::translateMouseEvent (this=0x8574df0, 
event=0xbffff91c) 
    at kernel/qapplication_x11.cpp:4217 
#34 0x40ccf170 in QApplication::x11ProcessEvent (this=0xbffffa84, 
event=0xbffff91c) 
    at kernel/qapplication_x11.cpp:3395 
#35 0x40cec178 in QEventLoop::processEvents (this=0x80e1f70, flags=4) at 
kernel/qeventloop_x11.cpp:169 
#36 0x40d633ec in QEventLoop::enterLoop (this=0x80e1f70) at 
kernel/qeventloop.cpp:191 
#37 0x40d63318 in QEventLoop::exec (this=0x80e1f70) at 
kernel/qeventloop.cpp:138 
#38 0x40d45ed8 in QApplication::exec (this=0xbffffa84) at 
kernel/qapplication.cpp:2471 
#39 0x08069024 in main (argc=1, argv=0xbffffbf4) at main.cpp:81 
#40 0x417d691d in __libc_start_main (main=0x8068ad0 <main>, argc=1, 
ubp_av=0xbffffbf4, init=0x8063dbc <_init>, 
    fini=0x809a42c <_fini>, rtld_fini=0x4000b9bc <_dl_fini>, 
stack_end=0xbffffbec) 
    at ../sysdeps/generic/libc-start.c:129 
 
 
This line is suspicious: 
1: tmp = (QMapNodeBase *) 0x10  
This should not happen, probably a "rampaging" pointer, that  
overwrites memory locations.




More information about the KDevelop-devel mailing list