Bug 238147

Summary: lokalize crashes on startup
Product: [Applications] lokalize Reporter: Gábor Dukai <gdukai>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED WORKSFORME    
Severity: crash CC: lpapp
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gábor Dukai 2010-05-19 11:02:03 UTC
Application: lokalize (1.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I've saved a file, closed the app. Next time it didn't start and not willing anymore.

The crash can be reproduced every time.

 -- Backtrace:
Application: Lokalizuj (lokalize), signal: Aborted
__lll_lock_wait_private ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7fd398a75760 (LWP 8537))]

Thread 3 (Thread 0x7fd388ef3710 (LWP 8538)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fd394a9f3ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007fd394a9de48 in *__GI___libc_free (mem=0x7fd394d9de40) at malloc.c:3736
#3  0x00007fd3954d0981 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fd39187eb0a in IA__g_main_context_check (context=0x1f970c0, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2469
#5  0x00007fd39187f4c3 in g_main_context_iterate (context=0x1f970c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2588
#6  0x00007fd39187f8fc in IA__g_main_context_iteration (context=0x1f970c0, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#7  0x00007fd3954d0513 in QEventDispatcherGlib::processEvents (this=0x1f6fba0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#8  0x00007fd3954a5992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007fd3954a5d6c in QEventLoop::exec (this=0x7fd388ef2db0, flags=) at kernel/qeventloop.cpp:201
#10 0x00007fd3953afd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#11 0x00007fd395486178 in QInotifyFileSystemWatcherEngine::run (this=0x1f57530) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007fd3953b2775 in QThreadPrivate::start (arg=0x1f57530) at thread/qthread_unix.cpp:248
#13 0x00007fd392de39ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007fd394b0669d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd383d33710 (LWP 8539)):
[KCrash Handler]
#5  0x00007fd394a53a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fd394a575c0 in *__GI_abort () at abort.c:92
#7  0x00007fd394a8d4fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007fd394a975b6 in malloc_printerr (action=3, str=0x7fd394b697d0 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6264
#9  0x00007fd394a9b8e9 in _int_malloc (av=0x7fd394d9de40, bytes=38) at malloc.c:4306
#10 0x00007fd394a9c58e in *__GI___libc_malloc (bytes=38) at malloc.c:3660
#11 0x00007fd3953b4b46 in QByteArray (this=0x7fd383d307c0, data=
    0x38ac20f "Active=-1\nDockWidgets=AAAA/wAAAAD9AAAAAgAAAAAAAAIJAAAB+/wCAAAAAvsAAAAeAGMAYQB0AGEAbABvAGcAVAByAGUAZQBWAGkAZQB3AQAAAAAAAAEmAAAAcwEAAAL7AAAAFgBtAHMAZwBDAHQAeAB0AFYAaQBlAHcBAAABKQAAANIAAABVAQAAAgAAAAMAAA"..., size=6) at tools/qbytearray.cpp:1290
#12 0x00007fd395ae5768 in KConfigIniBackend::BufferFragment::toByteArray (this=0x1eb8e00, currentLocale=<value optimized out>, entryMap=..., options=<value optimized out>, 
    merging=<value optimized out>) at ../../kdecore/config/bufferfragment_p.h:167
#13 KConfigIniBackend::parseConfig (this=0x1eb8e00, currentLocale=<value optimized out>, entryMap=..., options=<value optimized out>, merging=<value optimized out>)
    at ../../kdecore/config/kconfigini.cpp:261
#14 0x00007fd395ae6884 in KConfigIniBackend::parseConfig (this=0x2159, currentLocale=..., entryMap=..., options=<value optimized out>) at ../../kdecore/config/kconfigini.cpp:66
#15 0x00007fd395ad0693 in KConfigPrivate::parseConfigFiles (this=0x1eb11b0) at ../../kdecore/config/kconfig.cpp:516
#16 0x00007fd395ad0bd1 in KConfig::reparseConfiguration (this=<value optimized out>) at ../../kdecore/config/kconfig.cpp:453
#17 0x00007fd395ad0c48 in KConfig::setLocale (this=0x1eba4a0, locale=<value optimized out>) at ../../kdecore/config/kconfig.cpp:578
#18 0x00007fd395be1cfe in KLocalePrivate::initFormat (this=0x1f5f7d0, config=0x1eba4a0) at ../../kdecore/localization/klocale.cpp:448
#19 0x00007fd395be44aa in KLocalePrivate (this=0x1f5f7d0, catalog=<value optimized out>, config=0x1eba4a0, language_=<value optimized out>, country_=<value optimized out>)
    at ../../kdecore/localization/klocale.cpp:313
#20 0x00007fd395be468e in KLocale (this=0x7fd383d314d0, catalog=..., config=<value optimized out>) at ../../kdecore/localization/klocale.cpp:317
#21 0x00007fd395ae4a3f in KConfigIniBackend::parseConfig (this=0x7fd3843d10b0, currentLocale=<value optimized out>, entryMap=..., options=<value optimized out>, merging=<value optimized out>)
    at ../../kdecore/config/kconfigini.cpp:271
#22 0x00007fd395ae6884 in KConfigIniBackend::parseConfig (this=0x2159, currentLocale=..., entryMap=..., options=<value optimized out>) at ../../kdecore/config/kconfigini.cpp:66
#23 0x00007fd395ad07b0 in KConfigPrivate::parseConfigFiles (this=0x7fd3843446d0) at ../../kdecore/config/kconfig.cpp:530
#24 0x00007fd395ad0bd1 in KConfig::reparseConfiguration (this=<value optimized out>) at ../../kdecore/config/kconfig.cpp:453
#25 0x00007fd395ad0c48 in KConfig::setLocale (this=0x7fd383d31d70, locale=<value optimized out>) at ../../kdecore/config/kconfig.cpp:578
#26 0x00000000004dbf04 in _start ()

Thread 1 (Thread 0x7fd398a75760 (LWP 8537)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fd394a9f3ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007fd394a9de48 in *__GI___libc_free (mem=0x7fd394d9de40) at malloc.c:3736
#3  0x00007fd395ae515d in ~QByteArray (this=0x3871f70, currentLocale=<value optimized out>, entryMap=..., options=<value optimized out>, merging=<value optimized out>)
    at /usr/include/qt4/QtCore/qbytearray.h:382
#4  KConfigIniBackend::parseConfig (this=0x3871f70, currentLocale=<value optimized out>, entryMap=..., options=<value optimized out>, merging=<value optimized out>)
    at ../../kdecore/config/kconfigini.cpp:292
#5  0x00007fd395ae6884 in KConfigIniBackend::parseConfig (this=0x7fd394d9de40, currentLocale=..., entryMap=..., options=<value optimized out>) at ../../kdecore/config/kconfigini.cpp:66
#6  0x00007fd395ad0693 in KConfigPrivate::parseConfigFiles (this=0x388c010) at ../../kdecore/config/kconfig.cpp:516
#7  0x00007fd395ad0bd1 in KConfig::reparseConfiguration (this=<value optimized out>) at ../../kdecore/config/kconfig.cpp:453
#8  0x00007fd395ad185d in KConfig (this=0x37ffc50, componentData=..., file=..., mode=<value optimized out>, resourceType=0x7fd3977e4bb7 "config") at ../../kdecore/config/kconfig.cpp:171
#9  0x00007fd395ae95c8 in KSharedConfig (this=0x7fd394d9de40, componentData=..., fileName=..., flags=<value optimized out>, resType=0x388f7e0 "\250\370\210\003")
    at ../../kdecore/config/ksharedconfig.cpp:64
#10 0x00007fd395ae97f2 in KSharedConfig::openConfig (componentData=..., fileName=..., flags=<value optimized out>, resType=0x7fd3977e4bb7 "config") at ../../kdecore/config/ksharedconfig.cpp:56
#11 0x00007fd395ae998a in KSharedConfig::openConfig (fileName=..., flags=<value optimized out>, resType=0x7fd3977e4bb7 "config") at ../../kdecore/config/ksharedconfig.cpp:35
#12 0x00007fd397650095 in KIconTheme (this=<value optimized out>, name=..., appName=<value optimized out>) at ../../kdeui/icons/kicontheme.cpp:184
#13 0x00007fd397642553 in KIconLoaderPrivate::initIconThemes (this=0x1eb5c10) at ../../kdeui/icons/kiconloader.cpp:460
#14 0x00007fd397646f61 in KIconLoader::loadIcon (this=0x1df5090, _name=..., group=<value optimized out>, size=22, state=<value optimized out>, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1101
#15 0x00007fd39763f5bd in KIconEngine::pixmap (this=<value optimized out>, size=..., mode=<value optimized out>, state=<value optimized out>) at ../../kdeui/icons/kiconengine.cpp:119
#16 0x00007fd396146625 in QIcon::pixmap (this=<value optimized out>, size=..., mode=4294967295, state=59308000) at image/qicon.cpp:669
#17 0x00007fd3963a63af in QCommonStyle::drawControl (this=0x1ea0000, element=<value optimized out>, opt=0x7fff35c7b950, p=0x7fff35c7bf30, widget=0x34fb430) at styles/qcommonstyle.cpp:1597
#18 0x00007fd397690502 in KStyle::drawControl (this=0x1ea0000, element=QStyle::CE_ToolButtonLabel, option=0x7fff35c7b950, p=<value optimized out>, widget=0x34fb430)
    at ../../kdeui/kernel/kstyle.cpp:2508
#19 0x00007fd38e16abbd in OxygenStyle::drawControl (this=0x1ea0000, element=<value optimized out>, option=0x7fff35c7b950, p=0x7fff35c7bf30, widget=0x34fb430) at ../../../kstyles/oxygen/oxygen.cpp:607
#20 0x00007fd39768ddfc in KStyle::drawComplexControl (this=0x1ea0000, cc=<value optimized out>, opt=0x7fff35c7beb0, p=<value optimized out>, w=0x34fb430) at ../../kdeui/kernel/kstyle.cpp:3473
#21 0x00007fd38e160b6a in OxygenStyle::drawComplexControl (this=0x1ea0000, control=QStyle::CC_ToolButton, option=0x7fff35c7beb0, painter=0x7fff35c7bf30, widget=0x388f7e0)
    at ../../../kstyles/oxygen/oxygen.cpp:299
#22 0x00007fd396519048 in QStylePainter::drawComplexControl (this=0x34fb430) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:94
#23 QToolButton::paintEvent (this=0x34fb430) at widgets/qtoolbutton.cpp:556
#24 0x00007fd3960ea162 in QWidget::event (this=0x34fb430, event=0x7fff35c7c740) at kernel/qwidget.cpp:8144
#25 0x00007fd39609422c in QApplicationPrivate::notify_helper (this=0x1df50b0, receiver=0x34fb430, e=0x7fff35c7c740) at kernel/qapplication.cpp:4300
#26 0x00007fd39609a6fb in QApplication::notify (this=0x7fff35c7eff0, receiver=0x34fb430, e=0x7fff35c7c740) at kernel/qapplication.cpp:4183
#27 0x00007fd39767f526 in KApplication::notify (this=0x7fff35c7eff0, receiver=0x34fb430, event=0x7fff35c7c740) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00007fd3954a706c in QCoreApplication::notifyInternal (this=0x7fff35c7eff0, receiver=0x34fb430, event=0x7fff35c7c740) at kernel/qcoreapplication.cpp:704
#29 0x00007fd3960f27dd in QCoreApplication::sendSpontaneousEvent (this=0x371dd80, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x2794550) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 QWidgetPrivate::drawWidget (this=0x371dd80, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x2794550)
    at kernel/qwidget.cpp:5339
#31 0x00007fd3960f3478 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=23, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5452
#32 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=24, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#33 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=26, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#34 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=27, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#35 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=29, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#36 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=30, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#37 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=31, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#38 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=33, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#39 0x00007fd3960f32a9 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=34, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5439
#40 0x00007fd3960f253a in QWidgetPrivate::drawWidget (this=0x29c3020, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=
    0x2794550) at kernel/qwidget.cpp:5388
#41 0x00007fd3960f3478 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=21, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x2794550) at kernel/qwidget.cpp:5452
#42 0x00007fd3960f253a in QWidgetPrivate::drawWidget (this=0x1f061d0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=
    0x2794550) at kernel/qwidget.cpp:5388
#43 0x00007fd3962ac8c5 in QWidgetBackingStore::sync (this=0x2794550) at painting/qbackingstore.cpp:1291
#44 0x00007fd3962acc19 in QWidgetBackingStore::sync (this=0x2794550, exposedWidget=0x1f06090, exposedRegion=...) at painting/qbackingstore.cpp:1096
#45 0x00007fd39610d60a in QETWidget::translatePaintEvent (this=0x1f06090, event=<value optimized out>) at kernel/qapplication_x11.cpp:5078
#46 0x00007fd396118c8b in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff35c7ec10) at kernel/qapplication_x11.cpp:3401
#47 0x00007fd396144882 in x11EventSourceDispatch (s=0x1df8e20, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007fd39187b8c2 in g_main_dispatch (context=0x1df79f0) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#49 IA__g_main_context_dispatch (context=0x1df79f0) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#50 0x00007fd39187f748 in g_main_context_iterate (context=0x1df79f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#51 0x00007fd39187f8fc in IA__g_main_context_iteration (context=0x1df79f0, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#52 0x00007fd3954d0513 in QEventDispatcherGlib::processEvents (this=0x1ddd380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#53 0x00007fd39614446e in QGuiEventDispatcherGlib::processEvents (this=0x7fd394d9de40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007fd3954a5992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#55 0x00007fd3954a5d6c in QEventLoop::exec (this=0x7fff35c7ef40, flags=) at kernel/qeventloop.cpp:201
#56 0x00007fd3954a9aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#57 0x0000000000438152 in _start ()

Possible duplicates by query: bug 236519, bug 232041, bug 216620, bug 212154, bug 208881.

Reported using DrKonqi
Comment 1 Nick Shaforostoff 2010-05-20 21:13:48 UTC
please try removing lokalizerc file (~/.kde/share/config/lokalizerc)
Comment 2 Nick Shaforostoff 2010-12-02 11:45:14 UTC
can you comment what's the status of the issue from user POV?
Comment 3 Nick Shaforostoff 2010-12-08 21:21:48 UTC
please reopen the bug if the crash repeats, and if possible, provide more additional info (e.g. attach the lokalizerc file -- found under ~/.kde subfolder)