Bug 317786 - Displaying a BMP from Dolphin using gwenview
Summary: Displaying a BMP from Dolphin using gwenview
Status: RESOLVED DUPLICATE of bug 310798
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 4.10.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 327041 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-03 15:18 UTC by Raj Upadhyaya
Modified: 2013-12-29 18:07 UTC (History)
3 users (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 Raj Upadhyaya 2013-04-03 15:18:03 UTC
Application: gwenview (4.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.9.0-rc5 i686
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
I opened a BMP uing gwenview from a dolphin window.

I double clicked on the BMP hoping to view it from gwenview.

-- Backtrace:
Application: Gwenview (gwenview), signal: Floating point exception
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7761780 (LWP 10244))]

Thread 3 (Thread 0xb4ff0b40 (LWP 10245)):
#0  0xb77a0424 in __kernel_vsyscall ()
#1  0x418a9bab in poll () from /lib/libc.so.6
#2  0x41b0132c in g_poll () from /lib/libglib-2.0.so.0
#3  0x41af2480 in g_main_context_iterate.isra.22 () from /lib/libglib-2.0.so.0
#4  0x41af25e2 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x42a03b1f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6  0x429cfb5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0x429cfe59 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0x428b80dc in QThread::exec() () from /lib/libQtCore.so.4
#9  0x429adb2e in QInotifyFileSystemWatcherEngine::run() () from /lib/libQtCore.so.4
#10 0x428bb56a in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4
#11 0x419bfaff in start_thread () from /lib/libpthread.so.0
#12 0x418b40be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb44ffb40 (LWP 10246)):
[KCrash Handler]
#6  0x441e55b2 in read_dib_body(QDataStream&, BMP_INFOHDR const&, int, int, QImage&) () from /lib/libQtGui.so.4
#7  0x441e65f2 in QBmpHandler::read(QImage*) () from /lib/libQtGui.so.4
#8  0x441b8833 in QImageReader::read(QImage*) () from /lib/libQtGui.so.4
#9  0x420c6bb3 in Gwenview::LoadingDocumentImplPrivate::loadImageData() () from /lib/libgwenviewlib.so.4
#10 0x420c5741 in QtConcurrent::VoidStoredMemberFunctionPointerCall0<void, Gwenview::LoadingDocumentImplPrivate>::runFunctor() () from /lib/libgwenviewlib.so.4
#11 0x420bc04f in QtConcurrent::RunFunctionTask<void>::run() () from /lib/libgwenviewlib.so.4
#12 0x428ae06c in QThreadPoolThread::run() () from /lib/libQtCore.so.4
#13 0x428bb56a in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4
#14 0x419bfaff in start_thread () from /lib/libpthread.so.0
#15 0x418b40be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7761780 (LWP 10244)):
#0  0xb77a0424 in __kernel_vsyscall ()
#1  0x419c318c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x428bbb68 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQtCore.so.4
#3  0x428ad883 in QThreadPoolPrivate::waitForDone(int) () from /lib/libQtCore.so.4
#4  0x428af34d in QThreadPool::~QThreadPool() () from /lib/libQtCore.so.4
#5  0x428af3b3 in QThreadPool::~QThreadPool() () from /lib/libQtCore.so.4
#6  0x428af3e9 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter() () from /lib/libQtCore.so.4
#7  0x417f0f01 in __run_exit_handlers () from /lib/libc.so.6
#8  0x417f0f8d in exit () from /lib/libc.so.6
#9  0x42724f93 in _IceDefaultIOErrorHandler () from /lib/libICE.so.6
#10 0x4272bec3 in _IceWrite () from /lib/libICE.so.6
#11 0x4272bf03 in IceFlush () from /lib/libICE.so.6
#12 0x426b1181 in SmcSetProperties () from /lib/libSM.so.6
#13 0x44155a5e in sm_setProperty(char const*, char const*, int, SmPropValue*) [clone .part.3] () from /lib/libQtGui.so.4
#14 0x44166228 in sm_setProperty(QString const&, QStringList const&) () from /lib/libQtGui.so.4
#15 0x441669b3 in sm_performSaveYourself(QSessionManagerPrivate*) () from /lib/libQtGui.so.4
#16 0x44167089 in sm_saveYourselfCallback(_SmcConn*, void*, int, int, int, int) () from /lib/libQtGui.so.4
#17 0x426b3a03 in _SmcProcessMessage () from /lib/libSM.so.6
#18 0x42730111 in IceProcessMessages () from /lib/libICE.so.6
#19 0x44158356 in QSmSocketReceiver::socketActivated(int) () from /lib/libQtGui.so.4
#20 0x429e828e in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#21 0x42a3b356 in QSocketNotifier::activated(int) () from /lib/libQtCore.so.4
#22 0x429f0557 in QSocketNotifier::event(QEvent*) () from /lib/libQtCore.so.4
#23 0x440e006c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#24 0x440e4b2f in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#25 0x434c95c2 in KApplication::notify(QObject*, QEvent*) () from /lib/libkdeui.so.5
#26 0x429d10be in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#27 0x42a03298 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/libQtCore.so.4
#28 0x41af215b in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x41af2500 in g_main_context_iterate.isra.22 () from /lib/libglib-2.0.so.0
#30 0x41af25e2 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x42a03b02 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#32 0x4419270b in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtGui.so.4
#33 0x429cfb5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#34 0x429cfe59 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#35 0x429d539b in QCoreApplication::exec() () from /lib/libQtCore.so.4
#36 0x440ddee5 in QApplication::exec() () from /lib/libQtGui.so.4
#37 0x08066de0 in main ()

Possible duplicates by query: bug 310798.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-04-03 15:42:48 UTC
Looks like a Qt issue.

Is this crash reproducible ? Could you upload that problematic BMP file here if possible ?
Comment 2 Raj Upadhyaya 2013-04-04 00:58:22 UTC
Jekyll,
I tried to use bugs.kde.org to upload a sample blow up BMP file, but it
didn't work.  Here is a file as an attachment to this email.  Hopefully
you will get it.

- Raj Upadhyaya
On Wed, 2013-04-03 at 15:42 +0000, Jekyll Wu wrote:
> Comment # 1 on bug 317786 from Jekyll Wu 
> Looks like a Qt issue.
> 
> Is this crash reproducible ? Could you upload that problematic BMP file here if
> possible ?
> 
> ______________________________________________________________________
> You are receiving this mail because: 
>       * You reported the bug.
Comment 3 Raj Upadhyaya 2013-04-04 02:17:55 UTC
I tried to upload it to bugs.kde.org and email it, but it was too big.

I uploaded it to google drive and it is at.


https://docs.google.com/file/d/0B0cpFT3mM4WDN25IOXdaVk9DUzg/edit?usp=sharing

Please let me know if you can read it.


Regards,

Raj Upadhyaya

我试图把它上传到bugs.kde.org并通过电子邮件发送,但它太大了。

我上传到谷歌驱动器,它是在。


https://docs.google.com/file/d/0B0cpFT3mM4WDN25IOXdaVk9DUzg/edit?usp=sharing

请让我知道,如果你可以阅读它。


的问候,

Raj Upadhyaya

On Wed, 2013-04-03 at 15:42 +0000, Jekyll Wu wrote:
> Comment # 1 on bug 317786 from Jekyll Wu 
> Looks like a Qt issue.
> 
> Is this crash reproducible ? Could you upload that problematic BMP file here if
> possible ?
> 
> ______________________________________________________________________
> You are receiving this mail because: 
>       * You reported the bug.
Comment 4 Raj Upadhyaya 2013-04-12 18:23:53 UTC
Any status on this?
- Raj Upadhyaya

在任何状态?

- Raj Upadhyaya
Comment 5 Benni Hill 2013-04-17 15:56:13 UTC
Could you upload it somewhere else so that everyone can access it?

Thanks.
Comment 6 Raj Upadhyaya 2013-04-18 00:24:58 UTC
I uploaded it to dropbox.  It is at
https://www.dropbox.com/s/xt3r3io3iqutoib/Raj%20Icon.bmp

If you have a problem viewing/reading it, please let me know.

- Raj
Comment 7 Benni Hill 2013-04-21 11:36:47 UTC
Thanks.
This is a Qt bug as the imagecomposition example from qtdemo also crashes.

#0  0x00007ffff73e8288 in read_dib_body (s=..., bi=..., offset=66, startpos=0, image=...) at image/qbmphandler.cpp:322
#1  0x00007ffff73e977c in QBmpHandler::read (this=0xd10750, image=0x7fffffffc520) at image/qbmphandler.cpp:770
#2  0x00007ffff73c0f0d in QImageReader::read (this=this@entry=0x7fffffffc580, image=image@entry=0x7fffffffc520) at image/qimagereader.cpp:1205
#3  0x00007ffff73c145f in QImageReader::read (this=this@entry=0x7fffffffc580) at image/qimagereader.cpp:1155
#4  0x00007ffff73b59d1 in QImage::load (this=0x7fffffffdcd0, fileName=..., format=<optimized out>) at image/qimage.cpp:5094

This will hopefully be fixed in Qt 4.8.5:
https://bugreports.qt-project.org/browse/QTBUG-29194
Comment 8 Christoph Feck 2013-11-02 16:46:26 UTC
*** Bug 327041 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2013-12-29 18:07:10 UTC

*** This bug has been marked as a duplicate of bug 310798 ***