Bug 20269 - KViewShell segfaults when trying to view a fax
Summary: KViewShell segfaults when trying to view a fax
Status: RESOLVED WORKSFORME
Alias: None
Product: kfax
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian testing Other
: NOR crash
Target Milestone: ---
Assignee: Bernd Wuebben
URL:
Keywords:
: 13671 24134 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-02-11 17:33 UTC by ncv
Modified: 2024-01-02 20:39 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ncv 2001-02-11 17:31:20 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: KViewShell
Version: 2.1 Beta 2
Severity: crash
Installed from: post Beta2 debs for Debian potato from kde.tdyc.com

When trying to view a TIF fax file either received by 
HylaFax or PMFax (OS/2) KViewShell segfaults with the 
following backtrace:

0x40c11d29 in wait4 () from/lib/libc.so.6
#0  0x40c11d29 in wait4 () from /lib/libc.so.6
#1  0x40c6ccd8 in __check_rhosts_file () from 
/lib/libc.so.6
#2  0x404ceb80 in KCrash::defaultCrashHandler () from 
/usr/lib/libkdecore.so.3

#3  0x40bb3868 in sigaction () from /lib/libc.so.6
#4  0x40d13663 in _TIFFprintAsciiTag () from 
/usr/lib/libtiff.so.3
#5  0x40d136fb in TIFFReadScanline () from 
/usr/lib/libtiff.so.3
#6  0x40d8706e in kimgio_g3_read () from 
/usr/lib/kde2/kimg_g3.so
#7  0x4014dea8 in KImageIOFormat::callLibFunc () from 
/usr/lib/libksycoca.so.3

#8  0x4014f66b in KImageIOFactory::readImage () from 
/usr/lib/libksycoca.so.3
#9  0x406f7fb9 in QImageIO::read () from 
/usr/lib/libqt.so.2
#10 0x406f6aef in QImage::load () from /usr/lib/libqt.so.2
#11 0x40cc8fcc in KFaxPage::load () from 
/usr/lib/libkfax.so
#12 0x40cc8d79 in KFaxPage::scale () from 
/usr/lib/libkfax.so
#13 0x40cc81a7 in KFaxMultiPage::gotoPage () from 
/usr/lib/libkfax.so
#14 0x40cc7ce4 in KFaxMultiPage::openTIFF () from 
/usr/lib/libkfax.so
#15 0x40cc78f6 in KFaxMultiPage::openFile () from 
/usr/lib/libkfax.so

#16 0x400435f7 in KParts::ReadOnlyPart::openURL () from 
/usr/lib/libkparts.so.1

#17 0x40026a03 in KViewPart::openURL () from 
/usr/lib/libkviewerpart.so
#18 0x804eb79 in KConfigBase::readNumEntry ()
#19 0x804ec7d in KConfigBase::readNumEntry ()
#20 0x40724a8a in QObject::activate_signal () from 
/usr/lib/libqt.so.2
#21 0x4034a791 in KAction::activated () from 
/usr/lib/libkdeui.so.3
#22 0x4033d0de in KAction::slotActivated () from 
/usr/lib/libkdeui.so.3
#23 0x40724d4e in QObject::activate_signal () from 
/usr/lib/libqt.so.2
#24 0x40752372 in QSignal::activate () from 
/usr/lib/libqt.so.2
#25 0x407e6a2c in QPopupMenu::mouseReleaseEvent () from 
/usr/lib/libqt.so.2
#26 0x40766933 in QWidget::event () from 
/usr/lib/libqt.so.2
#27 0x406d608b in QApplication::notify () from 
/usr/lib/libqt.so.2
#28 0x4047c974 in KApplication::notify () from 
/usr/lib/libkdecore.so.3
#29 0x406a9c09 in QETWidget::translateMouseEvent () from 
/usr/lib/libqt.so.2
#30 0x406a776f in QApplication::x11ProcessEvent () from 
/usr/lib/libqt.so.2
#31 0x406a68ca in QApplication::processNextEvent () from 
/usr/lib/libqt.so.2
#32 0x406d7d40 in QApplication::enter_loop () from 
/usr/lib/libqt.so.2
#33 0x406a6847 in QApplication::exec () from 
/usr/lib/libqt.so.2
#34 0x804db84 in KConfigBase::readNumEntry ()
#35 0x40bada52 in __libc_start_main () from /lib/libc.so.6

Haven't found any fax that would display.


(submitted via bugs.kde.org)
Comment 1 Wolfgang Rohdewald 2001-07-12 12:04:47 UTC
What is the status of this bug?

I am using current cvs sources.
I just installed libtiff 3.5.6 did not help.
It also happens with faxes mailed from web.de

H/home/wr$ kfax fax.tif
kdecore (KIconLoader): Theme tree: (KDE-HiColor)
kdecore (KLibLoader): library libkviewerpart.la not found under 'module' but under 'lib'
kdecore (KLibLoader): library libkfax.la not found under 'module' but under 'lib'
QObject::connect: No such signal KFaxMultiPage::pageInfo(intint)
QObject::connect:  (sender name:   'kfax')
QObject::connect:  (receiver name: 'kviewerpart')
kviewshell: Paper: /opt/kde2/share/apps/kviewshell/paper-formats
kparts: MainWindow::createGUI for kviewerpart
kdecore (KIconLoader): Theme tree: (KDE-HiColor)
QGList::locate: Index 0 out of range
kviewshell: KImageIO: readImage() format = G3
KCrash: crashing.... crashRecursionCounter = 2

Two backtraces:

0x40ed91d9 in wait4 () from /lib/libc.so.6
#0  0x40ed91d9 in wait4 () from /lib/libc.so.6
#1  0x40f48f2c in __check_rhosts_file () from /lib/libc.so.6
#2  0x4062bdc8 in KCrash::defaultCrashHandler (signal=11) at kcrash.cpp:197
#3  0x40e4db68 in killpg () from /lib/libc.so.6
#4  0x4113267a in _TIFFprintAsciiTag () from /usr/lib/libtiff.so.3
#5  0x4113271a in TIFFReadScanline () from /usr/lib/libtiff.so.3
#6  0x4110b045 in kimgio_g3_read (io=0xbfffe730)
    at /u2/src/cvs/kde/qt-copy/include/qimage.h:367
#7  0x401abccd in KImageIOFormat::callLibFunc (this=0x80c35d0 read=true 
    iio=0xbfffe730) at kimageio.cpp:138
#8  0x401adbef in KImageIOFactory::readImage (iio=0xbfffe730)
    at kimageio.cpp:251
#9  0x408eece9 in QImageIO::read (this=0xbfffe730) at kernel/qimage.cpp:3623
#10 0x408ed657 in QImage::load (this=0x811bc58 fileName=@0x811bc20 
    format=0x811bf68 "G3") at kernel/qimage.cpp:2837
#11 0x4104deda in KFaxPage::load (this=0x811bc20) at kfax_multipage.cpp:403
#12 0x4104d39b in KFaxPage::scale (this=0x811bc20 w=672 h=825 anti=true)
    at kfax_multipage.cpp:365
#13 0x4104c7ff in KFaxMultiPage::gotoPage (this=0x80bd328 page=0)
    at kfax_multipage.cpp:209
#14 0x4104c23c in KFaxMultiPage::openTIFF (this=0x80bd328 tif=0x811b880)
    at kfax_multipage.cpp:162
#15 0x4104be71 in KFaxMultiPage::openFile (this=0x80bd328)
    at kfax_multipage.cpp:112
#16 0x4004867a in KParts::ReadOnlyPart::openURL (this=0x80bd328 
    url=@0xbffff360) at part.cpp:293
#17 0x4002ae4b in KViewPart::openFile (this=0x80b74f8) at kviewpart.cpp:380
#18 0x4004867a in KParts::ReadOnlyPart::openURL (this=0x80b74f8 
    url=@0xbffff520) at part.cpp:293
#19 0x0804efd2 in KViewShell::openURL (this=0x80ae250 url=@0xbffff520)
    at kviewshell.cpp:136
#20 0x0804cfb5 in main (argc=3 argv=0xbffff6f4) at main.cpp:65
#21 0x40e3d0de in __libc_start_main () from /lib/libc.so.6

(gdb) bt
#0  0x41132aa7 in TIFFReadRawStrip () from /usr/lib/libtiff.so.3
#1  0x4113267a in _TIFFprintAsciiTag () from /usr/lib/libtiff.so.3
#2  0x4113271a in TIFFReadScanline () from /usr/lib/libtiff.so.3
#3  0x4110b045 in kimgio_g3_read (io=0xbfffe780)
    at /u2/src/cvs/kde/qt-copy/include/qimage.h:367
#4  0x401abccd in KImageIOFormat::callLibFunc (this=0x80c3470 read=true
    iio=0xbfffe780) at kimageio.cpp:138
#5  0x401adbef in KImageIOFactory::readImage (iio=0xbfffe780) at kimageio.cpp:251
#6  0x408eece9 in QImageIO::read (this=0xbfffe780) at kernel/qimage.cpp:3623
#7  0x408ed657 in QImage::load (this=0x811b768 fileName=@0x811b730
    format=0x811b418 "G3") at kernel/qimage.cpp:2837
#8  0x4104deda in KFaxPage::load (this=0x811b730) at kfax_multipage.cpp:403
#9  0x4104d39b in KFaxPage::scale (this=0x811b730 w=672 h=825 anti=true)
    at kfax_multipage.cpp:365
#10 0x4104c7ff in KFaxMultiPage::gotoPage (this=0x80bd1c8 page=0)
    at kfax_multipage.cpp:209
#11 0x4104c23c in KFaxMultiPage::openTIFF (this=0x80bd1c8 tif=0x811b4d8)
    at kfax_multipage.cpp:162
#12 0x4104be71 in KFaxMultiPage::openFile (this=0x80bd1c8) at kfax_multipage.cpp:112
#13 0x4004867a in KParts::ReadOnlyPart::openURL (this=0x80bd1c8 url=@0xbffff3b0)
    at part.cpp:293
#14 0x4002ae4b in KViewPart::openFile (this=0x80b7398) at kviewpart.cpp:380
#15 0x4004867a in KParts::ReadOnlyPart::openURL (this=0x80b7398 url=@0xbffff570)
    at part.cpp:293
#16 0x0804efd2 in KViewShell::openURL (this=0x80ae0f0 url=@0xbffff570)
    at kviewshell.cpp:136
#17 0x0804cfb5 in main (argc=3 argv=0xbffff744) at main.cpp:65
#18 0x40e3d0de in __libc_start_main () from /lib/libc.so.6
Comment 2 Dirk Mueller 2002-09-26 02:13:42 UTC
*** Bug 24134 has been marked as a duplicate of this bug. ***
Comment 3 Dirk Mueller 2002-09-26 02:15:20 UTC
*** Bug 13671 has been marked as a duplicate of this bug. ***
Comment 4 Waldo Bastian 2004-01-22 22:30:19 UTC
Crash happens in libtiff, unlikely to make any progress on this without any of the actual fax files. Closing bugreport, don't hesitate to file a new bugreport if it still crashes.