Application: lokalize (1.2) KDE Platform Version: 4.6.00 (4.6.0) "release 384" Qt Version: 4.7.1 Operating System: Linux 2.6.37-20-desktop x86_64 Distribution: "openSUSE 11.4 RC 1 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: Start Lokalize from Konsole with parameter of not existing file. Close error message. Go Project > New project wizard crash my be related to https://bugs.kde.org/show_bug.cgi?id=263630 The crash can be reproduced every time. -- Backtrace: Application: Lokalize (lokalize), signal: Segmentation fault [Current thread is 1 (Thread 0x7f86de216760 (LWP 8135))] Thread 4 (Thread 0x7f86c9c87700 (LWP 8138)): #0 0x00007f86d800438c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f86dab7514b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4 #2 0x00007f86db6474f4 in ?? () from /usr/lib64/libQtGui.so.4 #3 0x00007f86dab74a5e in ?? () from /usr/lib64/libQtCore.so.4 #4 0x00007f86d7fffa3f in start_thread () from /lib64/libpthread.so.0 #5 0x00007f86da30267d in clone () from /lib64/libc.so.6 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f86c9486700 (LWP 8139)): #0 0x00007f86d800438c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f86dab7514b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4 #2 0x00007f86dca27254 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x86a650, th=0xb11cb0) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:365 #3 0x00007f86dca2a2a5 in waitForAvailableJob (this=0x868dc0, th=0xb11cb0) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WeaverImpl.cpp:356 #4 ThreadWeaver::WorkingHardState::applyForWork (this=0x868dc0, th=0xb11cb0) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f86dca2764f in ThreadWeaver::ThreadRunHelper::run (this=0x7f86c9485e30, parent=0x86a650, th=0xb11cb0) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/Thread.cpp:87 #6 0x00007f86dca276d8 in ThreadWeaver::Thread::run (this=0xb11cb0) at /usr/src/debug/kdelibs-4.6.0/threadweaver/Weaver/Thread.cpp:142 #7 0x00007f86dab74a5e in ?? () from /usr/lib64/libQtCore.so.4 #8 0x00007f86d7fffa3f in start_thread () from /lib64/libpthread.so.0 #9 0x00007f86da30267d in clone () from /lib64/libc.so.6 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f86c8c85700 (LWP 8140)): #0 0x00007f86d61a21e3 in g_main_context_prepare () from /lib64/libglib-2.0.so.0 #1 0x00007f86d61a3069 in ?? () from /lib64/libglib-2.0.so.0 #2 0x00007f86d61a3710 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f86dac88976 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #4 0x00007f86dac5d052 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #5 0x00007f86dac5d265 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #6 0x00007f86dab721e4 in QThread::exec() () from /usr/lib64/libQtCore.so.4 #7 0x00007f86dac3e968 in ?? () from /usr/lib64/libQtCore.so.4 #8 0x00007f86dab74a5e in ?? () from /usr/lib64/libQtCore.so.4 #9 0x00007f86d7fffa3f in start_thread () from /lib64/libpthread.so.0 #10 0x00007f86da30267d in clone () from /lib64/libc.so.6 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f86de216760 (LWP 8135)): [KCrash Handler] #6 0x00007f86dac70c7a in QMetaObject::changeGuard(QObject**, QObject*) () from /usr/lib64/libQtCore.so.4 #7 0x00007f86cb4b3618 in operator= (this=0x8cbfd0, object=0xa62190, owner=false) at /usr/include/QtCore/qpointer.h:68 #8 Kross::PythonExtension::PythonExtension (this=0x8cbfd0, object=0xa62190, owner=false) at /usr/src/debug/kdebindings-4.6.0/python/krosspython/pythonextension.cpp:74 #9 0x00007f86cb4bf32d in Kross::PythonScript::initialize (this=0xbe5c90) at /usr/src/debug/kdebindings-4.6.0/python/krosspython/pythonscript.cpp:177 #10 0x00007f86cb4c6668 in Kross::PythonScript::execute (this=0xbe5c90) at /usr/src/debug/kdebindings-4.6.0/python/krosspython/pythonscript.cpp:294 #11 0x00007f86ddbd12bd in Kross::Action::slotTriggered (this=0xb995d0) at /usr/src/debug/kdelibs-4.6.0/kross/core/action.cpp:528 #12 0x00007f86ddbd20d8 in Kross::Action::qt_metacall (this=0xb995d0, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0x7fff4c1a9c60) at /usr/src/debug/kdelibs-4.6.0/build/kross/core/action.moc:186 #13 0x00007f86dac72def in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #14 0x00007f86db155982 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4 #15 0x00007f86db155b7a in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4 #16 0x00007f86db1570e2 in QAction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4 #17 0x00007f86ddbd1ffd in Kross::Action::qt_metacall (this=0xb995d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c1a9f30) at /usr/src/debug/kdelibs-4.6.0/build/kross/core/action.moc:129 #18 0x00007f86dac72def in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #19 0x00007f86db155982 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4 #20 0x00007f86db155b7a in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4 #21 0x00007f86db58be63 in ?? () from /usr/lib64/libQtGui.so.4 #22 0x00007f86db591e7a in ?? () from /usr/lib64/libQtGui.so.4 #23 0x00007f86dcd8eb1d in KMenu::mouseReleaseEvent (this=0xb2a1c0, e=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kdeui/widgets/kmenu.cpp:458 #24 0x00007f86db1ad538 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #25 0x00007f86db59306b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #26 0x00007f86db15bd14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #27 0x00007f86db164aac in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #28 0x00007f86dcdc09e6 in KApplication::notify (this=0x7fff4c1ab8e0, receiver=0xb2a1c0, event=0x7fff4c1aabb0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311 #29 0x00007f86dac5dbfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #30 0x00007f86db15cd25 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4 #31 0x00007f86db1db054 in ?? () from /usr/lib64/libQtGui.so.4 #32 0x00007f86db1d94c9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #33 0x00007f86db2010f2 in ?? () from /usr/lib64/libQtGui.so.4 #34 0x00007f86d61a2c93 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #35 0x00007f86d61a3470 in ?? () from /lib64/libglib-2.0.so.0 #36 0x00007f86d61a3710 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #37 0x00007f86dac8891f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #38 0x00007f86db200d8e in ?? () from /usr/lib64/libQtGui.so.4 #39 0x00007f86dac5d052 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #40 0x00007f86dac5d265 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #41 0x00007f86dac616ab in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #42 0x0000000000438501 in _start () Reported using DrKonqi
Created attachment 57931 [details] New crash information added by DrKonqi lokalize (1.2) on KDE Platform 4.6.1 (4.6.1) "release 390" using Qt 4.7.2 - What I was doing when the application crashed: it crash, if I try to do this by starting lokalize from command line with parameter of not .po file: > echo "bla bla bla" > /tmp/geras.po > lokalize /tmp/geras.po and after that go Project > New project wizard -- Backtrace (Reduced): #7 0x00007f6583b18618 in operator= (this=0xdf25b0, object=0xada4a0, owner=false) at /usr/include/QtCore/qpointer.h:68 #8 Kross::PythonExtension::PythonExtension (this=0xdf25b0, object=0xada4a0, owner=false) at /usr/src/debug/kdebindings-4.6.1/python/krosspython/pythonextension.cpp:74 #9 0x00007f6583b2432d in Kross::PythonScript::initialize (this=0x945250) at /usr/src/debug/kdebindings-4.6.1/python/krosspython/pythonscript.cpp:177 #10 0x00007f6583b2b668 in Kross::PythonScript::execute (this=0x945250) at /usr/src/debug/kdebindings-4.6.1/python/krosspython/pythonscript.cpp:294 #11 0x00007f659698227d in Kross::Action::slotTriggered (this=0xb7ebe0) at /usr/src/debug/kdelibs-4.6.1/kross/core/action.cpp:528
I can reproduce this as well in Lokalize 1.5.
*** Bug 291900 has been marked as a duplicate of this bug. ***
Alternative steps from 291900: 1. echo "bla bla bla" > /tmp/geras.po 2. lokalize /tmp/geras.po 3. Close Lokalize.
Maybe this has somethign to do with the “lokalize(26245)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x18f5f30 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.” message that I can see in the terminal?
Nope, the crash here is related to Kross/Python scripting.
this is fixed in master branch by avoiding any reaction to non-existing files specified on cmd line at all