Bug 124407 - Konqueror crashes when opening this image: http://upload.wikimedia.org/wikipedia/commons/2/29/AbortionLawsMap.png
Summary: Konqueror crashes when opening this image: http://upload.wikimedia.org/wikipe...
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 10:37 UTC by Joseph Landry
Modified: 2008-05-05 02:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Landry 2006-03-28 10:37:33 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Unlisted Binary Package
OS:                Linux

Konqueror crashes when opening the image, AbortionLawsMap.png, located at http://upload.wikimedia.org/wikipedia/commons/2/29/AbortionLawsMap.png.  Opening a local copy of this image also causes Konqueror to crash.  The preview page at Wikipedia (http://en.wikipedia.org/wiki/Image:AbortionLawsMap.png) or other png images don't cause the same problem.  The image can also be opened in Kuickshow, Kview, or KolourPaint without any problem.

I have installed the KDE binaries for Fedora Core 4 packaged by http://kde-redhat.sourceforge.net/.

About Konqueror window: Konqueror 3.5.1-4.2.fc4.kde (Using KDE 3.5.1-2.3.fc4.kde)

Backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`shared object read from target memory' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208940064 (LWP 14772)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x00b2a53d in png_init_read_transformations () from /usr/lib/libpng12.so.0
#7  0x00b1ea73 in png_read_start_row () from /usr/lib/libpng12.so.0
#8  0x00b25474 in png_read_update_info () from /usr/lib/libpng12.so.0
#9  0x0363d285 in QPNGFormat::end () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#10 0x0363d71e in QPNGFormat::end () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#11 0x033597d5 in QImageIO::read () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x04d151f7 in khtml_jpeg_source_mgr::khtml_jpeg_source_mgr$base ()
   from /usr/lib/libkhtml.so.4
#13 0x04d183c3 in khtml_jpeg_source_mgr::khtml_jpeg_source_mgr$base ()
   from /usr/lib/libkhtml.so.4
#14 0x04d1855e in khtml_jpeg_source_mgr::khtml_jpeg_source_mgr$base ()
   from /usr/lib/libkhtml.so.4
#15 0x03388af4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x0416226c in KIO::Job::result () from /usr/lib/libkio.so.4
#17 0x041b34e2 in KIO::Job::emitResult () from /usr/lib/libkio.so.4
#18 0x041b3626 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.4
#19 0x041b3d29 in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.4
#20 0x041b526f in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#21 0x03388af4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x03388faa in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x0415d6a0 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.4
#24 0x041cd101 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#25 0x041742f9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#26 0x04178b00 in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#27 0x04178c95 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#28 0x03388af4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x0338911a in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#30 0x037023d6 in QSocketNotifier::activated ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#31 0x033a8415 in QSocketNotifier::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#32 0x03323b6d in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x033244bc in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x03ad2e8d in KApplication::notify () from /usr/lib/libkdecore.so.4
#35 0x033175f9 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#36 0x032cc7da in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#37 0x0333c1d2 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x0333c0f6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#39 0x03323539 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#40 0x002b1821 in kdemain () from /usr/lib/libkdeinit_konqueror.so
#41 0x00b83d5f in __libc_start_main () from /lib/libc.so.6
#42 0x080483e5 in ?? ()
Comment 1 Tommi Tervo 2006-03-28 11:23:41 UTC
libpng warning: Setting negative gamma to zero
libpng warning: Setting gamma=0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1235142976 (LWP 19093)]
0xb6b0f0a9 in png_init_read_transformations () from /usr/lib/libpng12.so.0
(gdb) bt
#0  0xb6b0f0a9 in png_init_read_transformations () from /usr/lib/libpng12.so.0
#1  0xb6b03d6c in png_read_start_row () from /usr/lib/libpng12.so.0
#2  0xb6b09835 in png_read_update_info () from /usr/lib/libpng12.so.0
#3  0xb70d6f0f in my_jpeg_destination_mgr::my_jpeg_destination_mgr ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#4  0xb70d742b in my_jpeg_destination_mgr::my_jpeg_destination_mgr ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#5  0xb6de687d in QImageIO::read () from /usr/share/qt3/lib/libqt-mt.so.3
#6  0xb6093e92 in khtml::CachedImage::data (this=0x8345b20,
    _buffer=@0x846507c, eof=true) at loader.cpp:795
#7  0xb609556e in khtml::Loader::slotFinished (this=0x8326528, job=0x84656a8)
    at loader.cpp:1096
#8  0xb60957ad in khtml::Loader::qt_invoke (this=0x8326528, _id=2,
Comment 2 Philip Rodrigues 2006-03-28 13:57:31 UTC
Same crash here. If I set the gamma to a non-negative value, it opens in konq. The file (with negative gamma) opens fine in kuickshow and kolourpaint.
Comment 3 Allan Sandfeld 2006-06-19 23:33:24 UTC
It doesn't crash here.. Bug in libpng/Qt?
Comment 4 Philip Rodrigues 2006-06-21 12:09:32 UTC
Doesn't crash here any more either. SVN r548320
Comment 5 James Spahlinger 2008-04-19 20:44:27 UTC
No crash that I can detect either. I recommend closing this as it appears to work in 4.0.3, and by a comment above, I presume at least 3.5.9

Using Gentoo Linux ~x86 (testing in gentoo lingo). KDE and the majority of packages compiled using gcc 4.3.0.
Comment 6 FiNeX 2008-05-05 02:13:08 UTC
Doesn't crash to me too. Tested 3.5.9 and 4.1 (trunk r802881).