Bug 243251

Summary: KMail from KDE4 crashes when run inside KDE3
Product: [Unmaintained] kmail Reporter: Julius Schwartzenberg <julius.schwartzenberg>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Julius Schwartzenberg 2010-06-30 14:54:47 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
When I try to run KMail from KDE4 in KDE3, I see this in my terminal:
!!!!!!! ERROR !!!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: /opt/kde3/share/apps/khtml/css/html4.css. Expected STYLE_VERSION 1

*** KMail got signal 6 (Crashing)

It seems there are some issues with environment settings when running certain KDE4 apps inside KDE3.

It should be possible to run KDE3 and KDE4 apps side by side in either environment transparantly.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Aborted
[KCrash Handler]
#5  0x00007fbb931ffa75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fbb932035c0 in *__GI_abort () at abort.c:92
#7  0x00007fbb93aea844 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2250
#8  0x00007fbb93aeaa22 in qt_message (msgType=QtFatalMsg, 
    msg=0x7fbb90058068 "!!!!!!! ERROR !!!!!!! - KHTML default stylesheet version mismatch. Aborting. Check your installation. File used was: %s. Expected STYLE_VERSION %d\n", ap=0x7fffd1e2f5c0)
    at global/qglobal.cpp:2296
#9  0x00007fbb93aeabd5 in qFatal (msg=0x94b <Address 0x94b out of bounds>) at global/qglobal.cpp:2479
#10 0x00007fbb8fe47474 in khtml::CSSStyleSelector::loadDefaultStyle (s=0x16dc420, doc=0x19c7630) at ../../khtml/css/cssstyleselector.cpp:409
#11 0x00007fbb8fe477e8 in khtml::CSSStyleSelector::init (this=0x19d0990, _settings=0x94b, doc=0x6) at ../../khtml/css/cssstyleselector.cpp:338
#12 0x00007fbb8fe54601 in CSSStyleSelector (this=0x19d0990, doc=0x19c7630, userStyleSheet=<value optimized out>, styleSheets=<value optimized out>, url=<value optimized out>, 
    _strictParsing=<value optimized out>) at ../../khtml/css/cssstyleselector.cpp:237
#13 0x00007fbb8fcfffed in DOM::DocumentImpl::attach (this=0x19c7630) at ../../khtml/xml/dom_docimpl.cpp:1515
#14 0x00007fbb8fcb329c in KHTMLPart::begin (this=0x14fbe40, url=<value optimized out>, xOffset=<value optimized out>, yOffset=<value optimized out>) at ../../khtml/khtml_part.cpp:2057
#15 0x00007fbb9529fc9a in KMail::KHtmlPartHtmlWriter::begin (this=0x17c16c0, css=...) at ../../kmail/khtmlparthtmlwriter.cpp:77
#16 0x00007fbb9512bcfc in KMReaderWin::updateReaderWin (this=0x14ec300) at ../../kmail/kmreaderwin.cpp:1484
#17 0x00007fbb9513d12d in KMReaderWin::qt_metacall (this=0x14ec300, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd1e2fec0) at ./kmreaderwin.moc:179
#18 0x00007fbb93bf9e3f in QMetaObject::activate (sender=0x14ec3a8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#19 0x00007fbb93bf6a63 in QObject::event (this=0x14ec3a8, e=0x7fffd1e30610) at kernel/qobject.cpp:1212
#20 0x00007fbb940ba22c in QApplicationPrivate::notify_helper (this=0x1216560, receiver=0x14ec3a8, e=0x7fffd1e30610) at kernel/qapplication.cpp:4300
#21 0x00007fbb940c06fb in QApplication::notify (this=0x7fffd1e30a80, receiver=0x14ec3a8, e=0x7fffd1e30610) at kernel/qapplication.cpp:4183
#22 0x00007fbb961bc526 in KApplication::notify (this=0x7fffd1e30a80, receiver=0x14ec3a8, event=0x7fffd1e30610) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007fbb93be706c in QCoreApplication::notifyInternal (this=0x7fffd1e30a80, receiver=0x14ec3a8, event=0x7fffd1e30610) at kernel/qcoreapplication.cpp:704
#24 0x00007fbb93c13d42 in QCoreApplication::sendEvent (this=0x12258a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x12258a0) at kernel/qeventdispatcher_unix.cpp:603
#26 0x00007fbb93c10824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#27 0x00007fbb8ac4f8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007fbb8ac53748 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007fbb8ac538fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007fbb93c10513 in QEventDispatcherGlib::processEvents (this=0x11d9000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007fbb9416a46e in QGuiEventDispatcherGlib::processEvents (this=0x94b, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fbb93be5992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007fbb93be5d6c in QEventLoop::exec (this=0x7fffd1e308b0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007fbb93be9aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 240159, bug 240012, bug 239956, bug 239916, bug 239851.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-14 14:37:54 UTC
[Comment from a bug triager]
This issue is being tracked at bug 208677. Merging. Thanks

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