Bug 292369

Summary: crash when creating child node using keyboard shortcuts
Product: [I don't know] kde Reporter: Dirk Sarpe <dns_hmpf>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dirk Sarpe 2012-01-25 07:33:47 UTC
Application: semantik (0.8.0)
KDE Platform Version: 4.7.97 (4.8 RC2 (4.7.97)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- create a child node with ctrl + enter
- hit enter and add some text
 - hit enter again to finish entry: semantik crashes

Also happens if you use shift+enter to create a sibling. Does not happen if child/sibling node is created with mouse click.

The crash can be reproduced every time.

-- Backtrace:
Application: Semantik (semantik), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3c4b6c6780 (LWP 5674))]

Thread 2 (Thread 0x7f3c36c82700 (LWP 5675)):
#0  0x00007f3c46431773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3c45664f68 in g_main_context_poll (n_fds=1, fds=0x7f3c30001560, timeout=-1, context=0x15cf430, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0x15cf430, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f3c45665429 in g_main_context_iteration (context=0x15cf430, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f3c4b1f0f3e in QEventDispatcherGlib::processEvents (this=0x15ced80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f3c4b1c4cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f3c4b1c4ef7 in QEventLoop::exec (this=0x7f3c36c81dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f3c4b0dc27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f3c4b1a7cbf in QInotifyFileSystemWatcherEngine::run (this=0x15ce260) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f3c4b0ded05 in QThreadPrivate::start (arg=0x15ce260) at thread/qthread_unix.cpp:331
#10 0x00007f3c46146efc in start_thread (arg=0x7f3c36c82700) at pthread_create.c:304
#11 0x00007f3c4643d89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3c4b6c6780 (LWP 5674)):
[KCrash Handler]
#6  QString::operator= (this=0x17f2c30, other=...) at tools/qstring.cpp:1358
#7  0x0000000000461f54 in mem_edit::mem_edit (this=0x17f2c10, mod=0x15cbca0) at ../src/mem_command.cpp:357
#8  0x000000000042ac5d in canvas_view::slot_toggle_edit (this=0x15af4e0) at ../src/canvas_view.cpp:286
#9  0x00000000004342a0 in canvas_view::qt_metacall (this=0x15af4e0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff433b2600) at /home/dirk/Downloads/semantik-read-only/build/src/canvas_view.moc:136
#10 0x00007f3c4b1d8eba in QMetaObject::activate (sender=0x14c2a00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff433b2600) at kernel/qobject.cpp:3278
#11 0x00007f3c4a56fb62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x00007f3c4a56fd4f in QAction::activate (this=0x14c2a00, event=<optimized out>) at kernel/qaction.cpp:1257
#13 0x0000000000422c68 in canvas_item::keyPressEvent (this=0x14dcdb0, e=0x7fff433b32d0) at ../src/canvas_item.cpp:186
#14 0x00007f3c4ab3d622 in QGraphicsItem::sceneEvent (this=0x14dcdc0, event=0x7fff433b32d0) at graphicsview/qgraphicsitem.cpp:6762
#15 0x00007f3c4ab3d91c in QGraphicsTextItem::sceneEvent (this=0x14dcdb0, event=0x7fff433b32d0) at graphicsview/qgraphicsitem.cpp:10179
#16 0x00007f3c4ab65584 in QGraphicsScene::keyPressEvent (this=0x14775a0, keyEvent=0x7fff433b32d0) at graphicsview/qgraphicsscene.cpp:4000
#17 0x00007f3c4ab74b52 in QGraphicsScene::event (this=0x14775a0, event=0x7fff433b32d0) at graphicsview/qgraphicsscene.cpp:3427
#18 0x00007f3c4a576424 in notify_helper (e=0x7fff433b32d0, receiver=0x14775a0, this=0x1301d30) at kernel/qapplication.cpp:4486
#19 QApplicationPrivate::notify_helper (this=0x1301d30, receiver=0x14775a0, e=0x7fff433b32d0) at kernel/qapplication.cpp:4458
#20 0x00007f3c4a57b291 in QApplication::notify (this=0x7fff433b4160, receiver=0x14775a0, e=0x7fff433b32d0) at kernel/qapplication.cpp:4365
#21 0x00007f3c4912aae6 in KApplication::notify (this=0x7fff433b4160, receiver=0x14775a0, event=0x7fff433b32d0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f3c4b1c5afc in QCoreApplication::notifyInternal (this=0x7fff433b4160, receiver=0x14775a0, event=0x7fff433b32d0) at kernel/qcoreapplication.cpp:787
#23 0x00007f3c4ab86f6d in sendEvent (event=0x7fff433b32d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QGraphicsView::keyPressEvent (this=0x15af4e0, event=0x7fff433b32d0) at graphicsview/qgraphicsview.cpp:3071
#25 0x00007f3c4a5c6d1e in QWidget::event (this=0x15af4e0, event=0x7fff433b32d0) at kernel/qwidget.cpp:8330
#26 0x00007f3c4a96f4f6 in QFrame::event (this=0x15af4e0, e=0x7fff433b32d0) at widgets/qframe.cpp:557
#27 0x00007f3c4a9f123b in QAbstractScrollArea::event (this=0x15af4e0, e=0x7fff433b32d0) at widgets/qabstractscrollarea.cpp:996
#28 0x00007f3c4a576424 in notify_helper (e=0x7fff433b32d0, receiver=0x15af4e0, this=0x1301d30) at kernel/qapplication.cpp:4486
#29 QApplicationPrivate::notify_helper (this=0x1301d30, receiver=0x15af4e0, e=0x7fff433b32d0) at kernel/qapplication.cpp:4458
#30 0x00007f3c4a57b985 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff433b32d0) at kernel/qapplication.cpp:3945
#31 0x00007f3c4912aae6 in KApplication::notify (this=0x7fff433b4160, receiver=0x15af4e0, event=0x7fff433b32d0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f3c4b1c5afc in QCoreApplication::notifyInternal (this=0x7fff433b4160, receiver=0x15af4e0, event=0x7fff433b32d0) at kernel/qcoreapplication.cpp:787
#33 0x00007f3c4a619f99 in QKeyMapper::sendKeyEvent (keyWidget=0x15af4e0, grab=<optimized out>, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#34 0x00007f3c4a61a40b in QKeyMapperPrivate::translateKeyEvent (this=0x1350d30, keyWidget=0x15af4e0, event=0x7fff433b3d10, grab=false) at kernel/qkeymapper_x11.cpp:1836
#35 0x00007f3c4a5f5347 in QApplication::x11ProcessEvent (this=0x7fff433b4160, event=0x7fff433b3d10) at kernel/qapplication_x11.cpp:3583
#36 0x00007f3c4a61e412 in x11EventSourceDispatch (s=0x1304590, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f3c45664a5d in g_main_dispatch (context=0x13049d0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#38 g_main_context_dispatch (context=0x13049d0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#39 0x00007f3c45665258 in g_main_context_iterate (context=0x13049d0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#40 0x00007f3c45665429 in g_main_context_iteration (context=0x13049d0, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#41 0x00007f3c4b1f0ed6 in QEventDispatcherGlib::processEvents (this=0x12e5a10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007f3c4a61e07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f3c4b1c4cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f3c4b1c4ef7 in QEventLoop::exec (this=0x7fff433b40e0, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f3c4b1c9789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#46 0x000000000045f123 in main (i_iArgc=1, i_iArgv=0x7fff433b4638) at ../src/main.cpp:61

Reported using DrKonqi
Comment 1 Christoph Feck 2012-01-26 15:35:02 UTC
Bugs for "Semantik" are not tracked at the KDE bug tracker. Please report this issue directly to Semantik developers via http://code.google.com/p/semantik/issues/list or via http://kde-apps.org/content/show.php?content=55242