Bug 333126

Summary: kajong-4.11.5 crashed while starting up
Product: [Applications] kajongg Reporter: Christian <k>
Component: generalAssignee: Wolfgang Rohdewald <wolfgang>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kde-games-bugs, wolfgang
Priority: NOR Keywords: drkonqi
Version: 4.11.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian 2014-04-06 15:05:33 UTC
Application: kajongg (4.11.0)
KDE Platform Version: 4.11.5 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.14.0-rc8 x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
Start kajongg from the KDE menu.
Crash window opens before any application window is shown.

The crash can be reproduced every time.

-- Backtrace:
Application: Kajongg (kajongg), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f228fb90533 in indexOfMethodRelative<4> (normalizeStringData=false, method=<optimized out>, baseObject=0x7fffdae715f0) at kernel/qmetaobject.cpp:525
#7  QMetaObjectPrivate::indexOfSignalRelative (baseObject=baseObject@entry=0x7fffdae715f0, signal=signal@entry=0x7f228713c795 "aboutToQuit()", normalizeStringData=normalizeStringData@entry=false) at kernel/qmetaobject.cpp:628
#8  0x00007f228fba08dc in QObject::connect (sender=0xdf3870, signal=0x7f228713c795 "aboutToQuit()", signal@entry=0x7f228713c794 "2aboutToQuit()", receiver=0x1a937d0, method=method@entry=0x7f2287146039 "1_k_shuttingDown()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2557
#9  0x00007f22870852ef in KMainWindowPrivate::init (this=this@entry=0x1a8e770, _q=_q@entry=0x1a937d0) at /tmp/portage/kde-base/kdelibs-4.11.5/work/kdelibs-4.11.5/kdeui/widgets/kmainwindow.cpp:256
#10 0x00007f2287085783 in KMainWindow::KMainWindow (this=0x1a937d0, dd=..., parent=<optimized out>, f=...) at /tmp/portage/kde-base/kdelibs-4.11.5/work/kdelibs-4.11.5/kdeui/widgets/kmainwindow.cpp:226
#11 0x00007f22870c348f in KXmlGuiWindow::KXmlGuiWindow (this=0x1a937d0, __vtt_parm=0x7f2287b12ec8 <VTT for sipKXmlGuiWindow+8>, parent=<optimized out>, f=..., __in_chrg=<optimized out>) at /tmp/portage/kde-base/kdelibs-4.11.5/work/kdelibs-4.11.5/kdeui/xmlgui/kxmlguiwindow.cpp:89
#12 0x00007f2287630d7d in sipKXmlGuiWindow::sipKXmlGuiWindow (this=this@entry=0x1a937d0, a0=0x0, a1=a1@entry=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /tmp/portage/kde-base/pykde4-4.11.5/work/pykde4-4.11.5-python2_7/sip/kdeui/sipkdeuipart1.cpp:3829
#13 0x00007f2287630f45 in init_KXmlGuiWindow (sipSelf=0x1c3c8a0, sipArgs=<optimized out>, sipKwds=<optimized out>, sipUnused=<optimized out>, sipOwner=<optimized out>, sipParseErr=<optimized out>) at /tmp/portage/kde-base/pykde4-4.11.5/work/pykde4-4.11.5-python2_7/sip/kdeui/sipkdeuipart1.cpp:5835
#14 0x00007f228eb83de0 in sipSimpleWrapper_init (self=0x1c3c8a0, self@entry=<error reading variable: value has been optimized out>, args=0x7f2291df8050, args@entry=<error reading variable: value has been optimized out>, kwds=0x0, kwds@entry=<error reading variable: value has been optimized out>) at siplib.c:9481
#15 0x00007f229193000c in wrap_init (self=<optimized out>, args=<optimized out>, wrapped=<optimized out>, kwds=<optimized out>) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/typeobject.c:4748
#16 0x00007f22918e1122 in PyObject_Call (func=func@entry=0x15cccd0, arg=arg@entry=0x7f2291df8050, kw=kw@entry=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/abstract.c:2529
#17 0x00007f22919712ec in do_call (nk=<optimized out>, na=0, pp_stack=0x7fffdae71ab8, func=0x15cccd0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:4239
#18 call_function (oparg=<optimized out>, pp_stack=0x7fffdae71ab8) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:4044
#19 PyEval_EvalFrameEx (f=f@entry=0x14ae6d0, throwflag=throwflag@entry=0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:2666
#20 0x00007f2291974d66 in PyEval_EvalCodeEx (co=0x15ae930, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x173e8a8, argcount=1, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:3253
#21 0x00007f2291905957 in function_call (func=0x18eaaa0, arg=0x173e890, kw=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/funcobject.c:526
#22 0x00007f22918e1122 in PyObject_Call (func=func@entry=0x18eaaa0, arg=arg@entry=0x173e890, kw=kw@entry=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/abstract.c:2529
#23 0x00007f22918ef4ce in instancemethod_call (func=0x18eaaa0, arg=0x173e890, kw=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/classobject.c:2602
#24 0x00007f22918e1122 in PyObject_Call (func=func@entry=0x1874370, arg=arg@entry=0x7f2291df8050, kw=kw@entry=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/abstract.c:2529
#25 0x00007f2291934d77 in slot_tp_init (self=<optimized out>, args=0x7f2291df8050, kwds=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/typeobject.c:5692
#26 0x00007f22919349ce in type_call (type=<optimized out>, args=0x7f2291df8050, kwds=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/typeobject.c:745
#27 0x00007f22918e1122 in PyObject_Call (func=func@entry=0x1829780, arg=arg@entry=0x7f2291df8050, kw=kw@entry=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Objects/abstract.c:2529
#28 0x00007f22919712ec in do_call (nk=<optimized out>, na=0, pp_stack=0x7fffdae72148, func=0x1829780) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:4239
#29 call_function (oparg=<optimized out>, pp_stack=0x7fffdae72148) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:4044
#30 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:2666
#31 0x00007f2291974546 in fast_function (nk=<optimized out>, na=1, n=<optimized out>, pp_stack=0x7fffdae72348, func=0xf64230) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:4107
#32 call_function (oparg=<optimized out>, pp_stack=0x7fffdae72348) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:4042
#33 PyEval_EvalFrameEx (f=f@entry=0x9c9620, throwflag=throwflag@entry=0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:2666
#34 0x00007f2291974d66 in PyEval_EvalCodeEx (co=co@entry=0x7f2291d4c9b0, globals=globals@entry=0x9bd570, locals=locals@entry=0x9bd570, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=closure@entry=0x0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:3253
#35 0x00007f2291974e72 in PyEval_EvalCode (co=co@entry=0x7f2291d4c9b0, globals=globals@entry=0x9bd570, locals=locals@entry=0x9bd570) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/ceval.c:667
#36 0x00007f229198d86f in run_mod (mod=<optimized out>, filename=filename@entry=0x7fffdae735f3 "/usr/bin/kajongg", globals=globals@entry=0x9bd570, locals=locals@entry=0x9bd570, flags=flags@entry=0x7fffdae725c0, arena=arena@entry=0xa0c8d0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/pythonrun.c:1365
#37 0x00007f229198e63e in PyRun_FileExFlags (fp=fp@entry=0xa53a00, filename=filename@entry=0x7fffdae735f3 "/usr/bin/kajongg", start=start@entry=257, globals=globals@entry=0x9bd570, locals=locals@entry=0x9bd570, closeit=closeit@entry=1, flags=flags@entry=0x7fffdae725c0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/pythonrun.c:1351
#38 0x00007f229198f0b4 in PyRun_SimpleFileExFlags (fp=fp@entry=0xa53a00, filename=0x7fffdae735f3 "/usr/bin/kajongg", closeit=1, flags=flags@entry=0x7fffdae725c0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/pythonrun.c:943
#39 0x00007f229198fcf3 in PyRun_AnyFileExFlags (fp=fp@entry=0xa53a00, filename=<optimized out>, closeit=<optimized out>, flags=flags@entry=0x7fffdae725c0) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Python/pythonrun.c:747
#40 0x00007f22919a0653 in Py_Main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/dev-lang/python-2.7.5-r3/work/Python-2.7.5/Modules/main.c:644
#41 0x00007f22912edc15 in __libc_start_main (main=0x400920 <main>, argc=2, ubp_av=0x7fffdae72778, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffdae72768) at libc-start.c:258
#42 0x00000000004009bd in _start ()

Possible duplicates by query: bug 324112.

Reported using DrKonqi
Comment 1 Wolfgang Rohdewald 2014-04-06 19:30:37 UTC
I can probably only fix this if I can reproduce it.

You are using KDE 4.11 which is not maintained anymore.
Please try at least KDE 4.12.4 or even better the upcoming KDE 4.13.

If the bug is still there, please add a new user and try running kajongg as that user.

If that new user does not get this bug, please mail me those directories and files:

/home/failing_user/.kde/share/apps/kajongg
/home/failing_user/.kde/share/config/kajonggrc

as a workaround you can run kajongg from a shell as

kajongg --nokde

but then you get a qt-only application with less integration into KDE, and with a few missing configuration features.