Bug 292122 - Crash on drag and drop a file over Kate
Summary: Crash on drag and drop a file over Kate
Status: RESOLVED DUPLICATE of bug 288583
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-21 16:22 UTC by Alex Dănilă
Modified: 2012-01-21 20:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Dănilă 2012-01-21 16:22:37 UTC
Application: kate (3.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-rc7-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.9 (lenny)

-- Information about the crash:
- What I was doing when the application crashed:

Having Kate already opened with a couple of files, I dragged over the editor region a script file. Kate crashed possibly trying to open the file. Reproduces some times.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2ffb1a7760 (LWP 19005))]

Thread 2 (Thread 0x7f2fe7e24700 (LWP 19011)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2fe87f65e2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f2fe87f6619 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f2ff80b6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007f2ffab154ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2ffb1a7760 (LWP 19005)):
[KCrash Handler]
#6  0x00007f2ffa1af118 in effectiveAdvance (item=<optimized out>, this=<synthetic pointer>) at text/qtextengine_p.h:220
#7  QTextLine::cursorToX (this=0x7fffd2f2bd40, cursorPos=0x7fffd2f2bd7c, edge=<optimized out>) at text/qtextlayout.cpp:2582
#8  0x00007f2fe8e77919 in cursorToX (edge=QTextLine::Leading, cursorPos=4, this=0x7fffd2f2bd40) at /usr/include/qt4/QtGui/qtextlayout.h:219
#9  KateRenderer::layoutLine (this=0x1eb1f00, lineLayout=..., maxwidth=0, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:961
#10 0x00007f2fe8e7c1ad in KateLayoutCache::line (this=0x1ded6c0, realLine=41, virtualLine=41) at ../../part/render/katelayoutcache.cpp:314
#11 0x00007f2fe8ec9fb0 in KateViewInternal::viewLineOffset (this=0x1e69ad0, virtualCursor=..., offset=55, keepX=false) at ../../part/view/kateviewinternal.cpp:1325
#12 0x00007f2fe8eca3fb in KateViewInternal::maxStartPos (this=0x1e69ad0, changed=<optimized out>) at ../../part/view/kateviewinternal.cpp:419
#13 0x00007f2fe8ece1de in KateViewInternal::resizeEvent (this=0x1e69ad0, e=<optimized out>) at ../../part/view/kateviewinternal.cpp:2989
#14 0x00007f2ff9f955da in QWidget::event (this=0x1e69ad0, event=0x7fffd2f2c8d0) at kernel/qwidget.cpp:8515
#15 0x00007f2ff9f44ec4 in notify_helper (e=0x7fffd2f2c8d0, receiver=0x1e69ad0, this=0x16257a0) at kernel/qapplication.cpp:4555
#16 QApplicationPrivate::notify_helper (this=0x16257a0, receiver=0x1e69ad0, e=0x7fffd2f2c8d0) at kernel/qapplication.cpp:4527
#17 0x00007f2ff9f49d43 in QApplication::notify (this=0x7fffd2f2e600, receiver=0x1e69ad0, e=0x7fffd2f2c8d0) at kernel/qapplication.cpp:4416
#18 0x00007f2ff91bfae6 in KApplication::notify (this=0x7fffd2f2e600, receiver=0x1e69ad0, event=0x7fffd2f2c8d0) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f2ff898780c in QCoreApplication::notifyInternal (this=0x7fffd2f2e600, receiver=0x1e69ad0, event=0x7fffd2f2c8d0) at kernel/qcoreapplication.cpp:876
#20 0x00007f2ff9f90095 in sendEvent (event=0x7fffd2f2c8d0, receiver=0x1e69ad0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x1e3bcc0, recursive=false, disableUpdates=<optimized out>) at kernel/qwidget.cpp:7431
#22 0x00007f2ff9f97b91 in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7482
#23 0x00007f2ff9f97fb2 in QWidget::setVisible (this=0x1e69ad0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#24 0x00007f2ff9f97b26 in show (this=0x1e69ad0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#25 QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=false) at kernel/qwidget.cpp:7851
#26 0x00007f2ff9f97bad in QWidgetPrivate::show_helper (this=<optimized out>) at kernel/qwidget.cpp:7488
#27 0x00007f2ff9f97fb2 in QWidget::setVisible (this=0x1e518d0, visible=<optimized out>) at kernel/qwidget.cpp:7763
#28 0x00007f2ff9f79869 in show (this=0x1e518d0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#29 QStackedLayout::setCurrentIndex (this=0x18e8590, index=2) at kernel/qstackedlayout.cpp:311
#30 0x00007f2ff9645037 in KateViewSpace::showView (this=0x18c8d20, document=<optimized out>) at ../../../kate/app/kateviewspace.cpp:156
#31 0x00007f2ff96454e7 in showView (view=<optimized out>, this=0x18c8d20) at ../../../kate/app/kateviewspace.h:105
#32 KateViewSpace::addView (this=0x18c8d20, v=0x1e518d0, show=true) at ../../../kate/app/kateviewspace.cpp:108
#33 0x00007f2ff963f6a6 in createView (doc=<optimized out>, this=0x19000c0) at ../../../kate/app/kateviewmanager.cpp:349
#34 KateViewManager::createView (this=0x19000c0, doc=<optimized out>) at ../../../kate/app/kateviewmanager.cpp:326
#35 0x00007f2ff963feb8 in KateViewManager::activateView (this=0x19000c0, d=0x18833b0) at ../../../kate/app/kateviewmanager.cpp:532
#36 0x00007f2ff963ff93 in KateViewManager::openUrl (this=0x19000c0, url=..., encoding=..., activate=true, isTempFile=false, docInfo=...) at ../../../kate/app/kateviewmanager.cpp:267
#37 0x00007f2ff964006c in KateViewManager::openUrl (this=<optimized out>, url=...) at ../../../kate/app/kateviewmanager.cpp:289
#38 0x00007f2ff9634b9f in KateMainWindow::slotDropEvent (this=0x18b4c90, event=<optimized out>) at ../../../kate/app/katemainwindow.cpp:681
#39 0x00007f2ff963aa71 in KateMainWindow::qt_metacall (this=0x18b4c90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffd2f2cff0) at ./katemainwindow.moc:192
#40 0x00007f2ff899bdf9 in QMetaObject::activate (sender=0x1c8dc50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd2f2cff0) at kernel/qobject.cpp:3566
#41 0x00007f2fe8eb3952 in KateView::dropEventPass (this=<optimized out>, _t1=0x7fffd2f2dab0) at ./kateview.moc:556
#42 0x00007f2fe8ec51a4 in KateView::qt_metacall (this=0x1c8dc50, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffd2f2d170) at ./kateview.moc:326
#43 0x00007f2ff899bdf9 in QMetaObject::activate (sender=0x1c8e200, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd2f2d170) at kernel/qobject.cpp:3566
#44 0x00007f2fe8ec621f in KateViewInternal::dropEventPass (this=<optimized out>, _t1=0x7fffd2f2dab0) at ./kateviewinternal.moc:150
#45 0x00007f2fe8ecb4e3 in KateViewInternal::dropEvent (this=0x1c8e200, event=0x7fffd2f2dab0) at ../../part/view/kateviewinternal.cpp:3105
#46 0x00007f2ff9f95941 in QWidget::event (this=0x1c8e200, event=0x7fffd2f2dab0) at kernel/qwidget.cpp:8551
#47 0x00007f2ff9f44ec4 in notify_helper (e=0x7fffd2f2dab0, receiver=0x1c8e200, this=0x16257a0) at kernel/qapplication.cpp:4555
#48 QApplicationPrivate::notify_helper (this=0x16257a0, receiver=0x1c8e200, e=0x7fffd2f2dab0) at kernel/qapplication.cpp:4527
#49 0x00007f2ff9f4a28f in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffd2f2dab0) at kernel/qapplication.cpp:4341
#50 0x00007f2ff91bfae6 in KApplication::notify (this=0x7fffd2f2e600, receiver=0x1c8e200, event=0x7fffd2f2dab0) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f2ff898780c in QCoreApplication::notifyInternal (this=0x7fffd2f2e600, receiver=0x1c8e200, event=0x7fffd2f2dab0) at kernel/qcoreapplication.cpp:876
#52 0x00007f2ff9fcc333 in sendEvent (event=0x7fffd2f2dab0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QX11Data::xdndHandleDrop (this=<optimized out>, xe=<optimized out>, passive=<optimized out>) at kernel/qdnd_x11.cpp:1176
#54 0x00007f2ff9fc2e9d in QApplication::x11ClientMessage (this=<optimized out>, w=0x18b4c90, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3208
#55 0x00007f2ff9fc1134 in QApplication::x11ProcessEvent (this=0x7fffd2f2e600, event=0x7fffd2f2e170) at kernel/qapplication_x11.cpp:3780
#56 0x00007f2ff9fe9852 in x11EventSourceDispatch (s=0x162c130, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f2ff7be70cf in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f2ff7be78c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f2ff7be7a99 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f2ff89b6d8f in QEventDispatcherGlib::processEvents (this=0x15efb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007f2ff9fe94de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f2ff89865f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f2ff8986847 in QEventLoop::exec (this=0x7fffd2f2e540, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f2ff898b8d7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#65 0x00007f2ffadca435 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#66 0x00007f2ffaa5eead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd2f2fb28) at libc-start.c:228
#67 0x00000000004006b1 in _start ()

This bug may be a duplicate of or related to bug 288583.

Possible duplicates by query: bug 291949, bug 288583.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-01-21 20:40:43 UTC

*** This bug has been marked as a duplicate of bug 288583 ***