Bug 67555 - Konqueror crashes with SIGSEGV when opening file called "README.html"
Summary: Konqueror crashes with SIGSEGV when opening file called "README.html"
Status: RESOLVED DUPLICATE of bug 55090
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Mandrake RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-08 06:02 UTC by Parzival Herzog
Modified: 2003-11-08 12:17 UTC (History)
0 users

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 Parzival Herzog 2003-11-08 06:02:58 UTC
Version:           3.1.0 (using KDE 3.1.0)
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
OS:          Linux (i686) release 2.4.21-0.13mdk

1) Opening a file called "README.html" in the file manager by
double-clicking on it - nothing happens.
2) Opening the same file by using the "Konqueror" context menu item for that file, starts Konqueror, and it segfaults.
3) Typing "Konqueror file:README.html" causes a segfault
4) re-naming the same file "README-2.html", and the double clicking and context menu on this file work as expected.

Could this have anything to do with the file mime type being
seen as "text/x-readme"
whereas README-x.html is seen as "text/html" ?

(It is not a good idea to infer mime types from the basename of a file: that leads to "magic file names" like "con", "aux", "lpt" found in DOS, Windows)

In any case whatever the mime-type, Konqueror shouldn't Krash, right?


Here is the contents of README.html:
-----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>XPM README</TITLE>
</HEAD>

<body>
<h1 align="center">XPM README</h1>

<h2>Contents</h2>

<ol>
<li><a href="#sec1">What Is XPM?</a>
<li><a href="#sec2">Where to get XPM?</a>
<li><a href="#sec3">Documentation</a>
<li><a href="#sec4">Installation</a>
<ol>
<li><a href="#sec4.1">With imake</a>
<li><a href="#sec4.2">Without imake</a>
</ol>
<li><a href="#sec5">SXPM</a>
<li><a href="#sec6">CXPM</a>
<li><a href="#sec7">Other Tools</a>
<li><a href="#sec8">Discussion</a>
<li><a href="#copy">Copyright</a>
</ol>
</body>
</html>

-----------

Here is the backtrace:
(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)...[New Thread 16384 (LWP 19465)]

(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)...
0x40f11677 in waitpid () from /lib/i686/libpthread.so.0
#0  0x40f11677 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40637e7b in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  0x4107e3b8 in __libc_sigaction () from /lib/i686/libc.so.6
#3  0x4143d26c in KonqFrame::attach(KonqViewFactory const&) ()
   from /usr/lib/konqueror.so
#4  0x4142d224 in KonqView::switchView(KonqViewFactory&) ()
   from /usr/lib/konqueror.so
#5  0x4142ba57 in KonqView::KonqView(KonqViewFactory&, KonqFrame*, KonqMainWindow*, KSharedPtr<KService> const&, QValueList<KSharedPtr<KService> > const&, QValueList<KSharedPtr<KService> > const&, QString const&, bool) ()
   from /usr/lib/konqueror.so
#6  0x41435aba in KonqViewManager::setupView(KonqFrameContainerBase*, KonqViewFactory&, KSharedPtr<KService> const&, QValueList<KSharedPtr<KService> > const&, QValueList<KSharedPtr<KService> > const&, QString const&, bool, bool) ()
   from /usr/lib/konqueror.so
#7  0x41431258 in KonqViewManager::Initialize(QString const&, QString const&)
    () from /usr/lib/konqueror.so
#8  0x41409e0c in KonqMainWindow::openView(QString, KURL const&, KonqView*, KonqOpenURLRequest) () from /usr/lib/konqueror.so
#9  0x41408ad8 in KonqMainWindow::openURL(KonqView*, KURL const&, QString const&, KonqOpenURLRequest const&, bool) () from /usr/lib/konqueror.so
#10 0x4143669b in KonqViewManager::loadViewProfile(KConfig&, QString const&, KURL const&, KonqOpenURLRequest const&) () from /usr/lib/konqueror.so
#11 0x414362ad in KonqViewManager::loadViewProfile(QString const&, QString const&, KURL const&, KonqOpenURLRequest const&) () from /usr/lib/konqueror.so
#12 0x4143a371 in KonqMisc::createBrowserWindowFromProfile(QString const&, QString const&, KURL const&, KParts::URLArgs const&, bool) ()
   from /usr/lib/konqueror.so
#13 0x41402d60 in main () from /usr/lib/konqueror.so
#14 0x0804cc2d in strcpy ()
Comment 1 Stephan Kulow 2003-11-08 12:17:33 UTC
Please update to KDE 3.1.4

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