Bug 92149

Summary: kernel.org: when clicking on the kernel 2.6.9 changelog and opening it in kwrite, kwrite crashes
Product: [Applications] kate Reporter: Matt Hargett <matt>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt Hargett 2004-10-26 18:23:27 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    Gentoo Packages
Compiler:          gcc-3.4.2 ssp 
OS:                Linux

-go to http://www.kernel.org in konq
-click on the 2.6.9 changelog link
-click "open in kwrite"

result:
after downloading, kwrite crashes with stacktrace below.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 26203)]
[KCrash handler]
#5  KateBuffer::findBlock_internal (this=0x8198aa8, i=36863, index=0x0)
    at katebuffer.h:141
#6  0xb67652d1 in KateDocument::plainKateTextLine (this=0x8b6f16c, i=36863)
    at katebuffer.h:522
#7  0xb67bf3df in KateViewInternal::textLine (this=0x8b6f16c, realLine=57)
    at kateviewinternal.cpp:3339
#8  0xb67bf9c7 in KateViewInternal::range (this=0x81f1bc0, realLine=36863, 
    previous=0x0) at kateviewinternal.cpp:1208
#9  0xb67c012e in KateViewInternal::viewLine (this=0x81f1bc0, 
    realCursor=@0xbfffd870) at katecursor.h:62
#10 0xb67c1009 in KateViewInternal::viewLineOffset (this=0x81f1bc0, 
    virtualCursor=@0xbfffd8f0, offset=-71, keepX=false)
    at kateviewinternal.cpp:1450
#11 0xb67c19e6 in KateViewInternal::maxStartPos (this=0x81f1bc0, changed=108)
    at kateviewinternal.cpp:259
#12 0xb67c1e6c in KateViewInternal::updateView (this=0x81f1bc0, changed=true, 
    viewLinesScrolled=0) at kateviewinternal.cpp:487
#13 0xb679fd46 in KateView::updateView (this=0x81b0ca0) at kateview.cpp:1272
#14 0xb675fe87 in KateDocument::updateViews (this=0x8b6f16c)
    at katedocument.cpp:4130
#15 0xb677794b in KateDocument::openFile (this=0x814c230, job=0x814c298)
    at katedocument.cpp:2584
#16 0xb6777ddf in KateDocument::slotFinishedKate (this=0x814c230, 
    job=0x82ae6f0) at katedocument.cpp:2501
#17 0xb677861f in KateDocument::qt_invoke (this=0x814c230, _id=137029360, 
    _o=0xbfffde30) at qucom_p.h:312
#18 0xb71e59e4 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#19 0xb7da188d in KIO::Job::result (this=0xbfffde58, t0=0x8b6f16c)
    at jobclasses.moc:156
#20 0xb7da191c in KIO::Job::emitResult (this=0x82ae6f0) at job.cpp:207
#21 0xb7da451c in KIO::SimpleJob::slotFinished (this=0x82ae6f0) at job.cpp:524
#22 0xb7db357a in KIO::TransferJob::slotFinished (this=0x82ae6f0)
    at job.cpp:884
#23 0xb7da33a1 in KIO::TransferJob::qt_invoke (this=0x82ae6f0, _id=137029360, 
    _o=0xb7f87748) at jobclasses.moc:1050
#24 0xb71e59e4 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#25 0xb71e617c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#26 0xb7d8eebc in KIO::SlaveInterface::finished (this=0x8b6f16c)
    at qmetaobject.h:261
#27 0xb7d91b67 in KIO::SlaveInterface::dispatch (this=0x82aeb30, _cmd=104, 
    rawdata=@0xbfffe204) at slaveinterface.cpp:255
#28 0xb7d90913 in KIO::SlaveInterface::dispatch (this=0x82aeb30)
    at slaveinterface.cpp:191
#29 0xb7d8c4ab in KIO::Slave::gotInput (this=0x82aeb30) at slave.cpp:294
#30 0xb7d8c878 in KIO::Slave::qt_invoke (this=0x82aeb30, _id=4, _o=0xbfffe650)
    at slave.moc:113
#31 0xb71e59e4 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#32 0xb71e600b in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#33 0xb75409e0 in QSocketNotifier::activated ()
   from /usr/qt/3/lib/libqt-mt.so.3
#34 0xb7202bb0 in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3
#35 0xb7181a3f in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0xb7181bdc in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#37 0xb77f6de5 in KApplication::notify (this=0xbfffee20, receiver=0x8127880, 
    event=0xbfffea70) at kapplication.cpp:495
#38 0xb7175153 in QEventLoop::activateSocketNotifiers ()
   from /usr/qt/3/lib/libqt-mt.so.3
#39 0xb712de81 in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#40 0xb7198341 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#41 0xb7198296 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#42 0xb7180b9f in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#43 0xb7709ba7 in kdemain (argc=146207084, argv=0x8b6f16c)
    at kwritemain.cpp:651
#44 0xb77109e4 in kdeinitmain (argc=146207084, argv=0x8b6f16c)
    at kwrite_dummy.cpp:2
#45 0x0804e0de in launch (argc=2, _name=0x80c0f9c "kwrite", 
    args=0x80c0fdf "\001", cwd=0x0, envc=1, envs=0x80c0ff0 "", 
    reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8b6f16c "9")
    at kinit.cpp:599
#46 0x0804e8a4 in handle_launcher_request (sock=8) at kinit.cpp:1163
#47 0x0804ede4 in handle_requests (waitForPid=0) at kinit.cpp:1364
#48 0x0804f5c6 in main (argc=3, argv=0xbffff7f4, envp=0x8b6f16c)
    at kinit.cpp:1817
Comment 1 Anders Lund 2004-10-26 20:57:11 UTC
I can't reproduce with HEAD.
Comment 2 Christoph Cullmann 2004-10-27 12:46:53 UTC
and works with gentoo, 3.3.1 packages, have them here
check your optim flags, if you are -Otoomuch that will happen (but this is no kate issue)