[KDE4] hardy, khtml/kdecore, konqueror crashed during regular use

Bug #200379 reported by Alexander Rødseth
16
Affects Status Importance Assigned to Milestone
KDE Base
Invalid
High
kde4libs (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: konqueror-kde4

--- How to reproduce ---
I'm unable to reproduce, since I don't know how this happened. But, I have a nice backtrace.

--- What happened ---
I was using Konqueror. I had three or four tabs open. I had just downloaded a file, but after the dialog for file-selection popped up, I think I closed a tab. I'm not 100% sure when this crash started, but I didn't do anything strange, as far as I can tell.

--- Expected behavior ---
Not to crash...

--- /etc/lsb-release ---
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

--- Backtrace ---
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(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 0xb6430720 (LWP 12712)]
[New Thread 0xafe08b90 (LWP 3293)]
[KCrash handler]
#6 0xb7f36410 in __kernel_vsyscall ()
#7 0xb7d23f35 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb7d258b1 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb7d1d08e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb4548ef2 in KHTMLGlobal::finalCheck ()
    at /build/buildd/kde4libs-4.0.2/khtml/khtml_global.cpp:244
#11 0xb4ca505c in ~KHTMLFactory (this=0x82fc060)
    at /build/buildd/kde4libs-4.0.2/khtml/khtml_factory.cpp:35
#12 0xb7c478d4 in QObjectCleanupHandler::clear () from /usr/lib/libQtCore.so.4
#13 0xb7c4796d in QObjectCleanupHandler::~QObjectCleanupHandler ()
   from /usr/lib/libQtCore.so.4
#14 0xb7b03e7d in destroy ()
    at /build/buildd/kde4libs-4.0.2/kdecore/util/kpluginfactory.cpp:29
#15 0xb79f993b in ~KCleanUpGlobalStatic (this=0xb7b3a6b4)
    at /build/buildd/kde4libs-4.0.2/kdecore/kernel/kglobal.h:65
#16 0xb7d26f34 in exit () from /lib/tls/i686/cmov/libc.so.6
#17 0xb6ceb5eb in ?? () from /usr/lib/libQtGui.so.4
#18 0x00000001 in ?? ()
#19 0x0805d4e0 in ?? ()
#20 0x00000000 in ?? ()
#0 0xb7f36410 in __kernel_vsyscall ()

--- Stdout/stderr ---
[...]
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
QEventDispatcherUNIX::unregisterTimer: invalid argument
konqueror: Fatal IO error: client killed
konqueror(12712) Sonnet::Loader::~Loader: Removing loader : Sonnet::Loader(0x86e4760)

** (process:12712): WARNING **: 1 dictionaries weren't free'd.

konqueror(12712) NSPluginLoader::release: NSPluginLoader::release -> -10
konqueror: /build/buildd/kde4libs-4.0.2/khtml/khtml_global.cpp:244: static void KHTMLGlobal::finalCheck(): Assertion `!s_refcnt' failed.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 12712
sock_file=/home/alexander/.kde4/socket-zap/kdeinit4__0

[1] + exit 253 /usr/lib/kde4/bin/konqueror

--- apt-cache policy konqueror-kde4 ---
konqueror-kde4:
  Installed: 4:4.0.2-0ubuntu1
  Candidate: 4:4.0.2-0ubuntu1
  Version table:
 *** 4:4.0.2-0ubuntu1 0
        500 http://no.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Harald Sitter (apachelogger) wrote :

Does this still appear on KDE 4.0.3?

Changed in kdebase-kde4:
status: New → Incomplete
Revision history for this message
Mikael Gerdin (mgerdin) wrote :

I experience a similar crash when closing a konqueror window (running version 4.0.3). The cause of the SIGABRT is a failing assertion:
"konqueror: /build/buildd/kde4libs-4.0.3/khtml/khtml_global.cpp:244: static void KHTMLGlobal::finalCheck(): Assertion `!s_refcnt' failed."

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could somebody re-test with KDE 4.1 RC1 or greater? (4.0.98)

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in kdebase-kde4:
status: Incomplete → Invalid
Revision history for this message
Mikael Gerdin (mgerdin) wrote :

I've experienced crashes on this assertion several times with Konqueror 4.1 in Hardy using the kubuntu-members-kde4 ppa. It happens irregularly when i close Konqueror (which is not so strange as it's KHTMLFactory's destructor that calls KHTMLGlobal::finalCheck() which contains the assertion.)
Right now I can't reproduce it (obviously ;P) but I know that it still happens with 4.1.

Changed in kdebase-kde4:
status: Invalid → New
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thanks for re-testing.
This bug needs to be reported upstream at http://bugs.kde.org if it hasn't been already.

Changed in kdebase-kde4:
status: New → Confirmed
Revision history for this message
Mikael Gerdin (mgerdin) wrote :

There seems to be several upstream KDE bugs tracking similar issues in KHTML:
https://bugs.kde.org/show_bug.cgi?id=164126
https://bugs.kde.org/show_bug.cgi?id=156172
There also seems to exist a possible fix at http://websvn.kde.org/?view=rev&revision=843323
But I haven't tested it. Unfortunately I don't have the time to try to apply it and test it but if someone can upload a version with this patch applied in ther ppa I can at least help test it.

Changed in kdebase:
status: New → Unknown
Changed in kdebase:
status: Unknown → Confirmed
Changed in kdebase:
importance: Undecided → Low
Changed in kdebase:
status: Confirmed → Triaged
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

KHTML issue -> affects kde4libs

Revision history for this message
Juan Romero Jr (juanjr) wrote :

I'm having a similiar problem with Konqueror crashing. I've never filed a bug report before, so I'm sorry if I'm not following proper format, but I didn't want to generate a duplicate. I'm using Kubuntu 8.04.2 (KDE 4.1). Konqueror crashes for me when I do the following:

- Open Konqueror with the Introduction page,
- When I click on any of the icons (Home, Network, Trash) Konqueror crashes. I've attached the backtrace.

Changed in kdebase:
status: Confirmed → Invalid
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Should be fixed in KDE 4.3.

Changed in kde4libs (Ubuntu):
status: Triaged → Fix Released
Changed in kdebase:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.