Bug 202648 - Konqueror 4.3.0 acid3 test crash
Summary: Konqueror 4.3.0 acid3 test crash
Status: RESOLVED DUPLICATE of bug 271476
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 209585 230649 274510 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-05 16:38 UTC by Mathieu Havel
Modified: 2011-07-03 17:42 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.25 KB, text/plain)
2010-04-06 17:04 UTC, Lorenzo Capretta
Details
New crash information added by DrKonqi (5.41 KB, text/plain)
2011-03-20 20:16 UTC, Wian Potgieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Havel 2009-08-05 16:38:56 UTC
Application that crashed: konqueror
Version of the application: 4.3.00 (KDE 4.3.0)
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
GNU/Linux distribution : Ubuntu 9.04 Jaunty with KDE PPA activated
KDE : 4.3.0

To reproduce : go to acid3.acidtests.org

Symptoms : Sometimes, the webpage tell you you have to enable scripting languages. I found it is random on my system... And some other times, it starts the test and crash Konqueror (crash ~ 20-30/100).

 -- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 0 (LWP 5557)]

Thread 3 (Thread 0x7f9d54ec9950 (LWP 14858)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f9d68e33cf7 in QWaitCondition::wait (this=0x164de98, mutex=0x164de90, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f9d68e29929 in QThreadPoolThread::run (this=0x126a750) at concurrent/qthreadpool.cpp:140
#3  0x00007f9d68e32d35 in QThreadPrivate::start (arg=0x126a750) at thread/qthread_unix.cpp:188
#4  0x00007f9d656053ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f9d66868fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9d55794950 (LWP 14865)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f9d68e33cf7 in QWaitCondition::wait (this=0x164de98, mutex=0x164de90, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f9d68e29929 in QThreadPoolThread::run (this=0x123e720) at concurrent/qthreadpool.cpp:140
#3  0x00007f9d68e32d35 in QThreadPrivate::start (arg=0x123e720) at thread/qthread_unix.cpp:188
#4  0x00007f9d656053ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f9d66868fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9d6b92c750 (LWP 5557)):
[KCrash Handler]
#5  QColormap (this=0x7fff7396cd50, colormap=@0xe) at painting/qcolormap_x11.cpp:607
#6  0x00007f9d6855073f in QColormap::instance (screen=1) at painting/qcolormap_x11.cpp:596
#7  0x00007f9d5bf1b509 in colorMediaFeatureEval (value=0x2a5ba20, part=<value optimized out>, op=MinPrefix) at /build/buildd/kde4libs-4.3.0/khtml/css/css_mediaquery.cpp:397
#8  0x00007f9d5bf1f0c2 in khtml::MediaQueryEvaluator::eval (this=0x29aa2c0, expr=0x29b6ce0) at /build/buildd/kde4libs-4.3.0/khtml/css/css_mediaquery.cpp:774
#9  0x00007f9d5bf1f1f6 in khtml::MediaQueryEvaluator::eval (this=0x29aa2c0, mediaList=0x20541b0, styleSelector=0x27bdd40) at /build/buildd/kde4libs-4.3.0/khtml/css/css_mediaquery.cpp:296
#10 0x00007f9d5bef9077 in khtml::CSSStyleSelectorList::append (this=0x2a5bb70, sheet=0xf57fd0, medium=0x29aa2c0, styleSelector=0x27bdd40)
    at /build/buildd/kde4libs-4.3.0/khtml/css/cssstyleselector.cpp:2065
#11 0x00007f9d5bf08be0 in CSSStyleSelector (this=0x27bdd40, doc=0x22f1990, userStyleSheet=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 42114}, alloc = 0, size = 0, data = 0x7f9d6920f83a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1399}, alloc = 0, size = 0, data = 0x7f9d6920f85a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fff7396d040, static codecForCStrings = 0x0}, styleSheets=0x1ba2330, url=@0x22f1a40, _strictParsing=<value optimized out>)
    at /build/buildd/kde4libs-4.3.0/khtml/css/cssstyleselector.cpp:282
#12 0x00007f9d5bdb809c in DOM::DocumentImpl::rebuildStyleSelector (this=0x22f1990) at /build/buildd/kde4libs-4.3.0/khtml/xml/dom_docimpl.cpp:2393
#13 0x00007f9d5bdb8205 in DOM::DocumentImpl::updateStyleSelector (this=0x22f1990, shallow=14) at /build/buildd/kde4libs-4.3.0/khtml/xml/dom_docimpl.cpp:2212
#14 0x00007f9d5bdc2c6b in DOM::NodeBaseImpl::dispatchChildInsertedEvents (this=0x2e5ae90, child=0x1e5df70, exceptioncode=@0x7fff7396d2e8)
    at /build/buildd/kde4libs-4.3.0/khtml/xml/dom_nodeimpl.cpp:2013
#15 0x00007f9d5bdc3277 in DOM::NodeBaseImpl::appendChild (this=0x2e5ae90, newChild=0x1e5df70, exceptioncode=@0x7fff7396d2e8) at /build/buildd/kde4libs-4.3.0/khtml/xml/dom_nodeimpl.cpp:1730
#16 0x00007f9d5bf66662 in DOMNodeProtoFunc::callAsFunction (this=<value optimized out>, exec=0x7fff7396dd60, thisObj=<value optimized out>, args=@0x7fff7396dcb0)
    at /build/buildd/kde4libs-4.3.0/khtml/ecma/kjs_dom.cpp:641
#17 0x00007f9d5b8f87b9 in KJS::JSObject::call (this=0x7fff7396cd50, exec=0xc07, thisObj=0x8c0220, args=@0xc3954) at /build/buildd/kde4libs-4.3.0/kjs/object.cpp:69
#18 0x00007f9d5b913831 in KJS::Machine::runBlock (exec=0x7fff7396dd60, codeBlock=<value optimized out>, parentExec=0x7fff7396e850) at codes.def:1192
#19 0x00007f9d5b8f4d1f in KJS::FunctionImp::callAsFunction (this=0x7f9d6076e200, exec=0x7fff7396e850, thisObj=<value optimized out>, args=@0x7fff7396e7a0)
    at /build/buildd/kde4libs-4.3.0/kjs/function.cpp:144
#20 0x00007f9d5b8f87b9 in KJS::JSObject::call (this=0x7fff7396cd50, exec=0xc07, thisObj=0x8c0220, args=@0xc3954) at /build/buildd/kde4libs-4.3.0/kjs/object.cpp:69
#21 0x00007f9d5b913831 in KJS::Machine::runBlock (exec=0x7fff7396e850, codeBlock=<value optimized out>, parentExec=0x1f63900) at codes.def:1192
#22 0x00007f9d5b8f4d1f in KJS::FunctionImp::callAsFunction (this=0x7f9d6076cdc0, exec=0x1f63900, thisObj=<value optimized out>, args=@0x1733928) at /build/buildd/kde4libs-4.3.0/kjs/function.cpp:144
#23 0x00007f9d5b8f87b9 in KJS::JSObject::call (this=0x7fff7396cd50, exec=0xc07, thisObj=0x8c0220, args=@0xc3954) at /build/buildd/kde4libs-4.3.0/kjs/object.cpp:69
#24 0x00007f9d5bf96e32 in KJS::ScheduledAction::execute (this=0x1733920, window=0x7f9d60770080) at /build/buildd/kde4libs-4.3.0/khtml/ecma/kjs_window.cpp:2180
#25 0x00007f9d5bf988d6 in KJS::WindowQObject::timerEvent (this=0x1adf950) at /build/buildd/kde4libs-4.3.0/khtml/ecma/kjs_window.cpp:2356
#26 0x00007f9d68f2c263 in QObject::event (this=0x1adf950, e=0xe) at kernel/qobject.cpp:1075
#27 0x00007f9d68399f4d in QApplicationPrivate::notify_helper (this=0x8b70c0, receiver=0x1adf950, e=0x7fff7396f1b0) at kernel/qapplication.cpp:4056
#28 0x00007f9d683a218a in QApplication::notify (this=0x7fff7396f6e0, receiver=0x1adf950, e=0x7fff7396f1b0) at kernel/qapplication.cpp:4021
#29 0x00007f9d69d5e71b in KApplication::notify (this=0x7fff7396f6e0, receiver=0x1adf950, event=0x7fff7396f1b0) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#30 0x00007f9d68f1c6ac in QCoreApplication::notifyInternal (this=0x7fff7396f6e0, receiver=0x1adf950, event=0x7fff7396f1b0) at kernel/qcoreapplication.cpp:610
#31 0x00007f9d68f49516 in QTimerInfoList::activateTimers (this=0x8bae00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#32 0x00007f9d68f45b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#33 0x00007f9d6432320a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f9d643268e0 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007f9d64326a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f9d68f45a8f in QEventDispatcherGlib::processEvents (this=0x899b50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#37 0x00007f9d68432bdf in QGuiEventDispatcherGlib::processEvents (this=0x7fff7396cd50, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007f9d68f1af42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1939272736}) at kernel/qeventloop.cpp:149
#39 0x00007f9d68f1b314 in QEventLoop::exec (this=0x7fff7396f460, flags={i = 1939272816}) at kernel/qeventloop.cpp:201
#40 0x00007f9d68f1d5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x00007f9d6b521d02 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#42 0x00007f9d667a15a6 in __libc_start_main (main=0x400870 <_start+240>, argc=3, ubp_av=0x7fff73970228, init=0x4008a0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff73970218) at libc-start.c:220
#43 0x00000000004007a9 in _start ()

Reported using DrKonqi
Comment 1 BRULE Herman 2009-10-15 11:57:06 UTC
here too
Comment 2 Rolf Eike Beer 2010-03-07 10:49:06 UTC
*** Bug 209585 has been marked as a duplicate of this bug. ***
Comment 3 Frank Reininghaus 2010-03-14 10:24:44 UTC
*** Bug 230649 has been marked as a duplicate of this bug. ***
Comment 4 Lorenzo Capretta 2010-04-06 17:04:28 UTC
Created attachment 42547 [details]
New crash information added by DrKonqi

Sometimes Konq crashes doing the acid3 test (http://acid3.acidtests.org) 

btw score (when finished without crashing) is 89/100
Comment 5 Maksim Orlovich 2010-04-08 00:10:25 UTC
Qt bug: http://bugreports.qt.nokia.com/browse/QTBUG-9680

Anyway, I think we should workaround --- I don't think the grayscale case is all that likely, or at least to have a single grayscale screen with an another color.
Comment 6 Lars Winterfeld 2011-03-17 19:08:22 UTC
Konqueror still CRASHES in Version 4.4.5 (KDE 4.4.5) when opening http://acid3.acidtests.org/
Comment 7 Wian Potgieter 2011-03-20 20:16:09 UTC
Created attachment 58197 [details]
New crash information added by DrKonqi

konqueror (4.6.1 (4.6.1)) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2

- What I was doing when the application crashed:

I browsed to acid3.acidtests.org in Konqueror.  After the JS prompt it started to render the page at which point it crashed.

This does not happen on the primary screen as per  http://bugreports.qt.nokia.com/browse/QTBUG-9680.

-- Backtrace (Reduced):
#7  0xb5f22d79 in QColormap::QColormap(QColormap const&) () from /usr/lib/qt4/libQtGui.so.4
#8  0xb5f23278 in QColormap::instance(int) () from /usr/lib/qt4/libQtGui.so.4
#9  0xb0c7f12e in colorMediaFeatureEval(DOM::CSSValueImpl*, khtml::RenderStyle*, KHTMLPart*, MediaFeaturePrefix) () from /usr/lib/libkhtml.so.5
#10 0xb0c826df in khtml::MediaQueryEvaluator::eval(khtml::MediaQueryExp const*) const () from /usr/lib/libkhtml.so.5
#11 0xb0c827f9 in khtml::MediaQueryEvaluator::eval(DOM::MediaListImpl const*, khtml::CSSStyleSelector*) const () from /usr/lib/libkhtml.so.5
Comment 8 Tommi Tervo 2011-05-30 17:59:59 UTC
*** Bug 274510 has been marked as a duplicate of this bug. ***
Comment 9 Martin Koller 2011-07-03 17:34:43 UTC
I can reproduce a crash with 4.6.4 but with a different stack:

Application: Konqueror (konqueror), signal: Segmentation fault
[KCrash Handler]
#7  0xb15396c1 in KJS::changeDebugContext (d=KJS::Enter, exec=0xbff2ac6c, n=0x8ab8f58) at /usr/src/debug/kdelibs-4.6.4/kjs/bytecode/machine.cpp.in:201
#8  0xb153c2fa in KJS::Machine::runBlock (exec=0xbff2ac6c, codeBlock=..., parentExec=0xbff2b0bc) at codes.def:464
#9  0xb1520aa6 in KJS::FunctionImp::callAsFunction (this=0xae9e0dc0, exec=0xbff2b0bc, thisObj=0xae9f0000, args=...) at /usr/src/debug/kdelibs-4.6.4/kjs/function.cpp:172
#10 0xb1542ccb in call (exec=0xbff2b0bc, codeBlock=..., parentExec=0xbff2b50c) at /usr/src/debug/kdelibs-4.6.4/kjs/object.h:626
#11 KJS::Machine::runBlock (exec=0xbff2b0bc, codeBlock=..., parentExec=0xbff2b50c) at codes.def:1223
#12 0xb1520aa6 in KJS::FunctionImp::callAsFunction (this=0xae9e51c0, exec=0xbff2b50c, thisObj=0xae9f0040, args=...) at /usr/src/debug/kdelibs-4.6.4/kjs/function.cpp:172
#13 0xb1542ccb in call (exec=0xbff2b50c, codeBlock=..., parentExec=0xbff2b95c) at /usr/src/debug/kdelibs-4.6.4/kjs/object.h:626
#14 KJS::Machine::runBlock (exec=0xbff2b50c, codeBlock=..., parentExec=0xbff2b95c) at codes.def:1223
#15 0xb1520aa6 in KJS::FunctionImp::callAsFunction (this=0xae9e5380, exec=0xbff2b95c, thisObj=0xae9e5360, args=...) at /usr/src/debug/kdelibs-4.6.4/kjs/function.cpp:172
#16 0xb1542ccb in call (exec=0xbff2b95c, codeBlock=..., parentExec=0x8d109a8) at /usr/src/debug/kdelibs-4.6.4/kjs/object.h:626
#17 KJS::Machine::runBlock (exec=0xbff2b95c, codeBlock=..., parentExec=0x8d109a8) at codes.def:1223
#18 0xb1520aa6 in KJS::FunctionImp::callAsFunction (this=0xae9e55c0, exec=0x8d109a8, thisObj=0xae9e55c0, args=...) at /usr/src/debug/kdelibs-4.6.4/kjs/function.cpp:172
#19 0xb19e84f0 in call (this=0x8b783e0, n=..., bindingsException=@0xbff2bb58) at /usr/src/debug/kdelibs-4.6.4/kjs/object.h:626
#20 KJS::JSNodeFilter::acceptNode (this=0x8b783e0, n=..., bindingsException=@0xbff2bb58) at /usr/src/debug/kdelibs-4.6.4/khtml/ecma/kjs_traversal.cpp:352
#21 0xb17ed03d in DOM::NodeIteratorImpl::isAccepted (this=0x8a98a28, n=0x8a1d390, propagatedExceptionObject=@0xbff2bb58) at /usr/src/debug/kdelibs-4.6.4/khtml/xml/dom2_traversalimpl.cpp:222
#22 0xb17ee957 in DOM::NodeIteratorImpl::nextNode (this=0x8a98a28, exceptioncode=@0xbff2bb60, propagatedExceptionObject=@0xbff2bb58)
    at /usr/src/debug/kdelibs-4.6.4/khtml/xml/dom2_traversalimpl.cpp:98
#23 0xb19e8ab4 in DOMNodeIteratorProtoFunc::callAsFunction (this=0xae9e0dc0, exec=0xbff2bf0c, thisObj=0xbff2bb64) at /usr/src/debug/kdelibs-4.6.4/khtml/ecma/kjs_traversal.cpp:111
#24 0xb1542ccb in call (exec=0xbff2bf0c, codeBlock=..., parentExec=0xbff2c35c) at /usr/src/debug/kdelibs-4.6.4/kjs/object.h:626
#25 KJS::Machine::runBlock (exec=0xbff2bf0c, codeBlock=..., parentExec=0xbff2c35c) at codes.def:1223
#26 0xb1520aa6 in KJS::FunctionImp::callAsFunction (this=0xae9e1020, exec=0xbff2c35c, thisObj=0xae9e0f80, args=...) at /usr/src/debug/kdelibs-4.6.4/kjs/function.cpp:172
#27 0xb1542ccb in call (exec=0xbff2c35c, codeBlock=..., parentExec=0x8ab8670) at /usr/src/debug/kdelibs-4.6.4/kjs/object.h:626
#28 KJS::Machine::runBlock (exec=0xbff2c35c, codeBlock=..., parentExec=0x8ab8670) at codes.def:1223
#29 0xb1520aa6 in KJS::FunctionImp::callAsFunction (this=0xae9e0ec0, exec=0x8ab8670, thisObj=0xae9f0000, args=...) at /usr/src/debug/kdelibs-4.6.4/kjs/function.cpp:172
#30 0xb19bd578 in call (this=0xae9e0ec0, window=0xae9f0000) at /usr/src/debug/kdelibs-4.6.4/kjs/object.h:626
#31 KJS::ScheduledAction::execute (this=0xae9e0ec0, window=0xae9f0000) at /usr/src/debug/kdelibs-4.6.4/khtml/ecma/kjs_window.cpp:2283
#32 0xb19cc4f3 in KJS::WindowQObject::timerEvent (this=0x8ab8528) at /usr/src/debug/kdelibs-4.6.4/khtml/ecma/kjs_window.cpp:2458
#33 0xb68411c4 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#34 0xb5cc16e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0xb5cca4a7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#36 0xb6d60141 in KApplication::notify (this=0xbff2ce80, receiver=0x8ab8528, event=0xbff2ca0c) at /usr/src/debug/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#37 0xb682bd5e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#38 0xb685d14e in ?? () from /usr/lib/libQtCore.so.4
#39 0xb6859e45 in ?? () from /usr/lib/libQtCore.so.4
#40 0xb53c1b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb53c2350 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb53c260e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb685a53b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0xb5d781ca in ?? () from /usr/lib/libQtGui.so.4
#45 0xb682b03d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0xb682b269 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb682fd10 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#48 0xb5cbf3e4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#49 0xb77f315f in kdemain (argc=2, argv=0xbff2d134) at /usr/src/debug/kdebase-4.6.4/konqueror/src/konqmain.cpp:219
#50 0x0804860b in main (argc=2, argv=0xbff2d134) at /usr/src/debug/kdebase-4.6.4/build/konqueror/src/konqueror_dummy.cpp:3
Comment 10 Martin Koller 2011-07-03 17:42:56 UTC

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