Bug 356104

Summary: Cannot create new collection
Product: [Applications] parley Reporter: Dimitris Kardarakos <dimkard>
Component: editorAssignee: parley bug tracker <parley-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: dimkard
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Debugging attempt with gdb

Description Dimitris Kardarakos 2015-11-30 09:06:16 UTC
Trying to create a new collection in Parley, always leads to crash. 

Reproducible: Always

Steps to Reproduce:
1. Open Parley
2. Click "Create a New Collection"
3. Select  any language pair (E.g. English - Spanish), click "OK"
4. In the next dialog, click "OK"

Actual Results:  
Parley window closes

Expected Results:  
A new collection to be created

OS: Kubuntu 15.10
Kernel:  4.2.0-16-generic
Plasma: 5.4.2
Qt: 5.4.2
Comment 1 Dimitris Kardarakos 2015-11-30 09:08:23 UTC
Created attachment 95814 [details]
Debugging attempt with gdb
Comment 2 Dimitris Kardarakos 2015-12-01 18:10:47 UTC
New gdb attempt, with all(?) relative debug symbols installed

(gdb) run
Starting program: /usr/bin/parley 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe375c700 (LWP 4796)]
[New Thread 0x7fffd9854700 (LWP 4797)]
[New Thread 0x7fffd9053700 (LWP 4798)]
Attempting to load .desktop at "/usr/share/parley/themes/bees_theme.desktop"
QIODevice::read: device not open
[New Thread 0x7fffd7c14700 (LWP 4799)]
Invalid URL:  QUrl( "/tmp/parley.Ip4792" ) 
"Cannot download http://edu.kde.org/parley/locale/en-US.kvtml"
Download of   QUrl( "http://edu.kde.org/parley/locale/en-US.kvtml" )   failed.
Invalid URL:  QUrl( "/tmp/parley.ck4792" ) 
"Cannot download http://edu.kde.org/parley/locale/es.kvtml"
Download of   QUrl( "http://edu.kde.org/parley/locale/es.kvtml" )   failed.
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
HSpellDict::HSpellDict: Init failed
Create word type model for summary view
Clear summary widget
QIODevice::write: device not open
Activating Script "/usr/share/parley/plugins/example.py"
"Parley"
Kross: "Loading the interpreter library for python"
Kross: "Successfully loaded Interpreter instance from library."
Kross: "PythonScript::Constructor."
Kross: "PythonScript::execute"
Kross: "PythonScript::execute result=None"
Activating Script "/usr/share/parley/plugins/google_dictionary.py"
"Parley"
Kross: "PythonScript::Constructor."
Kross: "PythonScript::execute"
Kross: "PythonScript::execute result=None"
Kross: "PythonScript::execute connect object= signal=translateWord(QString,QString,QString) with pythonfunction=translateWord"
Activating Script "/usr/share/parley/plugins/google_images.py"
"Parley"
Kross: "PythonScript::Constructor."
Kross: "PythonScript::execute"

Program received signal SIGSEGV, Segmentation fault.
QList<QPrinter::PageSize>::QList (this=0x7fffccda74f8 <QPrinterInfoPrivate::shared_null+24>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:121
121	../../include/QtCore/../../src/corelib/tools/qlist.h: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος.
(gdb) backtrace full
Python Exception <class 'RuntimeError'> maximum recursion depth exceeded while getting the str of an object: 
#0  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (this=0x7fffccda74f8 <QPrinterInfoPrivate::shared_null+24>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:121
#1  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (name=..., this=0x7fffccda74e0 <QPrinterInfoPrivate::shared_null>) at painting/qprinterinfo_p.h:71
#2  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (__initialize_p=1, __priority=65535) at painting/qprinterinfo.cpp:35
#3  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) () at painting/qprinterinfo.cpp:163
#4  0x00007ffff7de95ba in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdf98, env=env@entry=0x7fffffffdfa8) at dl-init.c:72
        j = <optimized out>
        jm = <optimized out>
        addrs = <optimized out>
        init_array = <optimized out>
#5  0x00007ffff7de96cb in _dl_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:30
        preinit_array = <optimized out>
        preinit_array_size = <optimized out>
        i = 1
#6  0x00007ffff7de96cb in _dl_init (main_map=main_map@entry=0xad1f90, argc=1, argv=0x7fffffffdf98, env=0x7fffffffdfa8) at dl-init.c:120
        preinit_array = <optimized out>
        preinit_array_size = <optimized out>
        i = 1
#7  0x00007ffff7dee587 in dl_open_worker (a=a@entry=0x7fffffffbcd8) at dl-open.c:579
        args = 0x7fffffffbcd8
        file = <optimized out>
        mode = <optimized out>
        call_map = <optimized out>
        dst = <optimized out>
        new = <optimized out>
        __PRETTY_FUNCTION__ = "dl_open_worker"
        r = <optimized out>
        reloc_mode = <optimized out>
        nmaps = <optimized out>
        l = <optimized out>
        maps = <optimized out>
        relocation_in_progress = <optimized out>
        any_tls = <optimized out>
        first_static_tls = <optimized out>
#8  0x00007ffff7de9464 in _dl_catch_error (objname=objname@entry=0x7fffffffbcc8, errstring=errstring@entry=0x7fffffffbcd0, mallocedp=mallocedp@entry=0x7fffffffbcc7, operate=operate@entry=0x7ffff7dee0a0 <dl_open_worker>, args=args@entry=0x7fffffffbcd8) at dl-error.c:187
        errcode = 32767
        c = {objname = 0x7fffffffbcc8, errstring = 0x7fffffffbcd0, malloced = 0x7fffffffbcc7, errcode = 0x7fffffffbbb4, env = {{__jmpbuf = {140737488338392, 2706393467323640314, 2147483650, 12843040, 140736663042957, 140737354125376, 2706393467252337146, 2706411341601663482}, __mask_was_saved = -825046724, __saved_mask = {__val = {8, 140736642158672, 4, 1, 140736657399168, 0, 140736750276688, 2086973084129491968, 140737488338944, 140737488338096, 140737488339121, 140737488338096, 140737488338864, 140736663918261, 140737488338496, 1}}}}}
        catchp = 0x7fffe60067c8
        old = <optimized out>
#9  0x00007ffff7ded9a3 in _dl_open (file=0xc3f820 "/usr/lib/python2.7/dist-packages/PyQt4/QtGui.so", mode=-2147483646, caller_dlopen=0x7fffcecebb8d <_PyImport_GetDynLoadFunc+285>, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fffffffdfa8) at dl-open.c:663
        args = {file = 0xc3f820 "/usr/lib/python2.7/dist-packages/PyQt4/QtGui.so", mode = -2147483646, caller_dlopen = 0x7fffcecebb8d <_PyImport_GetDynLoadFunc+285>, caller_dl_open = 0x7ffff0072fc9 <dlopen_doit+89>, map = 0xad1f90, nsid = 0, argc = 1, argv = 0x7fffffffdf98, env = 0x7fffffffdfa8}
        objname = 0x7fffffffbfb0 "initQtGui"
        errstring = 0x7fffffffbfb0 "initQtGui"
        malloced = false
        errcode = <optimized out>
        __PRETTY_FUNCTION__ = "_dl_open"
#10 0x00007ffff0072fc9 in dlopen_doit (a=a@entry=0x7fffffffbef0) at dlopen.c:66
        args = 0x7fffffffbef0
#11 0x00007ffff7de9464 in _dl_catch_error (objname=0x7beef0, errstring=0x7beef8, mallocedp=0x7beee8, operate=0x7ffff0072f70 <dlopen_doit>, args=0x7fffffffbef0) at dl-error.c:187
        errcode = 32767
        c = {objname = 0x7beef0, errstring = 0x7beef8, malloced = 0x7beee8, errcode = 0x7fffffffbdd4, env = {{__jmpbuf = {0, 2706405497053080058, 140737488338672, 2, 12151968, 12843040, 2706393467348806138, 2706411341601663482}, __mask_was_saved = -825453649, __saved_mask = {__val = {206158430240, 140737488338720, 140737488338528, 2086973084129491968, 49, 1, 768, 12151974, 11313264, 140736667537216, 140737488338864, 140736641918128, 140733193388032, 140737488338832, 140736750302312, 140736750279600}}}}}
        catchp = 0x7fffe60067c8
        old = <optimized out>
#12 0x00007ffff007362d in _dlerror_run (operate=operate@entry=0x7ffff0072f70 <dlopen_doit>, args=args@entry=0x7fffffffbef0) at dlerror.c:163
        result = 0x7beee0
#13 0x00007ffff0073061 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
        args = {file = 0xc3f820 "/usr/lib/python2.7/dist-packages/PyQt4/QtGui.so", mode = 2, new = 0x7fffcf1152f0 <_Py_NoneStruct>, caller = 0x7fffcecebb8d <_PyImport_GetDynLoadFunc+285>}
#14 0x00007fffcecebb8d in _PyImport_GetDynLoadFunc () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007fffcecd316e in _PyImport_LoadDynamicModule () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007fffcecd3fb0 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007fffcecd4278 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#18 0x00007fffcecd538b in PyImport_ImportModuleLevel () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#19 0x00007fffcec71448 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#20 0x00007fffcec6b267 in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#21 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#22 0x00007fffcec6af3f in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#23 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#24 0x00007fffcec6af3f in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#25 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#26 0x00007fffced23fc0 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#27 0x00007fffcecda933 in PyObject_Call () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#28 0x00007fffced4be9c in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#29 0x00007fffcecda933 in PyObject_Call () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#30 0x00007fffceda14b7 in PyEval_CallObjectWithKeywords () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#31 0x00007fffcec6541e in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#32 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#33 0x00007fffcec62d09 in PyEval_EvalCode () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#34 0x00007fffcf17e7bf in Kross::PythonScript::execute() (this=0xd12f00) at ../../python/pythonscript.cpp:337
        moduledict = {<Py::MapBase<Py::Object>> = {<Py::Object> = {_vptr.Object = 0x7fffcf39dd98 <vtable for Py::Dict+16>, p = 0x7fffcd8b6050}, <No data fields>}, <No data fields>}
        pyresult = <optimized out>
        mainmoduledict = {<Py::MapBase<Py::Object>> = {<Py::Object> = {_vptr.Object = 0x7fffcf39dd98 <vtable for Py::Dict+16>, p = 0x7fffce783168}, <No data fields>}, <No data fields>}
        gilstate = PyGILState_LOCKED
        result = {_vptr.Object = 0xd12f00, p = 0x32349c0}
#35 0x00007ffff79647ad in Kross::Action::slotTriggered() (this=0x31e0a10) at ../../../src/core/action.cpp:549
#36 0x00007ffff796eb9d in Kross::Action::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x31e0a10, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=32, _a=_a@entry=0x7fffffffd380) at moc_action.cpp:237
        _t = 0x31e0a10
#37 0x00007ffff3e6c78a in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x31e0a10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd380) at kernel/qobject.cpp:3717
        receiverInSameThread = <optimized out>
        sw = {receiver = 0x31e0a10, previousSender = 0x0, currentSender = {sender = 0x31e0a10, signal = 4, ref = 1}, switched = true}
        callFunction = 0x7ffff796e9d0 <Kross::Action::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
        receiver = 0x31e0a10
        method_relative = <optimized out>
        c = 0xcb35f0
        last = 0xcb35f0
        locker = {val = 140737287509616}
        connectionLists = {connectionLists = 0x3274b20}
        list = <optimized out>
        signal_index = 4
        empty_argv = {0x0}
        currentThreadId = 0x7fffe6006800
#38 0x00007ffff3e6cf87 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x31e0a10, m=m@entry=0x7ffff50e0c80 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd380) at kernel/qobject.cpp:3582
#39 0x00007ffff4be0172 in QAction::triggered(bool) (this=this@entry=0x31e0a10, _t1=false) at .moc/moc_qaction.cpp:360
        _a = {0x0, 0x7fffffffd37c}
#40 0x00007ffff4be2618 in QAction::activate(QAction::ActionEvent) (this=0x31e0a10, event=<optimized out>) at kernel/qaction.cpp:1167
        guard = {wp = {d = 0xc594a0, value = <optimized out>}}
#41 0x00000000004c1e0c in Script::activate() (this=0x31e0a10) at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:177
        action = 0x31e0a10
        i = {c = {d = 0x31ea9c0}, i = {i = <optimized out>}, n = {i = <optimized out>}}
#42 0x00000000004c1e0c in Script::activate() (this=this@entry=0xd159d0) at ../../src/scripts/script.cpp:73
        action = 0x31e0a10
        i = {c = {d = 0x31ea9c0}, i = {i = <optimized out>}, n = {i = <optimized out>}}
#43 0x00000000004baded in ScriptManager::loadScripts() (this=0x31f5fd0) at ../../src/scripts/scriptmanager.cpp:130
        s = 0xd159d0
        _container_ = {c = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x3296760}, d = 0x3296760}}, <No data fields>}, i = {i = 0x3296780}, e = {i = 0x3296798}, control = 1}
        scripts = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x3296760}, d = 0x3296760}}, <No data fields>}
        failed = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff3f0c520 <QListData::shared_null>}, d = 0x7ffff3f0c520 <QListData::shared_null>}}, <No data fields>}
        errorDetails = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff3f0c520 <QListData::shared_null>}, d = 0x7ffff3f0c520 <QListData::shared_null>}}, <No data fields>}
#44 0x000000000047cd8b in Editor::EditorWindow::initScripts() (this=<optimized out>) at ../../src/editor/editor.cpp:514
#45 0x00000000004e1df5 in Editor::EditorWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_editor.cpp:116
        _t = <optimized out>
#46 0x00007ffff3e6d651 in QObject::event(QEvent*) (this=this@entry=0xcff430, e=e@entry=0x3532f60) at kernel/qobject.cpp:1245
        mce = 0x3532f60
        sw = {receiver = 0xcff430, previousSender = 0x0, currentSender = {sender = 0x0, signal = -1, ref = 1}, switched = true}
#47 0x00007ffff4c2bedb in QWidget::event(QEvent*) (this=this@entry=0xcff430, event=event@entry=0x3532f60) at kernel/qwidget.cpp:9084
#48 0x00007ffff4d3d39b in QMainWindow::event(QEvent*) (this=this@entry=0xcff430, event=event@entry=0x3532f60) at widgets/qmainwindow.cpp:1495
#49 0x00007ffff71f5177 in KMainWindow::event(QEvent*) (this=this@entry=0xcff430, ev=ev@entry=0x3532f60) at ../../src/kmainwindow.cpp:821
#50 0x00007ffff722d5c5 in KXmlGuiWindow::event(QEvent*) (this=0xcff430, ev=0x3532f60) at ../../src/kxmlguiwindow.cpp:118
        ret = <optimized out>
#51 0x00007ffff4be9b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x7bb8a0, receiver=receiver@entry=0xcff430, e=e@entry=0x3532f60) at kernel/qapplication.cpp:3720
        consumed = <optimized out>
#52 0x00007ffff4bef230 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffde60, receiver=0xcff430, e=0x3532f60) at kernel/qapplication.cpp:3503
        w = 0xcff430
        extra = <optimized out>
        isProxyWidget = <optimized out>
        res = <optimized out>
#53 0x00007ffff3e3bf1b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffde60, receiver=0xcff430, event=event@entry=0x3532f60) at kernel/qcoreapplication.cpp:935
        result = false
        cbdata = {0xcff430, 0x3532f60, 0x7fffffffda8f}
        d = <optimized out>
        threadData = 0x7b2b20
        loopLevelCounter = {threadData = 0x7b2b20}
#54 0x00007ffff3e3e057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x3532f60, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
        e = 0x3532f60
        pe = <optimized out>
        r = <optimized out>
        unlocker = {m = <synthetic pointer>}
        event_deleter = {d = 0x3532f60}
        locker = {val = 8072008}
        startOffset = 0
        i = @0x7b2b3c: 1298
        cleanup = {receiver = 0x0, event_type = 0, data = 0x7b2b20, exceptionCaught = true}
#55 0x00007ffff3e3e057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x7b2b20) at kernel/qcoreapplication.cpp:1552
        e = 0x3532f60
        pe = <optimized out>
        r = <optimized out>
        unlocker = {m = <synthetic pointer>}
        event_deleter = {d = 0x3532f60}
        locker = {val = 8072008}
        startOffset = 0
        i = @0x7b2b3c: 1298
        cleanup = {receiver = 0x0, event_type = 0, data = 0x7b2b20, exceptionCaught = true}
#56 0x00007ffff3e3e588 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
        data = <optimized out>
#57 0x00007ffff3e92e73 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7fc290) at kernel/qeventdispatcher_glib.cpp:271
        source = 0x7fc290
#58 0x00007fffeef64ff7 in g_main_context_dispatch (context=0x7fffdc0016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3154
        dispatch = 0x7ffff3e92e60 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = <optimized out>
        need_destroy = <optimized out>
        source = 0x7fc290
        current = 0x7b0750
        i = 0
#59 0x00007fffeef64ff7 in g_main_context_dispatch (context=context@entry=0x7fffdc0016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3769
#60 0x00007fffeef65250 in g_main_context_iterate (context=context@entry=0x7fffdc0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3840
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 3
        fds = 0xb14c90
#61 0x00007fffeef652fc in g_main_context_iteration (context=0x7fffdc0016f0, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
        retval = <optimized out>
#62 0x00007ffff3e9327f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc270, flags=...) at kernel/qeventdispatcher_glib.cpp:418
        d = 0x807db0
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#63 0x00007ffff3e3975a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffdd60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
        d = 0xb151d0
        locker = {val = 8072208}
        ref = {d = 0xb151d0, locker = @0x7fffffffdce0, exceptionCaught = true}
#64 0x00007ffff3e412cc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
        threadData = 0x7b2b20
        eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff406f418 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3f9eea0 <qt_meta_stringdata_QObject>, data = 0x7ffff3f9ed80 <qt_meta_data_QObject>, static_metacall = 0x7ffff3e74a40 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0xb151d0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3fe66a0 <qt_meta_stringdata_Qt>, data = 0x7ffff3fe3e20 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff40690e0 <QObject::staticMetaObject>, stringdata = 0x7ffff3ffa400 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff3ffa3a0 <qt_meta_data_QEventLoop>, static_metacall = 0x7ffff3ee5350 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#65 0x00000000004793e7 in main(int, char**) (argc=1, argv=0x7fffffffdf98) at ../../src/main.cpp:136
        parleyApp = 0x83cb60
        args = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7ffff3f0c520 <QListData::shared_null>}, d = 0x7ffff3f0c520 <QListData::shared_null>}}, <No data fields>}
        aboutData = {d = 0x7ba4d0}
        app = {<QGuiApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff4a7c320 <QGuiApplication::staticMetaObject>, stringdata = 0x7ffff4f99440 <qt_meta_stringdata_QApplication>, data = 0x7ffff4f992c0 <qt_meta_data_QApplication>, static_metacall = 0x7ffff4bed2e0 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        parser = {d = 0x81dc00}
(gdb) info registers
rax            0x7ffff3f0c520	140737286030624
rbx            0x7fffccd61898	140736629971096
rcx            0x13	19
rdx            0x7fffffffdfa8	140737488347048
rsi            0x7fffffffdf98	140737488347032
rdi            0x7fffcc0b7920	140736616692000
rbp            0x1	0x1
rsp            0x7fffffffba10	0x7fffffffba10
r8             0xac3ef0	11288304
r9             0x2f	47
r10            0x7fffccdaa000	140736630267904
r11            0xad2248	11346504
r12            0x7fffffffdf98	140737488347032
r13            0x7fffffffdfa8	140737488347048
r14            0x7fffccd618f0	140736629971184
r15            0x0	0
rip            0x7fffcc26b274	0x7fffcc26b274 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+68>
eflags         0x10202	[ IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
(gdb) x/16i $pc
=> 0x7fffcc26b274 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+68>:	lock incl (%rax)
   0x7fffcc26b277 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+71>:	setne  %dl
   0x7fffcc26b27a <_GLOBAL__sub_I_qprinterinfo.cpp(void)+74>:	lock decl (%rdi)
   0x7fffcc26b27d <_GLOBAL__sub_I_qprinterinfo.cpp(void)+77>:	setne  %al
   0x7fffcc26b280 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+80>:	test   %al,%al
   0x7fffcc26b282 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+82>:	je     0x7fffcc26b2a2 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+114>
   0x7fffcc26b284 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+84>:	lea    0xb36cd5(%rip),%rdx        # 0x7fffccda1f60
   0x7fffcc26b28b <_GLOBAL__sub_I_qprinterinfo.cpp(void)+91>:	lea    0xb3c24e(%rip),%rsi        # 0x7fffccda74e0 <_ZN19QPrinterInfoPrivate11shared_nullE>
   0x7fffcc26b292 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+98>:	lea    0x1aef57(%rip),%rdi        # 0x7fffcc41a1f0 <QPrinterInfoPrivate::~QPrinterInfoPrivate()>
   0x7fffcc26b299 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+105>:	add    $0x8,%rsp
   0x7fffcc26b29d <_GLOBAL__sub_I_qprinterinfo.cpp(void)+109>:	jmpq   0x7fffcc268e60 <__cxa_atexit@plt>
   0x7fffcc26b2a2 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+114>:	callq  0x7fffcc26a080 <_ZN7QString4freeEPNS_4DataE@plt>
   0x7fffcc26b2a7 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+119>:	jmp    0x7fffcc26b284 <_GLOBAL__sub_I_qprinterinfo.cpp(void)+84>
   0x7fffcc26b2a9:	nopl   0x0(%rax)
   0x7fffcc26b2b0 <_GLOBAL__sub_I_qpaintbuffer.cpp(void)>:	sub    $0x8,%rsp
   0x7fffcc26b2b4 <_GLOBAL__sub_I_qpaintbuffer.cpp(void)+4>:	mov    0xb3c272(%rip),%eax        # 0x7fffccda752c <_ZZN11QMetaTypeIdI22QPaintBufferCacheEntryE14qt_metatype_idEvE11metatype_id>
(gdb) thread apply all backtrace
Python Exception <class 'RuntimeError'> maximum recursion depth exceeded while getting the str of an object: 

Thread 5 (Thread 0x7fffd7c14700 (LWP 4799)):
#0  0x00007fffef48a149 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffff3c5d496 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xc8bae0) at thread/qwaitcondition_unix.cpp:126
#2  0x00007ffff3c5d496 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xc8bae0) at thread/qwaitcondition_unix.cpp:134
#3  0x00007ffff3c5d496 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xc8fcc0, mutex=mutex@entry=0xc8b760, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007ffff3c59003 in QThreadPoolThread::run() (this=0xc8fcb0) at thread/qthreadpool.cpp:127
#5  0x00007ffff3c5c2be in QThreadPrivate::start(void*) (arg=0xc8fcb0) at thread/qthread_unix.cpp:337
#6  0x00007fffef4846aa in start_thread (arg=0x7fffd7c14700) at pthread_create.c:333
#7  0x00007ffff3574eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffd9053700 (LWP 4798)):
#0  0x00007fffef489da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffe0e31d33 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007fffe0e31b97 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007fffef4846aa in start_thread (arg=0x7fffd9053700) at pthread_create.c:333
#4  0x00007ffff3574eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffd9854700 (LWP 4797)):
#0  0x00007fffef489da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffe0e31d33 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007fffe0e31b97 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007fffef4846aa in start_thread (arg=0x7fffd9854700) at pthread_create.c:333
#4  0x00007ffff3574eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffe375c700 (LWP 4796)):
#0  0x00007ffff3575e9d in recvmsg () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffec6e3af7 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffec6e1e41 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffec6e374f in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fffe5caaa39 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#5  0x00007ffff3c5c2be in QThreadPrivate::start(void*) (arg=0x7d7100) at thread/qthread_unix.cpp:337
#6  0x00007fffef4846aa in start_thread (arg=0x7fffe375c700) at pthread_create.c:333
#7  0x00007ffff3574eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fffe6006800 (LWP 4792)):
#0  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (this=0x7fffccda74f8 <QPrinterInfoPrivate::shared_null+24>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:121
#1  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (name=..., this=0x7fffccda74e0 <QPrinterInfoPrivate::shared_null>) at painting/qprinterinfo_p.h:71
#2  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) (__initialize_p=1, __priority=65535) at painting/qprinterinfo.cpp:35
#3  0x00007fffcc26b274 in _GLOBAL__sub_I_qprinterinfo.cpp(void) () at painting/qprinterinfo.cpp:163
#4  0x00007ffff7de95ba in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdf98, env=env@entry=0x7fffffffdfa8) at dl-init.c:72
#5  0x00007ffff7de96cb in _dl_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:30
#6  0x00007ffff7de96cb in _dl_init (main_map=main_map@entry=0xad1f90, argc=1, argv=0x7fffffffdf98, env=0x7fffffffdfa8) at dl-init.c:120
#7  0x00007ffff7dee587 in dl_open_worker (a=a@entry=0x7fffffffbcd8) at dl-open.c:579
#8  0x00007ffff7de9464 in _dl_catch_error (objname=objname@entry=0x7fffffffbcc8, errstring=errstring@entry=0x7fffffffbcd0, mallocedp=mallocedp@entry=0x7fffffffbcc7, operate=operate@entry=0x7ffff7dee0a0 <dl_open_worker>, args=args@entry=0x7fffffffbcd8) at dl-error.c:187
#9  0x00007ffff7ded9a3 in _dl_open (file=0xc3f820 "/usr/lib/python2.7/dist-packages/PyQt4/QtGui.so", mode=-2147483646, caller_dlopen=0x7fffcecebb8d <_PyImport_GetDynLoadFunc+285>, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fffffffdfa8) at dl-open.c:663
#10 0x00007ffff0072fc9 in dlopen_doit (a=a@entry=0x7fffffffbef0) at dlopen.c:66
#11 0x00007ffff7de9464 in _dl_catch_error (objname=0x7beef0, errstring=0x7beef8, mallocedp=0x7beee8, operate=0x7ffff0072f70 <dlopen_doit>, args=0x7fffffffbef0) at dl-error.c:187
#12 0x00007ffff007362d in _dlerror_run (operate=operate@entry=0x7ffff0072f70 <dlopen_doit>, args=args@entry=0x7fffffffbef0) at dlerror.c:163
#13 0x00007ffff0073061 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#14 0x00007fffcecebb8d in _PyImport_GetDynLoadFunc () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007fffcecd316e in _PyImport_LoadDynamicModule () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007fffcecd3fb0 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007fffcecd4278 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#18 0x00007fffcecd538b in PyImport_ImportModuleLevel () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#19 0x00007fffcec71448 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#20 0x00007fffcec6b267 in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#21 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#22 0x00007fffcec6af3f in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#23 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#24 0x00007fffcec6af3f in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#25 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#26 0x00007fffced23fc0 in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#27 0x00007fffcecda933 in PyObject_Call () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#28 0x00007fffced4be9c in  () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#29 0x00007fffcecda933 in PyObject_Call () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#30 0x00007fffceda14b7 in PyEval_CallObjectWithKeywords () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#31 0x00007fffcec6541e in PyEval_EvalFrameEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#32 0x00007fffceda208c in PyEval_EvalCodeEx () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#33 0x00007fffcec62d09 in PyEval_EvalCode () at /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#34 0x00007fffcf17e7bf in Kross::PythonScript::execute() (this=0xd12f00) at ../../python/pythonscript.cpp:337
#35 0x00007ffff79647ad in Kross::Action::slotTriggered() (this=0x31e0a10) at ../../../src/core/action.cpp:549
#36 0x00007ffff796eb9d in Kross::Action::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x31e0a10, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=32, _a=_a@entry=0x7fffffffd380) at moc_action.cpp:237
#37 0x00007ffff3e6c78a in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x31e0a10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd380) at kernel/qobject.cpp:3717
#38 0x00007ffff3e6cf87 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x31e0a10, m=m@entry=0x7ffff50e0c80 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd380) at kernel/qobject.cpp:3582
#39 0x00007ffff4be0172 in QAction::triggered(bool) (this=this@entry=0x31e0a10, _t1=false) at .moc/moc_qaction.cpp:360
#40 0x00007ffff4be2618 in QAction::activate(QAction::ActionEvent) (this=0x31e0a10, event=<optimized out>) at kernel/qaction.cpp:1167
#41 0x00000000004c1e0c in Script::activate() (this=0x31e0a10) at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:177
#42 0x00000000004c1e0c in Script::activate() (this=this@entry=0xd159d0) at ../../src/scripts/script.cpp:73
#43 0x00000000004baded in ScriptManager::loadScripts() (this=0x31f5fd0) at ../../src/scripts/scriptmanager.cpp:130
#44 0x000000000047cd8b in Editor::EditorWindow::initScripts() (this=<optimized out>) at ../../src/editor/editor.cpp:514
#45 0x00000000004e1df5 in Editor::EditorWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_editor.cpp:116
#46 0x00007ffff3e6d651 in QObject::event(QEvent*) (this=this@entry=0xcff430, e=e@entry=0x3532f60) at kernel/qobject.cpp:1245
#47 0x00007ffff4c2bedb in QWidget::event(QEvent*) (this=this@entry=0xcff430, event=event@entry=0x3532f60) at kernel/qwidget.cpp:9084
#48 0x00007ffff4d3d39b in QMainWindow::event(QEvent*) (this=this@entry=0xcff430, event=event@entry=0x3532f60) at widgets/qmainwindow.cpp:1495
#49 0x00007ffff71f5177 in KMainWindow::event(QEvent*) (this=this@entry=0xcff430, ev=ev@entry=0x3532f60) at ../../src/kmainwindow.cpp:821
#50 0x00007ffff722d5c5 in KXmlGuiWindow::event(QEvent*) (this=0xcff430, ev=0x3532f60) at ../../src/kxmlguiwindow.cpp:118
#51 0x00007ffff4be9b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x7bb8a0, receiver=receiver@entry=0xcff430, e=e@entry=0x3532f60) at kernel/qapplication.cpp:3720
#52 0x00007ffff4bef230 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffde60, receiver=0xcff430, e=0x3532f60) at kernel/qapplication.cpp:3503
#53 0x00007ffff3e3bf1b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffde60, receiver=0xcff430, event=event@entry=0x3532f60) at kernel/qcoreapplication.cpp:935
#54 0x00007ffff3e3e057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x3532f60, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#55 0x00007ffff3e3e057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x7b2b20) at kernel/qcoreapplication.cpp:1552
#56 0x00007ffff3e3e588 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#57 0x00007ffff3e92e73 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7fc290) at kernel/qeventdispatcher_glib.cpp:271
#58 0x00007fffeef64ff7 in g_main_context_dispatch (context=0x7fffdc0016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3154
#59 0x00007fffeef64ff7 in g_main_context_dispatch (context=context@entry=0x7fffdc0016f0) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3769
#60 0x00007fffeef65250 in g_main_context_iterate (context=context@entry=0x7fffdc0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3840
#61 0x00007fffeef652fc in g_main_context_iteration (context=0x7fffdc0016f0, may_block=may_block@entry=1) at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#62 0x00007ffff3e9327f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc270, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#63 0x00007ffff3e3975a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffdd60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#64 0x00007ffff3e412cc in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1188
#65 0x00000000004793e7 in main(int, char**) (argc=1, argv=0x7fffffffdf98) at ../../src/main.cpp:136
(gdb) quit
Comment 3 Dimitris Kardarakos 2015-12-03 11:12:03 UTC
I managed to bypass this crash by moving /usr/share/parley/plugins/google_images.desktop to /usr/share/parley/plugins/google_images.desktop.bak.
Comment 4 Dimitris Kardarakos 2015-12-31 10:56:12 UTC
Cannot reproduce anymore in Plasma 5.5.1 / Frameworks 5.17 (archlinux packages)