Menu

Crash on exit

Help
2014-09-05
2014-09-06
  • Michael Hansen

    Michael Hansen - 2014-09-05

    Hi,

    when I close luckybackup 0.4.7 on kubuntu, it crashes sometimes. Here is a backtrace, unfortunately without debug symbols for luckybackup itself...

    Do you also have a bugtracker where bugs/wishes can be reported or do you use just the forum for that?

    Best regards,

    Michael

    (gdb) run
    Starting program: /usr/bin/luckybackup
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7fffe595d700 (LWP 3178)]
    Bus::open: Can not get ibus-daemon's address.
    IBusInputContext::createInputContext: no connection to ibus-daemon
    [New Thread 0x7fffe4c8c700 (LWP 3184)]
    Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at ../../kdecore/kernel/kglobal.cpp:127
    [Thread 0x7fffe4c8c700 (LWP 3184) exited]

    Program received signal SIGABRT, Aborted.
    0x00007ffff617af89 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
    56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    (gdb) bt

    0 0x00007ffff617af89 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

    1 0x00007ffff617e398 in __GI_abort () at abort.c:89

    2 0x00007ffff6cb2c92 in qt_message_output (msgType=msgType@entry=QtFatalMsg,

    buf=0x5555560c6f38 "Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at ../../kdecore/kernel/kglobal.cpp:127")
    at global/qglobal.cpp:2383
    

    3 0x00007ffff6cb2ff9 in qt_message(QtMsgType, const char , typedef __va_list_tag __va_list_tag ) (msgType=msgType@entry=QtFatalMsg,

    msg=msg@entry=0x7fffeebc7700 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fffffffc958) at global/qglobal.cpp:2429
    

    4 0x00007ffff6cb3804 in qFatal (msg=msg@entry=0x7fffeebc7700 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2612

    5 0x00007fffeeae35bf in operator-> (this=<optimized out="">) at ../../kdecore/kernel/kglobal.cpp:127</optimized>

    6 operator KGlobalPrivate* (this=<optimized out="">) at ../../kdecore/kernel/kglobal.cpp:127</optimized>

    7 KGlobal::locale () at ../../kdecore/kernel/kglobal.cpp:171

    8 0x00007fffeeae4f1b in KDETranslator::translate (this=<optimized out="">, context=0x7ffff794b500 <qt_meta_stringdata_qapplication> "QApplication",</qt_meta_stringdata_qapplication></optimized>

    sourceText=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
    message=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.") at ../../kdecore/kernel/kglobal_p.h:52
    

    9 0x00007ffff6dddd6a in QTranslator::translate (this=<optimized out="">, context=context@entry=0x7ffff794b500 <qt_meta_stringdata_qapplication> "QApplication",</qt_meta_stringdata_qapplication></optimized>

    sourceText=sourceText@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
    disambiguation=disambiguation@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", n=n@entry=-1) at kernel/qtranslator.cpp:1029
    

    10 0x00007ffff6dbf9fb in QCoreApplication::translate (context=0x7ffff794b500 <qt_meta_stringdata_qapplication> "QApplication",</qt_meta_stringdata_qapplication>

    sourceText=sourceText@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
    disambiguation=disambiguation@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", encoding=encoding@entry=QCoreApplication::CodecForTr, n=n@entry=-1) at kernel/qcoreapplication.cpp:1972
    

    11 0x00007ffff6dbfddf in QCoreApplication::translate (context=<optimized out="">, sourceText=sourceText@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION",</optimized>

    disambiguation=disambiguation@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", encoding=encoding@entry=QCoreApplication::CodecForTr) at kernel/qcoreapplication.cpp:1887
    

    12 0x00007ffff6dc5ec0 in QMetaObject::tr (this=this@entry=0x7ffff7d9b060 <qapplication::staticmetaobject>, s=s@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION",</qapplication::staticmetaobject>

    c=c@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.") at kernel/qmetaobject.cpp:307
    

    13 0x00007ffff72f5fcb in tr (

    c=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", s=0x7ffff794aa3d "QT_LAYOUT_DIRECTION") at ../../include/QtGui/../../src/gui/kernel/qapplication.h:101
    

    14 qt_detectRTLLanguage () at kernel/qapplication.cpp:2438

    15 QApplication::event (this=0x7fffffffd9d0, e=0x7fffffffce80) at kernel/qapplication.cpp:2498

    16 0x00007ffff72f0e2c in QApplicationPrivate::notify_helper (this=this@entry=0x555555897d90, receiver=receiver@entry=0x7fffffffd9d0, e=e@entry=0x7fffffffce80)

    at kernel/qapplication.cpp:4567
    

    17 0x00007ffff72f74a0 in QApplication::notify (this=0x7fffffffd9d0, receiver=0x7fffffffd9d0, e=0x7fffffffce80) at kernel/qapplication.cpp:4353

    18 0x00007ffff6dbf4dd in QCoreApplication::notifyInternal (this=0x7fffffffd9d0, receiver=0x7fffffffd9d0, event=event@entry=0x7fffffffce80) at kernel/qcoreapplication.cpp:953

    19 0x00007ffff6dc3e96 in sendEvent (event=0x7fffffffce80, receiver=<optimized out="">) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231</optimized>

    20 QCoreApplication::removeTranslator (translationFile=translationFile@entry=0x5555558825d0 <apptranslator>) at kernel/qcoreapplication.cpp:1877</apptranslator>

    21 0x00007ffff6dddcb9 in QTranslator::~QTranslator (this=0x5555558825d0 <apptranslator>, __in_chrg=<optimized out="">) at kernel/qtranslator.cpp:363</optimized></apptranslator>

    22 0x00007ffff6180519 in __run_exit_handlers (status=0, listp=0x7ffff65036c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82

    23 0x00007ffff6180565 in __GI_exit (status=<optimized out="">) at exit.c:104</optimized>

    24 0x00005555555e6868 in ?? ()

    25 0x00005555555e6889 in ?? ()

    26 0x00007ffff7340106 in QWidget::event (this=this@entry=0x7fffffffd9e0, event=event@entry=0x7fffffffd280) at kernel/qwidget.cpp:8545

    27 0x00007ffff76fa9b3 in QMainWindow::event (this=0x7fffffffd9e0, event=0x7fffffffd280) at widgets/qmainwindow.cpp:1478

    28 0x00007ffff72f0e2c in QApplicationPrivate::notify_helper (this=this@entry=0x555555897d90, receiver=receiver@entry=0x7fffffffd9e0, e=e@entry=0x7fffffffd280)

    at kernel/qapplication.cpp:4567
    

    29 0x00007ffff72f74a0 in QApplication::notify (this=0x7fffffffd9d0, receiver=0x7fffffffd9e0, e=0x7fffffffd280) at kernel/qapplication.cpp:4353

    30 0x00007ffff6dbf4dd in QCoreApplication::notifyInternal (this=0x7fffffffd9d0, receiver=receiver@entry=0x7fffffffd9e0, event=event@entry=0x7fffffffd280)

    at kernel/qcoreapplication.cpp:953
    

    31 0x00007ffff733c979 in sendEvent (event=<optimized out="">, receiver=<optimized out="">) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231</optimized></optimized>

    32 QWidgetPrivate::close_helper (this=0x55555595d3e0, mode=mode@entry=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7942

    33 0x00007ffff735b0a2 in translateCloseEvent (this=0x7fffffffd9e0) at kernel/qapplication_x11.cpp:5828

    34 QApplication::x11ClientMessage (this=<optimized out="">, w=0x7fffffffd9e0, event=<optimized out="">, passive_only=<optimized out="">) at kernel/qapplication_x11.cpp:3204</optimized></optimized></optimized>

    35 0x00007ffff736a872 in QApplication::x11ProcessEvent (this=0x7fffffffd9d0, event=event@entry=0x7fffffffd520) at kernel/qapplication_x11.cpp:3888

    36 0x00007ffff7392b02 in x11EventSourceDispatch (s=0x55555589c270, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146

    37 0x00007ffff5a30e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    38 0x00007ffff5a31048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    ---Type <return> to continue, or q <return> to quit---</return></return>

    39 0x00007ffff5a310ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    40 0x00007ffff6dec7a1 in QEventDispatcherGlib::processEvents (this=0x55555589ac40, flags=...) at kernel/qeventdispatcher_glib.cpp:434

    41 0x00007ffff7392bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out="">, flags=...) at kernel/qguieventdispatcher_glib.cpp:204</optimized>

    42 0x00007ffff6dbe0af in QEventLoop::processEvents (this=this@entry=0x7fffffffd8f0, flags=...) at kernel/qeventloop.cpp:149

    43 0x00007ffff6dbe3a5 in QEventLoop::exec (this=this@entry=0x7fffffffd8f0, flags=...) at kernel/qeventloop.cpp:204

    44 0x00007ffff6dc3b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225

    45 0x0000555555569b1e in main ()

    (gdb)

     
  • Michael Hansen

    Michael Hansen - 2014-09-05

    Sorry, should have used preview to see that the backtrace will be interpreted as formatting code. Here is a plain-text version:

    (gdb) run
    Starting program: /usr/bin/luckybackup 
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7fffe595d700 (LWP 3178)]
    Bus::open: Can not get ibus-daemon's address. 
    IBusInputContext::createInputContext: no connection to ibus-daemon 
    [New Thread 0x7fffe4c8c700 (LWP 3184)]
    Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at ../../kdecore/kernel/kglobal.cpp:127
    [Thread 0x7fffe4c8c700 (LWP 3184) exited]
    
    Program received signal SIGABRT, Aborted.
    0x00007ffff617af89 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
    56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    (gdb) bt
    #0  0x00007ffff617af89 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
    #1  0x00007ffff617e398 in __GI_abort () at abort.c:89
    #2  0x00007ffff6cb2c92 in qt_message_output (msgType=msgType@entry=QtFatalMsg, 
        buf=0x5555560c6f38 "Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at ../../kdecore/kernel/kglobal.cpp:127")
        at global/qglobal.cpp:2383
    #3  0x00007ffff6cb2ff9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, 
        msg=msg@entry=0x7fffeebc7700 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fffffffc958) at global/qglobal.cpp:2429
    #4  0x00007ffff6cb3804 in qFatal (msg=msg@entry=0x7fffeebc7700 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2612
    #5  0x00007fffeeae35bf in operator-> (this=<optimized out>) at ../../kdecore/kernel/kglobal.cpp:127
    #6  operator KGlobalPrivate* (this=<optimized out>) at ../../kdecore/kernel/kglobal.cpp:127
    #7  KGlobal::locale () at ../../kdecore/kernel/kglobal.cpp:171
    #8  0x00007fffeeae4f1b in KDETranslator::translate (this=<optimized out>, context=0x7ffff794b500 <qt_meta_stringdata_QApplication> "QApplication", 
        sourceText=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
        message=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.") at ../../kdecore/kernel/kglobal_p.h:52
    #9  0x00007ffff6dddd6a in QTranslator::translate (this=<optimized out>, context=context@entry=0x7ffff794b500 <qt_meta_stringdata_QApplication> "QApplication", 
        sourceText=sourceText@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
        disambiguation=disambiguation@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", n=n@entry=-1) at kernel/qtranslator.cpp:1029
    #10 0x00007ffff6dbf9fb in QCoreApplication::translate (context=0x7ffff794b500 <qt_meta_stringdata_QApplication> "QApplication", 
        sourceText=sourceText@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
        disambiguation=disambiguation@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", encoding=encoding@entry=QCoreApplication::CodecForTr, n=n@entry=-1) at kernel/qcoreapplication.cpp:1972
    #11 0x00007ffff6dbfddf in QCoreApplication::translate (context=<optimized out>, sourceText=sourceText@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
        disambiguation=disambiguation@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", encoding=encoding@entry=QCoreApplication::CodecForTr) at kernel/qcoreapplication.cpp:1887
    #12 0x00007ffff6dc5ec0 in QMetaObject::tr (this=this@entry=0x7ffff7d9b060 <QApplication::staticMetaObject>, s=s@entry=0x7ffff794aa3d "QT_LAYOUT_DIRECTION", 
        c=c@entry=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.") at kernel/qmetaobject.cpp:307
    #13 0x00007ffff72f5fcb in tr (
        c=0x7ffff794a810 "Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.", s=0x7ffff794aa3d "QT_LAYOUT_DIRECTION") at ../../include/QtGui/../../src/gui/kernel/qapplication.h:101
    #14 qt_detectRTLLanguage () at kernel/qapplication.cpp:2438
    #15 QApplication::event (this=0x7fffffffd9d0, e=0x7fffffffce80) at kernel/qapplication.cpp:2498
    #16 0x00007ffff72f0e2c in QApplicationPrivate::notify_helper (this=this@entry=0x555555897d90, receiver=receiver@entry=0x7fffffffd9d0, e=e@entry=0x7fffffffce80)
        at kernel/qapplication.cpp:4567
    #17 0x00007ffff72f74a0 in QApplication::notify (this=0x7fffffffd9d0, receiver=0x7fffffffd9d0, e=0x7fffffffce80) at kernel/qapplication.cpp:4353
    #18 0x00007ffff6dbf4dd in QCoreApplication::notifyInternal (this=0x7fffffffd9d0, receiver=0x7fffffffd9d0, event=event@entry=0x7fffffffce80) at kernel/qcoreapplication.cpp:953
    #19 0x00007ffff6dc3e96 in sendEvent (event=0x7fffffffce80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #20 QCoreApplication::removeTranslator (translationFile=translationFile@entry=0x5555558825d0 <appTranslator>) at kernel/qcoreapplication.cpp:1877
    #21 0x00007ffff6dddcb9 in QTranslator::~QTranslator (this=0x5555558825d0 <appTranslator>, __in_chrg=<optimized out>) at kernel/qtranslator.cpp:363
    #22 0x00007ffff6180519 in __run_exit_handlers (status=0, listp=0x7ffff65036c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
    #23 0x00007ffff6180565 in __GI_exit (status=<optimized out>) at exit.c:104
    #24 0x00005555555e6868 in ?? ()
    #25 0x00005555555e6889 in ?? ()
    #26 0x00007ffff7340106 in QWidget::event (this=this@entry=0x7fffffffd9e0, event=event@entry=0x7fffffffd280) at kernel/qwidget.cpp:8545
    #27 0x00007ffff76fa9b3 in QMainWindow::event (this=0x7fffffffd9e0, event=0x7fffffffd280) at widgets/qmainwindow.cpp:1478
    #28 0x00007ffff72f0e2c in QApplicationPrivate::notify_helper (this=this@entry=0x555555897d90, receiver=receiver@entry=0x7fffffffd9e0, e=e@entry=0x7fffffffd280)
        at kernel/qapplication.cpp:4567
    #29 0x00007ffff72f74a0 in QApplication::notify (this=0x7fffffffd9d0, receiver=0x7fffffffd9e0, e=0x7fffffffd280) at kernel/qapplication.cpp:4353
    #30 0x00007ffff6dbf4dd in QCoreApplication::notifyInternal (this=0x7fffffffd9d0, receiver=receiver@entry=0x7fffffffd9e0, event=event@entry=0x7fffffffd280)
        at kernel/qcoreapplication.cpp:953
    #31 0x00007ffff733c979 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #32 QWidgetPrivate::close_helper (this=0x55555595d3e0, mode=mode@entry=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7942
    #33 0x00007ffff735b0a2 in translateCloseEvent (this=0x7fffffffd9e0) at kernel/qapplication_x11.cpp:5828
    #34 QApplication::x11ClientMessage (this=<optimized out>, w=0x7fffffffd9e0, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3204
    #35 0x00007ffff736a872 in QApplication::x11ProcessEvent (this=0x7fffffffd9d0, event=event@entry=0x7fffffffd520) at kernel/qapplication_x11.cpp:3888
    #36 0x00007ffff7392b02 in x11EventSourceDispatch (s=0x55555589c270, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
    #37 0x00007ffff5a30e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #38 0x00007ffff5a31048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #39 0x00007ffff5a310ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #40 0x00007ffff6dec7a1 in QEventDispatcherGlib::processEvents (this=0x55555589ac40, flags=...) at kernel/qeventdispatcher_glib.cpp:434
    #41 0x00007ffff7392bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
    #42 0x00007ffff6dbe0af in QEventLoop::processEvents (this=this@entry=0x7fffffffd8f0, flags=...) at kernel/qeventloop.cpp:149
    #43 0x00007ffff6dbe3a5 in QEventLoop::exec (this=this@entry=0x7fffffffd8f0, flags=...) at kernel/qeventloop.cpp:204
    #44 0x00007ffff6dc3b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
    #45 0x0000555555569b1e in main ()
    (gdb) 
    
     
  • Loukas Avgeriou

    Loukas Avgeriou - 2014-09-06

    Hi Michael,
    thank you very much for the feeback

    Have you noticed if this happens under specific circumstances or does it seem completely random
    eg does it happen when you close the app via the window close button (x) or the luckybackup "quit" button ?
    Does it happens when you have altered a profile and you have saved (or not) the changes ?
    If you just run the app and close it does it crash ?

    Do you feel comfortable testing the newest version ?
    If it's not available from kubuntu's repos you have to download it from here:
    http://luckybackup.sourceforge.net/download.html
    and uninstall packages "luckybackup" and luckybackup-data" before installing 0.4.8
    likewise you have to first uninstall package luckybackup 0.4.8 before installing it from the repos again.

     

Log in to post a comment.