Bug 259302 - Ark: nspluginviewer crashes when previewing JavaScript file
Summary: Ark: nspluginviewer crashes when previewing JavaScript file
Status: RESOLVED UPSTREAM
Alias: None
Product: konqueror
Classification: Applications
Component: nspluginviewer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 10:09 UTC by rele
Modified: 2010-12-10 21:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rele 2010-12-09 10:09:56 UTC
Application: nspluginviewer ()
KDE Platform Version: 4.5.4 (KDE 4.5.4) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.36-gentoo-r3 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I downloaded jquery-lightbox-0.5.zip, opened it in Ark and saw that the included js/jquery.js was very old.
I wanted to preview it to see the version number, nspluginviewer crashed instantly, Ark continued running normally.

-- Backtrace:
Application: nspluginviewer (nspluginviewer), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.1/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
The current source language is "auto; currently asm".
[KCrash Handler]
#6  KMimeType::d_func (this=0x0, url=...) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kdecore/services/kmimetype.h:48
#7  KMimeType::comment (this=0x0, url=...) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kdecore/services/kmimetype.cpp:590
#8  0x00007f501e373b76 in KPartsPlugin::readData (this=0x1d9fef0, source=0x7fff7aebcc80, format=...)
    at /mnt/bigdata/ebuild/working/portage/www-plugins/kpartsplugin-20100723/work/kpartsplugin/src/kpartsplugin.cpp:265
#9  0x00007f501e3789de in QtNPStream::finish (this=0x1dff870, bindable=0x1d9ff18)
    at /mnt/bigdata/ebuild/working/portage/www-plugins/kpartsplugin-20100723/work/kpartsplugin/src/qtbrowserplugin.cpp:675
#10 0x00007f501e378c5f in NPP_DestroyStream (instance=<value optimized out>, stream=<value optimized out>, reason=<value optimized out>)
    at /mnt/bigdata/ebuild/working/portage/www-plugins/kpartsplugin-20100723/work/kpartsplugin/src/qtbrowserplugin.cpp:1132
#11 0x000000000040bb1d in NSPluginInstance::NPDestroyStream (this=<value optimized out>, stream=0x0, reason=-13792)
    at /mnt/bigdata/ebuild/working/portage/kde-base/nsplugins-4.4.5/work/nsplugins-4.4.5/nsplugins/viewer/nsplugin.cpp:1189
#12 0x0000000000411e05 in NSPluginStreamBase::finish (this=0x1dd68f0, err=true) at /mnt/bigdata/ebuild/working/portage/kde-base/nsplugins-4.4.5/work/nsplugins-4.4.5/nsplugins/viewer/nsplugin.cpp:1827
#13 0x00000000004136db in NSPluginStream::qt_metacall (this=0x1dd68f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7aebcff0)
    at /mnt/bigdata/ebuild/working/portage/kde-base/nsplugins-4.4.5/work/nsplugins-4.4.5_build/nsplugins/viewer/nsplugin.moc:152
#14 0x00007f5029b51b07 in QMetaObject::activate (sender=0x1d94f00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7aebcff0) at kernel/qobject.cpp:3287
#15 0x00007f5029f94232 in KJob::result (this=<value optimized out>, _t1=0x1d94f00) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4_build/kdecore/kjob.moc:194
#16 0x00007f5029f94270 in KJob::emitResult (this=0x1d94f00) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kdecore/jobs/kjob.cpp:312
#17 0x00007f502b23510d in KIO::SimpleJob::slotFinished (this=0x1d94f00) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kio/job.cpp:525
#18 0x00007f502b23ca8e in KIO::TransferJob::slotFinished (this=0x1d94f00) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kio/job.cpp:1114
#19 0x00007f502b23523b in KIO::SimpleJob::slotError (this=0x1d94f00, err=<value optimized out>, errorText=<value optimized out>)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kio/job.cpp:537
#20 0x00007f502b236648 in KIO::SimpleJob::qt_metacall (this=0x1d94f00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7aebd520)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4_build/kio/jobclasses.moc:170
#21 0x00007f502b23b1f5 in KIO::TransferJob::qt_metacall (this=0x1d94f00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7aebd520)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4_build/kio/jobclasses.moc:355
#22 0x00007f5029b51b07 in QMetaObject::activate (sender=0x1d7e950, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7aebd520) at kernel/qobject.cpp:3287
#23 0x00007f502b2d7bb6 in KIO::SlaveInterface::error (this=<value optimized out>, _t1=111, _t2=<value optimized out>)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4_build/kio/slaveinterface.moc:159
#24 0x00007f502b2da6fd in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=<value optimized out>, rawdata=...)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kio/slaveinterface.cpp:208
#25 0x00007f502b2d75ec in KIO::SlaveInterface::dispatch (this=0x1d7e950) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kio/slaveinterface.cpp:91
#26 0x00007f502b2caf16 in KIO::Slave::gotInput (this=0x1d7e950) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kio/slave.cpp:347
#27 0x00007f502b2cb4e4 in KIO::Slave::qt_metacall (this=0x1d7e950, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7aebd950)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4_build/kio/slave.moc:82
#28 0x00007f5029b51b07 in QMetaObject::activate (sender=0x1dfca30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#29 0x00007f502b20720d in KIO::ConnectionPrivate::dequeue (this=0x1dfc6d0) at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kio/kio/connection.cpp:82
#30 0x00007f502b20729d in KIO::Connection::qt_metacall (this=0x1dfca30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1bb5fb0)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4_build/kio/connection.moc:79
#31 0x00007f5029b4f429 in QObject::event (this=0x1dfca30, e=0x1c7be70) at kernel/qobject.cpp:1240
#32 0x00007f5028d0b87c in QApplicationPrivate::notify_helper (this=0x1b733e0, receiver=0x1dfca30, e=0x1c7be70) at kernel/qapplication.cpp:4302
#33 0x00007f5028d0f81a in QApplication::notify (this=<value optimized out>, receiver=0x1dfca30, e=0x1c7be70) at kernel/qapplication.cpp:4185
#34 0x00007f502a7af028 in KApplication::notify (this=0x7fff7aebe540, receiver=0x1dfca30, event=0x1c7be70)
    at /mnt/bigdata/ebuild/working/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#35 0x00007f5029b3da0b in QCoreApplication::notifyInternal (this=0x7fff7aebe540, receiver=0x1dfca30, event=0x1c7be70) at kernel/qcoreapplication.cpp:726
#36 0x00007f5029b411a9 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1b5b3b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b5b3b0) at kernel/qcoreapplication.cpp:1367
#38 0x00007f5029b66113 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#40 0x00007f502b62f1da in g_main_dispatch (context=0x1b75d20) at gmain.c:1960
#41 IA__g_main_context_dispatch (context=0x1b75d20) at gmain.c:2513
#42 0x00007f502b62f9b8 in g_main_context_iterate (context=0x1b75d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#43 0x00007f502b62fc1f in IA__g_main_context_iteration (context=0x1b75d20, may_block=1) at gmain.c:2654
#44 0x00007f5029b665da in QEventDispatcherGlib::processEvents (this=0x1b733a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#45 0x00007f5028dab406 in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f5029b3cdb2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f5029b3d014 in QEventLoop::exec (this=0x7fff7aebe380, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007f5029b4145b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#49 0x0000000000416b94 in main (argc=<value optimized out>, argv=<value optimized out>)
    at /mnt/bigdata/ebuild/working/portage/kde-base/nsplugins-4.4.5/work/nsplugins-4.4.5/nsplugins/viewer/viewer.cpp:144

Reported using DrKonqi
Comment 1 Pino Toscano 2010-12-09 12:49:04 UTC
This is a bug in the KPartsPlugin plugin.
Please report the issue to its developer, see: http://kde-apps.org/content/show.php/KParts+Plugin?content=125066
Comment 2 Thomas Fischer 2010-12-10 21:24:32 UTC
(In reply to comment #1)
> This is a bug in the KPartsPlugin plugin.
> Please report the issue to its developer, see:
> http://kde-apps.org/content/show.php/KParts+Plugin?content=125066

Problem has been fixed upstream, which has been confirmed by original bug reporter.

I recommend to close this bug.