Bug 244088

Summary: Lokalize crashed while configuring project settings
Product: [Applications] lokalize Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED DUPLICATE    
Severity: crash CC: jack.gurulian, lpapp
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: My Lokalize settings
New crash information added by DrKonqi

Description Cristian Ciupitu 2010-07-09 23:42:53 UTC
Application: lokalize (1.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.5-124.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
The details are a bit fuzzy, since I only wanted to check out Lokalize, but here it goes. I configured Lokalize (email address, name, etc.), I created a project and I opened a "*.po" file. Then I tried to configure the advanced(?) settings of the project and Lokalize crashed.

I'm using kdesdk-4.4.4-1.fc13.x86_64.

 -- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fe52de2d820 (LWP 26868))]

Thread 3 (Thread 0x7fe51a0df710 (LWP 26884)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003068c7188b in wait (this=<value optimized out>, mutex=0xf0cc30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xf0cc30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003070609f96 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xf0c840, th=0x171fae0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000307060c4bb in ThreadWeaver::WorkingHardState::applyForWork (this=0xf0cd10, th=0x171fae0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000307060ae7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fe51a0ded40, parent=0xf0c840, th=0x171fae0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#6  0x000000307060b368 in ThreadWeaver::Thread::run (this=0x171fae0) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003068c70995 in QThreadPrivate::start (arg=0x171fae0) at thread/qthread_unix.cpp:248
#8  0x0000003861007761 in start_thread (arg=0x7fe51a0df710) at pthread_create.c:301
#9  0x00000038608e14dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fe4e3fff710 (LWP 26931)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x0000003ea9105c38 in PyThread_acquire_lock () from /usr/lib64/libpython2.6.so.1.0
#2  0x0000003ea90df614 in PyEval_RestoreThread () from /usr/lib64/libpython2.6.so.1.0
#3  0x0000003ea90f98c6 in PyGILState_Ensure () from /usr/lib64/libpython2.6.so.1.0
#4  0x00007fe510e734e8 in ?? () from /usr/lib64/python2.6/site-packages/lxml/etree.so
#5  0x000000386b832a70 in __xmlRaiseError (schannel=<value optimized out>, channel=<value optimized out>, data=<value optimized out>, ctx=<value optimized out>, nod=<value optimized out>, domain=1, 
    code=4, level=XML_ERR_FATAL, file=<value optimized out>, line=<value optimized out>, str1=0x0, str2=0x0, str3=0x0, int1=0, col=<value optimized out>, msg=0x386b90a00d "Document is empty\n")
    at error.c:614
#6  0x000000386b836de5 in xmlFatalErr (ctxt=0x7fe4d8111660, error=XML_ERR_DOCUMENT_EMPTY, info=0x0) at parser.c:469
#7  0x000000386b84c39c in xmlParseTryOrFinish (ctxt=0x7fe4d8111660, terminate=0) at parser.c:11274
#8  0x000000386b84d008 in xmlParseChunk__internal_alias (ctxt=0x7fe4d8111660, chunk=
    0x7fe4d80d64e0 "g: 8bit\\n\"\n\"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%\"\n\"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\\n\"\n\n#: .\\admin.py:66\nmsgid \"Invalid regular expression\"\nmsgstr \"\320\235\320\265\320\277"..., size=512, terminate=0) at parser.c:11611
#9  0x000000306c830b44 in push (this=0x7fe4d801a3d0, data=
    0x7fe4d80d62e0 "# Satchmo Translation Package\n# Copyright (C) 2008 Satchmo Project\n# This file is distributed under the same license as the Satchmo package.\n# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n#\nmsgid \"\"\nmsgstr \"\"\n"..., length=1024) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/saxeventanalyzer.cpp:96
#10 init (this=0x7fe4d801a3d0, data=
    0x7fe4d80d62e0 "# Satchmo Translation Package\n# Copyright (C) 2008 Satchmo Project\n# This file is distributed under the same license as the Satchmo package.\n# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n#\nmsgid \"\"\nmsgstr \"\"\n"..., length=1024) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/saxeventanalyzer.cpp:92
#11 Strigi::SaxEventAnalyzer::handleData (this=0x7fe4d801a3d0, data=
    0x7fe4d80d62e0 "# Satchmo Translation Package\n# Copyright (C) 2008 Satchmo Project\n# This file is distributed under the same license as the Satchmo package.\n# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n#\nmsgid \"\"\nmsgstr \"\"\n"..., length=1024) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/saxeventanalyzer.cpp:178
#12 0x000000306c81f40a in Strigi::EventThroughAnalyzer::handleData (this=0x7fe4d8014050, data=
    0x7fe4d80d62e0 "# Satchmo Translation Package\n# Copyright (C) 2008 Satchmo Project\n# This file is distributed under the same license as the Satchmo package.\n# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n#\nmsgid \"\"\nmsgstr \"\"\n"..., size=1024) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventthroughanalyzer.cpp:71
#13 0x000000306cc1b9c6 in Strigi::DataEventInputStream::read (this=0x7fe4d80d6030, start=@0x7fe4e3ffe920, min=1024, max=<value optimized out>)
    at /usr/src/debug/strigi-0.7.2/src/streams/dataeventinputstream.cpp:51
#14 0x000000306c834bcb in Strigi::StreamAnalyzerPrivate::analyze (this=<value optimized out>, idx=..., input=0x7fe4d80d6030) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:403
#15 0x0000003661d4a415 in KFileMetaInfoPrivate::init (this=0x7fe4d80015f0, stream=<value optimized out>, url=<value optimized out>, mtime=1278621846, w=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.4/kio/kio/kfilemetainfo.cpp:210
#16 0x0000003661d4b8dd in KFileMetaInfo::KFileMetaInfo (this=0x7fe4e3ffebf0, url=...) at /usr/src/debug/kdelibs-4.4.4/kio/kio/kfilemetainfo.cpp:249
#17 0x00000000004817dc in UpdateStatsJob::run (this=0x34f8080) at /usr/src/debug/kdesdk-4.4.4/lokalize/src/project/projectmodel.cpp:1245
#18 0x000000307060b9cd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fe4e3ffecb0, th=0x21c1e70, job=0x34f8080) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Job.cpp:106
#19 0x000000307060bcce in ThreadWeaver::Job::execute (this=0x34f8080, th=0x21c1e70) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Job.cpp:135
#20 0x000000307060ae4f in ThreadWeaver::ThreadRunHelper::run (this=0x7fe4e3ffed40, parent=0xf22060, th=0x21c1e70) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:95
#21 0x000000307060b368 in ThreadWeaver::Thread::run (this=0x21c1e70) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#22 0x0000003068c70995 in QThreadPrivate::start (arg=0x21c1e70) at thread/qthread_unix.cpp:248
#23 0x0000003861007761 in start_thread (arg=0x7fe4e3fff710) at pthread_create.c:301
#24 0x00000038608e14dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fe52de2d820 (LWP 26868)):
[KCrash Handler]
#5  ref (this=0x19bdb20) at /usr/include/QtCore/qatomic_x86_64.h:121
#6  QList (this=0x19bdb20) at /usr/include/QtCore/qlist.h:114
#7  Kross::ActionCollection::actions (this=0x19bdb20) at /usr/src/debug/kdelibs-4.4.4/kross/core/actioncollection.cpp:162
#8  0x0000003662a1205a in Kross::ActionCollectionModel::rowCount (this=<value optimized out>, index=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kross/ui/model.cpp:223
#9  0x0000003068d4a955 in QAbstractItemModel::hasIndex (this=0x1dfd8a0, row=0, column=0, parent=...) at kernel/qabstractitemmodel.cpp:1614
#10 0x0000003662a11f2d in Kross::ActionCollectionModel::index (this=0x1dfd8a0, row=0, column=0, parent=...) at /usr/src/debug/kdelibs-4.4.4/kross/ui/model.cpp:229
#11 0x000000306aac6df8 in QTreeView::drawRow (this=0x1df9680, painter=0x7fff75ec8420, option=..., index=...) at itemviews/qtreeview.cpp:1568
#12 0x000000306aac1336 in QTreeView::drawTree (this=0x1df9680, painter=0x7fff75ec8420, region=<value optimized out>) at itemviews/qtreeview.cpp:1433
#13 0x000000306aac1df3 in QTreeView::paintEvent (this=0x1df9680, event=0x7fff75ec90c0) at itemviews/qtreeview.cpp:1266
#14 0x000000306a5f574a in QWidget::event (this=0x1df9680, event=0x7fff75ec90c0) at kernel/qwidget.cpp:8144
#15 0x000000306a970e26 in QFrame::event (this=0x1df9680, e=0x7fff75ec90c0) at widgets/qframe.cpp:557
#16 0x000000306aa85feb in QAbstractItemView::viewportEvent (this=0x1df9680, event=0x7fff75ec90c0) at itemviews/qabstractitemview.cpp:1610
#17 0x000000306aac0682 in QTreeView::viewportEvent (this=0x1df9680, event=0x7fff75ec90c0) at itemviews/qtreeview.cpp:1248
#18 0x0000003068d570f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1df9cb0, event=0x7fff75ec90c0) at kernel/qcoreapplication.cpp:819
#19 0x000000306a5aa99c in QApplicationPrivate::notify_helper (this=0xc90d90, receiver=0x1df9cb0, e=0x7fff75ec90c0) at kernel/qapplication.cpp:4300
#20 0x000000306a5b098b in QApplication::notify (this=<value optimized out>, receiver=0x1df9cb0, e=0x7fff75ec90c0) at kernel/qapplication.cpp:4187
#21 0x0000003661606e86 in KApplication::notify (this=0x7fff75eca1a0, receiver=0x1df9cb0, event=0x7fff75ec90c0) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#22 0x0000003068d57cdc in QCoreApplication::notifyInternal (this=0x7fff75eca1a0, receiver=0x1df9cb0, event=0x7fff75ec90c0) at kernel/qcoreapplication.cpp:704
#23 0x000000306a5fd31c in sendSpontaneousEvent (this=0x1d1d570, pdev=0x21e1268, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x2165540)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#24 QWidgetPrivate::drawWidget (this=0x1d1d570, pdev=0x21e1268, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x2165540) at kernel/qwidget.cpp:5339
#25 0x000000306a7a1226 in QWidgetBackingStore::sync (this=0x2165540) at painting/qbackingstore.cpp:1283
#26 0x000000306a5ef700 in QWidgetPrivate::syncBackingStore (this=0x1dd71b0) at kernel/qwidget.cpp:1672
#27 0x000000306a5f5e53 in QWidget::event (this=0x1f5d1c0, event=0x1e72c00) at kernel/qwidget.cpp:8291
#28 0x000000306a5aa9cc in QApplicationPrivate::notify_helper (this=0xc90d90, receiver=0x1f5d1c0, e=0x1e72c00) at kernel/qapplication.cpp:4304
#29 0x000000306a5b098b in QApplication::notify (this=<value optimized out>, receiver=0x1f5d1c0, e=0x1e72c00) at kernel/qapplication.cpp:4187
#30 0x0000003661606e86 in KApplication::notify (this=0x7fff75eca1a0, receiver=0x1f5d1c0, event=0x1e72c00) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#31 0x0000003068d57cdc in QCoreApplication::notifyInternal (this=0x7fff75eca1a0, receiver=0x1f5d1c0, event=0x1e72c00) at kernel/qcoreapplication.cpp:704
#32 0x0000003068d58a27 in sendEvent (receiver=0x0, event_type=0, data=0xc79560) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xc79560) at kernel/qcoreapplication.cpp:1345
#34 0x0000003068d7dac3 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#36 0x000000386203bd02 in g_main_dispatch (context=0xc93920) at gmain.c:1960
#37 IA__g_main_context_dispatch (context=0xc93920) at gmain.c:2513
#38 0x000000386203fae8 in g_main_context_iterate (context=0xc93920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#39 0x000000386203fc9c in IA__g_main_context_iteration (context=0xc93920, may_block=1) at gmain.c:2654
#40 0x0000003068d7d603 in QEventDispatcherGlib::processEvents (this=0xc78c80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#41 0x000000306a649a8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x0000003068d56722 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x0000003068d569ec in QEventLoop::exec (this=0x7fff75eca0f0, flags=...) at kernel/qeventloop.cpp:201
#44 0x0000003068d58cd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x00000000004353e2 in main (argc=5, argv=0x7fff75eca888) at /usr/src/debug/kdesdk-4.4.4/lokalize/src/main.cpp:117

Reported using DrKonqi
Comment 1 Cristian Ciupitu 2010-07-09 23:50:16 UTC
Created attachment 48734 [details]
My Lokalize settings

~/.kde/share/apps/lokalize
~/.kde/share/config/lokalizerc
Comment 2 Nick Shaforostoff 2010-07-15 12:23:56 UTC
i commited a workaround to the problem (in kdelibs). so i expect that kde 4.5 won't have this error. if it is easy for you, you can check that yourself.
Comment 3 Cristian Ciupitu 2010-07-15 13:58:49 UTC
(In reply to comment #2)
> i commited a workaround to the problem (in kdelibs). so i expect that kde 4.5
> won't have this error. if it is easy for you, you can check that yourself.

I'm not an avid KDE user, I was only taking Lokalize for a test drive, so compiling would be too much for me.
Comment 4 Jack Gurulian 2010-09-06 01:58:49 UTC
Created attachment 51352 [details]
New crash information added by DrKonqi

lokalize (1.1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.6.3

- What I was doing when the application crashed:

I was at Project -> Configure project and when I clicked on Scripts it crashed.

-- Backtrace (Reduced):
#13 0xb6a8ab2b in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb653617e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb6918cf3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb69a5022 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6a4350f in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
Comment 5 Christoph Feck 2010-09-16 16:11:34 UTC

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