Bug 216333 - KOrganizer KPart crashes calling "create" from factory
Summary: KOrganizer KPart crashes calling "create" from factory
Status: RESOLVED WORKSFORME
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-11-27 01:40 UTC by Giacomo Lacava
Modified: 2018-10-27 02:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test file producing the crash (1.23 KB, text/plain)
2009-11-27 01:42 UTC, Giacomo Lacava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Lacava 2009-11-27 01:40:18 UTC
+++ This bug was initially created as a clone of Bug #216332 +++

Version:            (using KDE 4.3.3)
OS:                Linux
Installed from:    Ubuntu Packages

Application that crashed: test.py
Version of the application: 1.0
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
This is a test python file to instantiate the KOrganizer KPart, mirroring the official KatePart example from PyKDE. Just launching the program results in a crash when the factory object is invoked to create the actual part (i.e.
part = factory.create(self, "KOrganizerPart")


 -- Backtrace:
Application: KOrganizer Part Example (test.py), signal: Segmentation fault
[KCrash Handler]
#6  QWidget::window (this=0x0) at kernel/qwidget.cpp:3883
#7  0x02a045f9 in QWidget::topLevelWidget (this=0xa5c3a08, parentWidget=0x0, parent=0xa4e23e0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/include/qt4/QtGui/qwidget.h:314
#8  KOrganizerPart (this=0xa5c3a08, parentWidget=0x0, parent=0xa4e23e0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../korganizer/korganizer_part.cpp:53
#9  0x02a055b2 in KPluginFactory::createPartInstance<KOrganizerPart> (parentWidget=0x0, parent=0xa4e23e0, args=...) at /usr/include/kpluginfactory.h:467
#10 0x00f9ce85 in KPluginFactory::create (this=0xa5c2700, iface=0xb78411ec "KOrganizerPart", parentWidget=0x0, parent=0xa4e23e0, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:191
#11 0x00845997 in ?? () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#12 0x080dc0d0 in call_function (f=0x924484, throwflag=0) at ../Python/ceval.c:3706
#13 PyEval_EvalFrameEx (f=0x924484, throwflag=0) at ../Python/ceval.c:2389
#14 0x080dddf2 in PyEval_EvalCodeEx (co=0xb7822ad0, globals=0xb787b1c4, locals=0x0, args=0xa3e11b8, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2968
#15 0x0816014c in function_call (func=0xa3bcc34, arg=0xa3e11ac, kw=0x0) at ../Objects/funcobject.c:524
#16 0x0806120a in PyObject_Call (func=0xa3bcc34, arg=0xa3e11ac, kw=0x0) at ../Objects/abstract.c:2492
#17 0x080684ac in instancemethod_call (func=0xb7823324, arg=0xa3e11ac, kw=0x0) at ../Objects/classobject.c:2579
#18 0x0806120a in PyObject_Call (func=0xb7823324, arg=0xb784902c, kw=0x0) at ../Objects/abstract.c:2492
#19 0x080aea8e in slot_tp_init (self=0xa3badec, args=0xb784902c, kwds=0x0) at ../Objects/typeobject.c:5638
#20 0x080aa165 in type_call (type=0xa44c71c, args=0xb784902c, kwds=0x0) at ../Objects/typeobject.c:747
#21 0x0806120a in PyObject_Call (func=0xa44c71c, arg=0xb784902c, kw=0x0) at ../Objects/abstract.c:2492
#22 0x080dbc3c in do_call (f=0xa2556f4, throwflag=0) at ../Python/ceval.c:3924
#23 call_function (f=0xa2556f4, throwflag=0) at ../Python/ceval.c:3729
#24 PyEval_EvalFrameEx (f=0xa2556f4, throwflag=0) at ../Python/ceval.c:2389
#25 0x080dddf2 in PyEval_EvalCodeEx (co=0xb7822848, globals=0xb787b1c4, locals=0xb787b1c4, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2968
#26 0x080ddef7 in PyEval_EvalCode (co=0xb7822848, globals=0xb787b1c4, locals=0xb787b1c4) at ../Python/ceval.c:522
#27 0x080faa1f in run_mod (fp=0xa24dc78, filename=0xbf911454 "test.py", start=257, globals=0xb787b1c4, locals=0xb787b1c4, closeit=1, flags=0xbf90f70c) at ../Python/pythonrun.c:1335
#28 PyRun_FileExFlags (fp=0xa24dc78, filename=0xbf911454 "test.py", start=257, globals=0xb787b1c4, locals=0xb787b1c4, closeit=1, flags=0xbf90f70c) at ../Python/pythonrun.c:1321
#29 0x080fac12 in PyRun_SimpleFileExFlags (fp=0xa24dc78, filename=0xbf911454 "test.py", closeit=1, flags=0xbf90f70c) at ../Python/pythonrun.c:931
#30 0x0805c8d8 in Py_Main (argc=2, argv=0xbf90f7f4) at ../Modules/main.c:599
#31 0x0805baeb in main (argc=2, argv=0xbf90f7f4) at ../Modules/python.c:23
Comment 1 Giacomo Lacava 2009-11-27 01:42:17 UTC
Created attachment 38627 [details]
test file producing the crash
Comment 2 Christoph Feck 2013-09-12 21:38:45 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 3 Andrew Crouthamel 2018-09-24 01:56:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:43:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!