Bug 441845

Summary: Crash when I drag and drop in Lokalize some text from another application
Product: [Applications] lokalize Reporter: Paolo Zamponi <feus73>
Component: generalAssignee: Simon Depiets <sdepiets>
Status: REPORTED ---    
Severity: crash CC: shafff
Priority: NOR Keywords: drkonqi
Version First Reported In: 21.08.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paolo Zamponi 2021-09-01 07:31:27 UTC
Application: lokalize (21.08.0)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.12-2-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: "openSUSE Tumbleweed"

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

I was dragging in Lokalize some text from another application

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f6e5a524e40 (LWP 6160))]
[KCrash Handler]
#6  QObject::objectName (this=this@entry=0x0) at kernel/qobject.cpp:1226
#7  0x00005595b823a582 in TranslationUnitTextEdit::dragEnterEvent (this=0x5595bbbc7320, event=0x7ffd83567b60) at /usr/src/debug/lokalize-21.08.0-1.1.x86_64/src/xlifftextedit.cpp:640
#8  0x00007f6e59c7776e in QWidget::event (this=this@entry=0x5595bbbc7320, event=event@entry=0x7ffd83567b60) at kernel/qwidget.cpp:9020
#9  0x00007f6e59d23f1e in QFrame::event (this=0x5595bbbc7320, e=0x7ffd83567b60) at widgets/qframe.cpp:550
#10 0x00007f6e58fa26f2 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190
#11 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5595bbca7120, event=event@entry=0x7ffd83567b60) at kernel/qcoreapplication.cpp:1179
#12 0x00007f6e59c35a6e in QApplicationPrivate::notify_helper (this=this@entry=0x5595b94bf8c0, receiver=receiver@entry=0x5595bbca7120, e=e@entry=0x7ffd83567b60) at kernel/qapplication.cpp:3626
#13 0x00007f6e59c3e64c in QApplication::notify (this=0x7ffd83568410, receiver=<optimized out>, e=0x7ffd83567b60) at kernel/qapplication.cpp:3341
#14 0x00007f6e58fa298a in QCoreApplication::notifyInternal2 (receiver=0x5595bbca7120, event=0x7ffd83567b60) at kernel/qcoreapplication.cpp:1064
#15 0x00007f6e59c9255d in QWidgetWindow::handleDragEnterEvent (this=this@entry=0x5595ba2b6e60, event=event@entry=0x7ffd83567e00, widget=widget@entry=0x5595bbca7120) at kernel/qwidgetwindow.cpp:917
#16 0x00007f6e59c92a57 in QWidgetWindow::handleDragMoveEvent (this=0x5595ba2b6e60, event=0x7ffd83567e00) at kernel/qwidgetwindow.cpp:950
#17 0x00007f6e59c93e66 in QWidgetWindow::event (this=0x5595ba2b6e60, event=0x7ffd83567e00) at kernel/qwidgetwindow.cpp:336
#18 0x00007f6e59c35a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5595ba2b6e60, e=0x7ffd83567e00) at kernel/qapplication.cpp:3632
#19 0x00007f6e58fa298a in QCoreApplication::notifyInternal2 (receiver=0x5595ba2b6e60, event=0x7ffd83567e00) at kernel/qcoreapplication.cpp:1064
#20 0x00007f6e594e3332 in QGuiApplicationPrivate::processDrag (w=w@entry=0x5595ba2b6e60, dropData=dropData@entry=0x7f6e4c008280, p=..., supportedActions=supportedActions@entry=..., buttons=buttons@entry=..., modifiers=...) at kernel/qguiapplication.cpp:3315
#21 0x00007f6e594b6ec9 in QWindowSystemInterface::handleDrag (window=0x5595ba2b6e60, dropData=dropData@entry=0x7f6e4c008280, p=..., supportedActions=supportedActions@entry=..., buttons=buttons@entry=..., modifiers=...) at kernel/qwindowsysteminterface.cpp:930
#22 0x00007f6e5469c672 in QXcbDrag::handle_xdnd_position (this=this@entry=0x5595b958d590, w=w@entry=0x5595ba22bb20, e=e@entry=0x5595bbd5ff90, b=..., b@entry=..., mods=..., mods@entry=...) at qxcbdrag.cpp:822
#23 0x00007f6e5469cca8 in QXcbDrag::handlePosition (this=0x5595b958d590, w=0x5595ba22bb20, event=0x5595bbd5ff90) at ../../../../include/QtCore/../../src/corelib/global/qflags.h:120
#24 0x00007f6e546646b8 in QXcbConnection::handleXcbEvent (this=this@entry=0x5595b94d2dc0, event=event@entry=0x5595bbd5ff90) at qxcbconnection.cpp:611
#25 0x00007f6e54665a96 in QXcbConnection::processXcbEvents (this=0x5595b94d2dc0, flags=...) at qxcbconnection.cpp:1014
#26 0x00007f6e5468bd03 in xcbSourceDispatch (source=source@entry=0x5595b95b4860) at qxcbeventdispatcher.cpp:103
#27 0x00007f6e5701e80f in g_main_dispatch (context=0x7f6e4c005000) at ../glib/gmain.c:3337
#28 g_main_context_dispatch (context=0x7f6e4c005000) at ../glib/gmain.c:4055
#29 0x00007f6e5701eb98 in g_main_context_iterate (context=context@entry=0x7f6e4c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#30 0x00007f6e5701ec4f in g_main_context_iteration (context=0x7f6e4c005000, may_block=1) at ../glib/gmain.c:4196
#31 0x00007f6e58ff9e64 in QEventDispatcherGlib::processEvents (this=0x5595b95afff0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f6e58fa138b in QEventLoop::exec (this=this@entry=0x7ffd83568330, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007f6e58fa9670 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007f6e594d519c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#35 0x00007f6e59c359f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#36 0x00005595b81ffb0e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/lokalize-21.08.0-1.1.x86_64/src/main.cpp:141
[Inferior 1 (process 6160) detached]

Possible duplicates by query: bug 440137, bug 437297, bug 436863, bug 432238, bug 429973.

Reported using DrKonqi