Bug 240149 - [4.4.81] Lokalize crashes when clicking on "Widget text capture"
Summary: [4.4.81] Lokalize crashes when clicking on "Widget text capture"
Status: RESOLVED DOWNSTREAM
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-30 22:09 UTC by Johannes Obermayr
Modified: 2011-01-24 14:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.36 KB, text/plain)
2010-07-08 16:51 UTC, Johannes Obermayr
Details
filelist (6.63 KB, text/plain)
2010-07-15 13:19 UTC, Johannes Obermayr
Details
New crash information added by DrKonqi (9.02 KB, text/plain)
2011-01-23 22:35 UTC, Aris Tsakas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Obermayr 2010-05-30 22:09:21 UTC
Application: lokalize (1.1)
KDE Platform Version: 4.4.81 (KDE 4.4.81 (KDE 4.5 >= 20100527)) "release 17"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-40-pae i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
Click on Tools -> Widget text capture

(Make drkonqi happy, happy, happy, happy, happy, happy, ...)

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4fae700 (LWP 4067))]

Thread 3 (Thread 0xb1d15b70 (LWP 4068)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb562cd95 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb5dcb27c in __pthread_cond_wait (cond=0x81dc438, mutex=0x81dc420) at forward.c:139
#3  0xb5ff0730 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb70a494a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81dc348, th=0x84f3058) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb70a726b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x82aadd0, th=0x84f3058) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb70a2e0a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x81dc348, th=0x84f3058) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb70a736c in ThreadWeaver::WorkingHardState::applyForWork (this=0x82aadd0, th=0x84f3058) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb70a4be3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81dc348, th=0x84f3058, previous=0x84f3fc0) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb70a5294 in ThreadWeaver::ThreadRunHelper::run (this=0xb1d15324, parent=0x81dc348, th=0x84f3058) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/Thread.cpp:87
#11 0xb70a590a in ThreadWeaver::Thread::run (this=0x84f3058) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/Thread.cpp:142
#12 0xb5fef62f in QThreadPrivate::start (arg=0x84f3058) at thread/qthread_unix.cpp:248
#13 0xb56286e5 in start_thread (arg=0x0) at pthread_create.c:297
#14 0xb5628600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0

Thread 2 (Thread 0xb1293b70 (LWP 4071)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb562cd95 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0xb5dcb27c in __pthread_cond_wait (cond=0x81de7f8, mutex=0x81de7e0) at forward.c:139
#3  0xb5ff0730 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb70a494a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81de6b8, th=0x85634d0) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb70a726b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x822acf8, th=0x85634d0) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb70a2e0a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x81de6b8, th=0x85634d0) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb70a736c in ThreadWeaver::WorkingHardState::applyForWork (this=0x822acf8, th=0x85634d0) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb70a4be3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x81de6b8, th=0x85634d0, previous=0x90c5028) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb70a5294 in ThreadWeaver::ThreadRunHelper::run (this=0xb1293324, parent=0x81de6b8, th=0x85634d0) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/Thread.cpp:87
#11 0xb70a590a in ThreadWeaver::Thread::run (this=0x85634d0) at /usr/src/debug/kdelibs-4.4.81svn1131245/threadweaver/Weaver/Thread.cpp:142
#12 0xb5fef62f in QThreadPrivate::start (arg=0x85634d0) at thread/qthread_unix.cpp:248
#13 0xb56286e5 in start_thread (arg=0x0) at pthread_create.c:297
#14 0xb5628600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0

Thread 1 (Thread 0xb4fae700 (LWP 4067)):
[KCrash Handler]
#7  0xb0984a75 in QFormInternal::domPropertyToVariant (afb=0x925c0d0, meta=0x8183520, p=0x92b4938) at ../lib/uilib/properties.cpp:140
#8  0xb092675a in QFormInternal::QAbstractFormBuilder::toVariant (this=0x925c0d0, meta=0x8183520, p=0x92b4938) at ../lib/uilib/abstractformbuilder.cpp:936
#9  0xb0940be1 in QFormInternal::QFormBuilder::applyProperties (this=0x925c0d0, o=0x92c7988, properties=...) at ../lib/uilib/formbuilder.cpp:547
#10 0xb091db5a in QFormInternal::FormBuilderPrivate::applyProperties (this=0x925c0d0, o=0x92c7988, properties=...) at quiloader.cpp:414
#11 0xb092f273 in QFormInternal::QAbstractFormBuilder::create (this=0x925c0d0, ui_widget=0x92bc0f8, parentWidget=0x9250f80) at ../lib/uilib/abstractformbuilder.cpp:303
#12 0xb0942328 in QFormInternal::QFormBuilder::create (this=0x925c0d0, ui_widget=0x92bc0f8, parentWidget=0x9250f80) at ../lib/uilib/formbuilder.cpp:157
#13 0xb091c966 in QFormInternal::FormBuilderPrivate::create (this=0x925c0d0, ui_widget=0x92bc0f8, parentWidget=0x9250f80) at quiloader.cpp:452
#14 0xb0927ba3 in QFormInternal::QAbstractFormBuilder::create (this=0x925c0d0, ui=0xbfcfd070, parentWidget=0x9250f80) at ../lib/uilib/abstractformbuilder.cpp:248
#15 0xb09409bb in QFormInternal::QFormBuilder::create (this=0x925c0d0, ui=0xbfcfd070, parentWidget=0x9250f80) at ../lib/uilib/formbuilder.cpp:369
#16 0xb091d6dd in QFormInternal::FormBuilderPrivate::create (this=0x925c0d0, ui=0xbfcfd070, parentWidget=0x0) at quiloader.cpp:447
#17 0xae5616d9 in QFormInternal::QAbstractFormBuilder::load (this=0x925c0d0, dev=0x0, parentWidget=0x1) at ../lib/uilib/abstractformbuilder.cpp:221
#18 0xae547d7f in QUiLoader::load (this=0xbfcfd1dc, device=0xbfcfd1e8, parentWidget=0x9250f80) at quiloader.cpp:664
#19 0xae5435a1 in Kross::FormModule::createWidgetFromUI (this=0x90c94f8, parent=0x9250f80, xml=...) at /usr/src/debug/kdelibs-4.4.81svn1131245/kross/modules/form.cpp:764
#20 0xae5460f7 in Kross::FormModule::createWidgetFromUIFile (this=0x90c94f8, parent=0x9250f80, filename=...) at /usr/src/debug/kdelibs-4.4.81svn1131245/kross/modules/form.cpp:783
#21 0xae546a73 in Kross::FormModule::qt_metacall (this=0x90c94f8, _c=InvokeMetaMethod, _id=14, _a=0xbfcfd560) at /usr/src/debug/kdelibs-4.4.81svn1131245/build/kross/modules/form.moc:698
#22 0xb14e55c1 in Kross::PythonExtension::proxyhandler (_self_and_name_tuple=0x0, args=0xbfcfd474) at /usr/src/debug/kdebindings-4.4.81svn1131245/python/krosspython/pythonextension.cpp:618
#23 0xb139a671 in PyCFunction_Call (func=0xae6a804c, arg=0xae6b06ec, kw=0x0) at Objects/methodobject.c:81
#24 0xb13e829d in call_function (oparg=<value optimized out>, pp_stack=<value optimized out>) at Python/ceval.c:3706
#25 PyEval_EvalFrameEx (oparg=<value optimized out>, pp_stack=<value optimized out>) at Python/ceval.c:2389
#26 0xb13eddea in PyEval_EvalCodeEx (co=0xae6b32f0, globals=0xae6abb54, locals=0xae6abb54, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2968
#27 0xb13e59c3 in PyEval_EvalCode (co=0xae6b32f0, globals=0xae6abb54, locals=0xae6abb54) at Python/ceval.c:522
#28 0xb14f77a1 in Kross::PythonScript::execute (this=0x91e7e68) at /usr/src/debug/kdebindings-4.4.81svn1131245/python/krosspython/pythonscript.cpp:337
#29 0xb7852245 in Kross::Action::slotTriggered (this=0x84147f8) at /usr/src/debug/kdelibs-4.4.81svn1131245/kross/core/action.cpp:528
#30 0xb785260c in Kross::Action::qt_metacall (this=0x84147f8, _c=InvokeMetaMethod, _id=32, _a=0xbfcfe388) at /usr/src/debug/kdelibs-4.4.81svn1131245/build/kross/core/action.moc:186
#31 0xb60f999d in QMetaObject::metacall (object=0x84147f8, cl=153469136, idx=51, argv=0xbfcfe388) at kernel/qmetaobject.cpp:237
#32 0xb6108bb0 in QMetaObject::activate (sender=0x84147f8, m=0xb6c681f8, local_signal_index=1, argv=0xbfcfe388) at kernel/qobject.cpp:3287
#33 0xb633b80d in QAction::triggered (this=0x84147f8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#34 0xb633db1c in QAction::activate (this=0x84147f8, event=Trigger) at kernel/qaction.cpp:1255
#35 0xb633f8b8 in trigger (this=<value optimized out>) at kernel/qaction.h:218
#36 QAction::qt_metacall (this=<value optimized out>) at .moc/release-shared/moc_qaction.cpp:174
#37 0xb78524ed in Kross::Action::qt_metacall (this=0x84147f8, _c=InvokeMetaMethod, _id=12, _a=0xbfcfe608) at /usr/src/debug/kdelibs-4.4.81svn1131245/build/kross/core/action.moc:129
#38 0xb60f999d in QMetaObject::metacall (object=0x84147f8, cl=153469136, idx=12, argv=0xbfcfe608) at kernel/qmetaobject.cpp:237
#39 0xb6108bb0 in QMetaObject::activate (sender=0x840ca38, m=0xb6c681f8, local_signal_index=1, argv=0xbfcfe608) at kernel/qobject.cpp:3287
#40 0xb633b80d in QAction::triggered (this=0x840ca38, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#41 0xb633db1c in QAction::activate (this=0x840ca38, event=Trigger) at kernel/qaction.cpp:1255
#42 0xb67d3ea7 in QMenuPrivate::activateCausedStack (this=0x8491138, causedStack=..., action=0x840ca38, action_e=Trigger, self=true) at widgets/qmenu.cpp:1011
#43 0xb67da60f in QMenuPrivate::activateAction (this=0x8491138, action=0x840ca38, action_e=Trigger, self=true) at widgets/qmenu.cpp:1103
#44 0xb67db688 in QMenu::mouseReleaseEvent (this=0x8498a50, e=0xbfcfee80) at widgets/qmenu.cpp:2321
#45 0xb73996ed in KMenu::mouseReleaseEvent (this=0x8498a50, e=0xbfcfee80) at /usr/src/debug/kdelibs-4.4.81svn1131245/kdeui/widgets/kmenu.cpp:471
#46 0xb63a2eeb in QWidget::event (this=0x8498a50, event=0xbfcfee80) at kernel/qwidget.cpp:8044
#47 0xb67dcc3c in QMenu::event (this=0x8498a50, e=0xbfcfee80) at widgets/qmenu.cpp:2430
#48 0xb63422ac in QApplicationPrivate::notify_helper (this=0x81a0520, receiver=0x8498a50, e=0xbfcfee80) at kernel/qapplication.cpp:4302
#49 0xb6349aae in QApplication::notify (this=0xbfcfebb4, receiver=0x8498a50, e=0xbfcfee80) at kernel/qapplication.cpp:3867
#50 0xb729d371 in KApplication::notify (this=0xbfcff6e0, receiver=0x8498a50, event=0xbfcfee80) at /usr/src/debug/kdelibs-4.4.81svn1131245/kdeui/kernel/kapplication.cpp:302
#51 0xb60f458e in QCoreApplication::notifyInternal (this=0xbfcff6e0, receiver=0x8498a50, event=0xbfcfee80) at kernel/qcoreapplication.cpp:726
#52 0xb63489f4 in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#53 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2965
#54 0xb63d6db6 in QETWidget::translateMouseEvent (this=0x8498a50, event=0xbfcff38c) at kernel/qapplication_x11.cpp:4314
#55 0xb63d5ec4 in QApplication::x11ProcessEvent (this=0xbfcff6e0, event=0xbfcff38c) at kernel/qapplication_x11.cpp:3391
#56 0xb64032a8 in x11EventSourceDispatch (s=0x81a37b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0xb54474c2 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#58 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#59 0xb544ad98 in g_main_context_iterate (context=0x81a2898, block=<value optimized out>, dispatch=1, self=0x81a06b8) at gmain.c:2591
#60 0xb544aebe in IA__g_main_context_iteration (context=0x81a2898, may_block=1) at gmain.c:2654
#61 0xb61211b1 in QEventDispatcherGlib::processEvents (this=0x81a0500, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#62 0xb6402dfa in QGuiEventDispatcherGlib::processEvents (this=0x81a0500, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0xb60f2bfd in QEventLoop::processEvents (this=0xbfcff644, flags=) at kernel/qeventloop.cpp:149
#64 0xb60f3049 in QEventLoop::exec (this=0xbfcff644, flags=...) at kernel/qeventloop.cpp:201
#65 0xb60f82f0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#66 0xb6342354 in QApplication::exec () at kernel/qapplication.cpp:3581
#67 0x080750ae in main (argc=5, argv=0xbfcff934) at /usr/src/debug/kdesdk-4.4.81svn1131245/lokalize/src/main.cpp:118

Possible duplicates by query: bug 214954.

Reported using DrKonqi
Comment 1 Nick Shaforostoff 2010-05-30 23:31:41 UTC
it is possible that not all necessary files are installed.

it would be good to check whether the crash is reproducible on another system, preferably on another distro.
Comment 2 Johannes Obermayr 2010-05-31 23:42:05 UTC
After clicking:

Kross: "Loading the interpreter library for python" 
Kross: "Successfully loaded Interpreter instance from library." 
Kross: "PythonScript::Constructor." 
Kross: "PythonScript::execute" 
KCrash: Application 'lokalize' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/ei-jo/.kde4/socket-Laptop/kdeinit4__0
[1]   Exit 253                lokalize

[2]+  Angehalten              lokalize
Comment 3 Johannes Obermayr 2010-06-01 00:05:34 UTC
gdb after clicking:

Kross: "Loading the interpreter library for python" 
Kross: "Successfully loaded Interpreter instance from library." 
Kross: "PythonScript::Constructor." 
Kross: "PythonScript::execute" 
Missing separate debuginfo for /usr/lib/libutempter.so.0
Missing separate debuginfo for /usr/lib/kde4/plugins/designer
Missing separate debuginfo for /usr/lib/libXRes.so.1

Program received signal SIGSEGV, Segmentation fault.
0xb109ca75 in QFormInternal::domPropertyToVariant (afb=0x8f45338, meta=0x8183520, p=0x8f5d7f8) at ../lib/uilib/properties.cpp:140
140     ../lib/uilib/properties.cpp: Datei oder Verzeichnis nicht gefunden.
        in ../lib/uilib/properties.cpp
Comment 4 Johannes Obermayr 2010-07-08 16:51:53 UTC
Created attachment 48693 [details]
New crash information added by DrKonqi

lokalize (1.1) on KDE Platform 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) "release 2" using Qt 4.6.3

Crash on a (completely) fresh system:

openSUSE 11.3 RC 2
KDE SC 4.4.90

-- Backtrace (Reduced):
#7  0xb2147cc5 in QFormInternal::domPropertyToVariant (afb=0x8630010, meta=0x8172520, p=0x8654148) at ../lib/uilib/properties.cpp:140
#8  0xb20f448a in QFormInternal::QAbstractFormBuilder::toVariant (this=0x8630010, meta=0x8172520, p=0x8654148) at ../lib/uilib/abstractformbuilder.cpp:936
#9  0xb210d941 in QFormInternal::QFormBuilder::applyProperties (this=0x8630010, o=0x8667898, properties=...) at ../lib/uilib/formbuilder.cpp:547
#10 0xb20eb84a in QFormInternal::FormBuilderPrivate::applyProperties (this=0x8630010, o=0x8667898, properties=...) at quiloader.cpp:414
#11 0xb20f9b55 in QFormInternal::QAbstractFormBuilder::create (this=0x8630010, ui_widget=0x865d848, parentWidget=0x861e910) at ../lib/uilib/abstractformbuilder.cpp:303
Comment 5 Nick Shaforostoff 2010-07-15 12:33:19 UTC
all the crashes were on openSUSE?

i think it can't find the widget-text-capture.ui file. try looking it up in your file system. if you find it, please give me it's location.
Comment 6 Johannes Obermayr 2010-07-15 13:19:30 UTC
Created attachment 49167 [details]
filelist

Btw. OBS reports additionally:

I: A function overflows or underflows an array access. This could be a real error,
   but occasionaly this condition is also misdetected due to loop unrolling or strange pointer
   handling. So this is warning only, please review.
W: kdesdk4 arraysubscript /usr/src/packages/BUILD/kdesdk-4.4.93svn1149349/lokalize/src/editorview.cpp:242
Comment 7 Aris Tsakas 2011-01-23 22:35:23 UTC
Created attachment 56363 [details]
New crash information added by DrKonqi

lokalize (1.1) on KDE Platform 4.5.5 (KDE 4.5.5) "release 1" using Qt 4.6.3

- What I was doing when the application crashed: i clicked tools-widget text capture and it crashed

-- Backtrace (Reduced):
#6  0x00007f5681cf2b94 in QFormInternal::domPropertyToVariant (afb=0xec7560, meta=0x72e880, p=0xf03220) at ../lib/uilib/properties.cpp:140
#7  0x00007f5681ca30c9 in QFormInternal::QAbstractFormBuilder::toVariant (this=<value optimized out>, meta=<value optimized out>, p=<value optimized out>) at ../lib/uilib/abstractformbuilder.cpp:936
#8  0x00007f5681cbb01a in QFormInternal::QFormBuilder::applyProperties (this=0xec7560, o=0xf161c0, properties=<value optimized out>) at ../lib/uilib/formbuilder.cpp:547
#9  0x00007f5681c9af4f in QFormInternal::FormBuilderPrivate::applyProperties (this=0xec7560, o=0xf161c0, properties=...) at quiloader.cpp:414
#10 0x00007f5681ca8054 in QFormInternal::QAbstractFormBuilder::create (this=0xec7560, ui_widget=0xf030d0, parentWidget=0xeac4b0) at ../lib/uilib/abstractformbuilder.cpp:303
Comment 8 Nick Shaforostoff 2011-01-24 14:32:53 UTC
this is opensuse issue. i installed latest preview of opensuse 10.4 into virtualbox, and indeed seen crashes, but after i compiled kdelibs by myself there were no crashes

https://bugzilla.novell.com/show_bug.cgi?id=666577