Bug 236300 - Crash while parsing MIME magic file
Summary: Crash while parsing MIME magic file
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: triaged
: 236303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 11:58 UTC by Alexey Shvetsov
Modified: 2018-10-27 02:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
/usr/share/mime/magic (20.21 KB, application/octet-stream)
2010-05-04 13:43 UTC, Alexey Shvetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov 2010-05-04 11:58:29 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.74 (KDE 4.4.74 (KDE 4.5 >= 20100428)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-r1 x86_64
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
- What I was doing when the application crashed:
Knewstuff  crashed while getting new aurorae themes.
Bug is reproducable every time

-- Backtrace:
Application: Параметры системы (systemsettings), signal: Illegal instruction
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.0/libstdc++.so.6.0.14-gdb.py", line 59, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently asm".
[KCrash Handler]
#6  0x00002b5a53c5fa7f in KMimeTypeFactory::parseMagicFile (this=<value optimized out>, file=0x7fff48a9ccb0, fileName=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdecore/services/kmimetypefactory.cpp:594
#7  0x00002b5a53c60965 in KMimeTypeFactory::parseMagic (this=0x3051730) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdecore/services/kmimetypefactory.cpp:436
#8  0x00002b5a53c60e18 in KMimeTypeFactory::findFromContent (this=0x3051730, device=0x7fff48a9ce60, whichPriority=KMimeTypeFactory::AllRules, accuracy=0x0, beginning=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdecore/services/kmimetypefactory.cpp:345
#9  0x00002b5a53c67fe2 in KMimeType::findByFileContent (fileName=..., accuracy=0x0) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdecore/services/kmimetype.cpp:475
#10 0x00002b5a5584b01f in KTar::createDevice (this=0x300e300, mode=...) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/ktar.cpp:87
#11 0x00002b5a557dc83f in KArchive::open (this=0x300e300, mode=...) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/karchive.cpp:114
#12 0x00002b5a62a4639f in KNS3::Installation::installDownloadedFileAndUncompress (this=0x2a34ce0, entry=..., payloadfile=..., installdir=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/knewstuff/knewstuff3/core/installation.cpp:418
#13 0x00002b5a62a4798d in KNS3::Installation::install (this=0x2a34ce0, entry=..., downloadedFile=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/knewstuff/knewstuff3/core/installation.cpp:267
#14 0x00002b5a62a48adb in KNS3::Installation::slotPayloadResult (this=0x2a34ce0, job=0x2edf560)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/knewstuff/knewstuff3/core/installation.cpp:219
#15 0x00002b5a62a48ef4 in KNS3::Installation::qt_metacall (this=0x2a34ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48a9dd60)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74_build/knewstuff/knewstuff3/installation.moc:99
#16 0x00002b5a5439a25f in QMetaObject::activate (sender=0x2edf560, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3104ce0) at kernel/qobject.cpp:3285
#17 0x00002b5a53c29a92 in KJob::result (this=<value optimized out>, _t1=0x2edf560) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74_build/kdecore/kjob.moc:194
#18 0x00002b5a53c29ad0 in KJob::emitResult (this=0x2edf560) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdecore/jobs/kjob.cpp:312
#19 0x00002b5a557cdffa in KIO::FileCopyJob::slotResult (this=0x2edf560, job=0x2eb8610) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/job.cpp:2324
#20 0x00002b5a557cdda0 in KIO::FileCopyJob::qt_metacall (this=0x2edf560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48a9df00)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74_build/kio/jobclasses.moc:721
#21 0x00002b5a5439a25f in QMetaObject::activate (sender=0x2eb8610, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3104ce0) at kernel/qobject.cpp:3285
#22 0x00002b5a53c29a92 in KJob::result (this=<value optimized out>, _t1=0x2eb8610) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74_build/kdecore/kjob.moc:194
#23 0x00002b5a53c29ad0 in KJob::emitResult (this=0x2eb8610) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdecore/jobs/kjob.cpp:312
#24 0x00002b5a557c568d in KIO::SimpleJob::slotFinished (this=0x2eb8610) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/job.cpp:522
#25 0x00002b5a557ce277 in KIO::TransferJob::slotFinished (this=0x2eb8610) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/job.cpp:1103
#26 0x00002b5a557cca11 in KIO::TransferJob::qt_metacall (this=0x2eb8610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48a9e330)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74_build/kio/jobclasses.moc:367
#27 0x00002b5a5439a25f in QMetaObject::activate (sender=0x29e5130, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3104ce0) at kernel/qobject.cpp:3285
#28 0x00002b5a55889ab1 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=104, rawdata=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/slaveinterface.cpp:175
#29 0x00002b5a55886d4d in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/slaveinterface.cpp:91
#30 0x00002b5a5587a8d6 in KIO::Slave::gotInput (this=0x29e5130) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/slave.cpp:344
#31 0x00002b5a5587aeec in KIO::Slave::qt_metacall (this=0x29e5130, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48a9e760)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74_build/kio/slave.moc:82
#32 0x00002b5a5439a25f in QMetaObject::activate (sender=0x2f98d10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3104ce0) at kernel/qobject.cpp:3285
#33 0x00002b5a557979c7 in KIO::ConnectionPrivate::dequeue (this=0x302a810) at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kio/kio/connection.cpp:82
#34 0x00002b5a55797a7d in KIO::Connection::qt_metacall (this=0x2f98d10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3024680)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74_build/kio/connection.moc:79
#35 0x00002b5a543971b9 in QObject::event (this=0x2f98d10, e=0x304db40) at kernel/qobject.cpp:1240
#36 0x00002b5a5305e65c in QApplicationPrivate::notify_helper (this=0x218d850, receiver=0x2f98d10, e=0x304db40) at kernel/qapplication.cpp:4300
#37 0x00002b5a53064cab in QApplication::notify (this=0x7fff48aa0a90, receiver=0x2f98d10, e=0x304db40) at kernel/qapplication.cpp:4183
#38 0x00002b5a52aa81d6 in KApplication::notify (this=0x7fff48aa0a90, receiver=0x2f98d10, event=0x304db40)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdeui/kernel/kapplication.cpp:302
#39 0x00002b5a5438756b in QCoreApplication::notifyInternal (this=0x7fff48aa0a90, receiver=0x2f98d10, event=0x304db40) at kernel/qcoreapplication.cpp:704
#40 0x00002b5a54389cb6 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x215b620) at kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x215b620) at kernel/qcoreapplication.cpp:1345
#42 0x00002b5a543b0de3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#44 0x00002b5a5738077e in g_main_dispatch (context=0x21838a0) at gmain.c:1960
#45 IA__g_main_context_dispatch (context=0x21838a0) at gmain.c:2513
#46 0x00002b5a57380ed8 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, context=<value optimized out>, 
    block=<value optimized out>, dispatch=<value optimized out>) at gmain.c:2591
#47 0x00002b5a573810bd in IA__g_main_context_iteration (context=0x21838a0, may_block=1) at gmain.c:2654
#48 0x00002b5a543b0923 in QEventDispatcherGlib::processEvents (this=0x215b0f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#49 0x00002b5a5310cc8e in QGuiEventDispatcherGlib::processEvents (this=0xcececece, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00002b5a54385ec2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00002b5a54386294 in QEventLoop::exec (this=0x7fff48a9f190, flags=) at kernel/qeventloop.cpp:201
#52 0x00002b5a5352239e in QDialog::exec (this=0x25dba00) at dialogs/qdialog.cpp:546
#53 0x00002b5a622f7845 in KWin::KWinDecorationModule::slotGHNSClicked (this=0x24677a0) at /var/tmp/portage/kde-base/kwin-4.4.74/work/kwin-4.4.74/kwin/kcmkwin/kwindecoration/kwindecoration.cpp:282
#54 0x00002b5a622f7bbc in KWin::KWinDecorationModule::qt_metacall (this=0x24677a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff48a9f490)
    at /var/tmp/portage/kde-base/kwin-4.4.74/work/kwin-4.4.74_build/kwin/kcmkwin/kwindecoration/kwindecoration.moc:142
#55 0x00002b5a5439a25f in QMetaObject::activate (sender=0x246acc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3104ce0) at kernel/qobject.cpp:3285
#56 0x00002b5a536f2432 in QAbstractButton::clicked (this=0xcececece, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#57 0x00002b5a5340e28b in QAbstractButtonPrivate::emitClicked (this=0x246d440) at widgets/qabstractbutton.cpp:546
#58 0x00002b5a5340f12b in QAbstractButtonPrivate::click (this=0x246d440) at widgets/qabstractbutton.cpp:539
#59 0x00002b5a5340f39c in QAbstractButton::mouseReleaseEvent (this=0x246acc0, e=0x7fff48a9ff60) at widgets/qabstractbutton.cpp:1121
#60 0x00002b5a530b4781 in QWidget::event (this=0x246acc0, event=0x7fff48a9ff60) at kernel/qwidget.cpp:7998
#61 0x00002b5a5305e65c in QApplicationPrivate::notify_helper (this=0x218d850, receiver=0x246acc0, e=0x7fff48a9ff60) at kernel/qapplication.cpp:4300
#62 0x00002b5a5306548b in QApplication::notify (this=0x7fff48aa0a90, receiver=0x246acc0, e=0x7fff48a9ff60) at kernel/qapplication.cpp:3865
#63 0x00002b5a52aa81d6 in KApplication::notify (this=0x7fff48aa0a90, receiver=0x246acc0, event=0x7fff48a9ff60)
    at /var/tmp/portage/kde-base/kdelibs-4.4.74/work/kdelibs-4.4.74/kdeui/kernel/kapplication.cpp:302
#64 0x00002b5a5438756b in QCoreApplication::notifyInternal (this=0x7fff48aa0a90, receiver=0x246acc0, event=0x7fff48a9ff60) at kernel/qcoreapplication.cpp:704
#65 0x00002b5a530645b2 in QCoreApplication::sendEvent (receiver=0x246acc0, event=0x7fff48a9ff60, alienWidget=0x246acc0, nativeWidget=0x2258340, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QApplicationPrivate::sendMouseEvent (receiver=0x246acc0, event=0x7fff48a9ff60, alienWidget=0x246acc0, nativeWidget=0x2258340, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#67 0x00002b5a530e4314 in QETWidget::translateMouseEvent (this=0x2258340, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#68 0x00002b5a530e303a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff48aa06e0) at kernel/qapplication_x11.cpp:3501
#69 0x00002b5a5310d092 in x11EventSourceDispatch (s=0x2183e10, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x00002b5a5738077e in g_main_dispatch (context=0x21838a0) at gmain.c:1960
#71 IA__g_main_context_dispatch (context=0x21838a0) at gmain.c:2513
#72 0x00002b5a57380ed8 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, context=<value optimized out>, 
    block=<value optimized out>, dispatch=<value optimized out>) at gmain.c:2591
#73 0x00002b5a573810bd in IA__g_main_context_iteration (context=0x21838a0, may_block=1) at gmain.c:2654
#74 0x00002b5a543b0923 in QEventDispatcherGlib::processEvents (this=0x215b0f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#75 0x00002b5a5310cc8e in QGuiEventDispatcherGlib::processEvents (this=0xcececece, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00002b5a54385ec2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#77 0x00002b5a54386294 in QEventLoop::exec (this=0x7fff48aa09e0, flags=) at kernel/qeventloop.cpp:201
#78 0x00002b5a54389f7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#79 0x0000000000411469 in main (argc=5, argv=0x7fff48aa0d58) at /var/tmp/portage/kde-base/systemsettings-4.4.74/work/systemsettings-4.4.74/systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Christoph Feck 2010-05-04 13:13:59 UTC
Could you attach your /usr/share/mime/magic file?
Comment 2 Alexey Shvetsov 2010-05-04 13:43:37 UTC
Created attachment 43229 [details]
/usr/share/mime/magic

/usr/share/mime/magic attached
Comment 3 Christoph Feck 2010-07-01 22:34:27 UTC
*** Bug 236303 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2013-09-12 21:41:07 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 5 Andrew Crouthamel 2018-09-24 01:56:03 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 6 Andrew Crouthamel 2018-10-27 02:06:05 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!