Bug 282655 - [kwin] [darkglass theme] Crash when viewing planet.kde.org, plasma-desktop AND kwin died?
Summary: [kwin] [darkglass theme] Crash when viewing planet.kde.org, plasma-desktop AN...
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 283532 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-24 02:57 UTC by Shawn Starr
Modified: 2011-10-07 15:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Starr 2011-09-24 02:57:51 UTC
Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

Application: kwin (4.7.1 (4.7.1))
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.8.0
Operating System: Linux 2.6.40.3-0.fc15.x86_64 x86_64

-- Information about the crash:
I had attempted to view planet.kde.org in firefox when plasma-desktop and kwin died, then tried to restart kwin:

$ kwin --replace &
[1] 5111
[spstarr@segfault ~]$ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Application::crashHandler() called with signal 11; recent crashes: 1
KCrash: Application 'kwin' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/spstarr/.kde/socket-segfault.sh0n.net/kdeinit4__0
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Application::crashHandler() called with signal 11; recent crashes: 2
KCrash: Application 'kwin' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/spstarr/.kde/socket-segfault.sh0n.net/kdeinit4__0
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Application::crashHandler() called with signal 11; recent crashes: 3
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KCrash: Application 'kwin' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/spstarr/.kde/socket-segfault.sh0n.net/kdeinit4__0
Application::crashHandler() called with signal 11; recent crashes: 4
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KCrash: Application 'kwin' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/spstarr/.kde/socket-segfault.sh0n.net/kdeinit4__0

When I *closed* firefox, I was able to restart kwin and this started with composite disabled, I was able to reenable this after.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f74ec1a6880 (LWP 4825))]

Thread 2 (Thread 0x7f74e0c55700 (LWP 4827)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000038f1784e52 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x38f1a7e240) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000038f1784e89 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00000038d5c07d11 in start_thread (arg=0x7f74e0c55700) at pthread_create.c:305
#4  0x00000038d50eb66d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f74ec1a6880 (LWP 4825)):
[KCrash Handler]
#6  QFontEngineFT::loadFlags (this=<optimized out>, set=0x0, format=<optimized out>, flags=<optimized out>, hsubpixel=@0x7fff144652ff, vfactor=@0x7fff144652f8) at text/qfontengine_ft.cpp:800
#7  0x00000038dd6bb7b4 in QFontEngineFT::getPointInOutline (this=0x1eb8820, glyph=541, flags=0, point=8, xpos=0x7fff14465488, ypos=0x7fff14465484, nPoints=0x7fff14465358) at text/qfontengine_ft.cpp:1968
#8  0x00000038dc8dd4dd in Get_Anchor (gpi=<optimized out>, an=0x1ef9610, glyph_index=<optimized out>, x_value=0x7fff14465488, y_value=0x7fff14465484) at ../3rdparty/harfbuzz/src/harfbuzz-gpos.c:759
#9  0x00000038dc8e1646 in Lookup_MarkBasePos (nesting_level=1, context_length=65535, flags=<optimized out>, buffer=0x1edbfe0, st=0x1ef1790, gpi=0x7fff14465510) at ../3rdparty/harfbuzz/src/harfbuzz-gpos.c:2307
#10 GPOS_Do_Glyph_Lookup (gpi=<optimized out>, lookup_index=<optimized out>, buffer=0x1edbfe0, context_length=65535, nesting_level=1) at ../3rdparty/harfbuzz/src/harfbuzz-gpos.c:5805
#11 0x00000038dc8e64e8 in GPOS_Do_String_Lookup (buffer=0x1edbfe0, lookup_index=13, gpi=0x7fff14465510) at ../3rdparty/harfbuzz/src/harfbuzz-gpos.c:5899
#12 HB_GPOS_Apply_String (font=<optimized out>, gpos=0x1edc550, load_flags=<optimized out>, buffer=0x1edbfe0, dvi=<optimized out>, r2l=<optimized out>) at ../3rdparty/harfbuzz/src/harfbuzz-gpos.c:6070
#13 0x00000038dc8eaf5b in HB_OpenTypePosition (item=0x7fff144658d0, availableGlyphs=2, doLogClusters=1 '\001') at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:1232
#14 0x00000038dc8ef5f4 in HB_ShapeItem (shaper_item=0x7fff144658d0) at ../3rdparty/harfbuzz/src/harfbuzz-shaper.cpp:1364
#15 0x00000038dd61b2ec in QTextEngine::shapeTextWithHarfbuzz (this=0x7fff144664c0, item=<optimized out>) at text/qtextengine.cpp:1330
#16 0x00000038dd61bb8b in QTextEngine::shapeText (this=0x7fff144664c0, item=0) at text/qtextengine.cpp:922
#17 0x00000038dd61bebe in QTextEngine::shape (this=0x7fff144664c0, item=0) at text/qtextengine.cpp:1437
#18 0x00000038dd62c99e in QTextLine::layout_helper (this=0x7fff14468e10, maxGlyphs=<optimized out>) at text/qtextlayout.cpp:1732
#19 0x00000038dd51e26c in qt_format_text (fnt=..., _r=<optimized out>, tf=134218129, option=0x0, str=<optimized out>, brect=0x0, tabstops=0, ta=0x0, tabarraylen=0, painter=0x7fff144692a0) at painting/qpainter.cpp:8189
#20 0x00000038dd51f2ce in QPainter::drawText (this=0x7fff144692a0, r=..., flags=<optimized out>, str=<optimized out>, br=0x0) at painting/qpainter.cpp:6196
#21 0x00007f74e0d32d91 in DarkGlass::DarkGlassClient::paintEvent (this=0x1d35500, event=0x7fff14469970) at /home/spstarr/darkglass/src/darkglass.cpp:682
#22 0x00000038ef013b1f in eventFilter (e=0x7fff14469970, this=0x1d35500, o=<optimized out>) at /usr/src/debug/kdebase-workspace-4.7.1/kdebase-workspace-4.7.1/kwin/libkdecorations/kcommondecoration.cpp:877
#23 KCommonDecoration::eventFilter (this=0x1d35500, o=0x1d309b0, e=0x7fff14469970) at /usr/src/debug/kdebase-workspace-4.7.1/kdebase-workspace-4.7.1/kwin/libkdecorations/kcommondecoration.cpp:868
#24 0x00000038dc977c28 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1d309b0, event=0x7fff14469970) at kernel/qcoreapplication.cpp:963
#25 0x00000038dd3c7d2f in notify_helper (e=0x7fff14469970, receiver=0x1d309b0, this=0x19cbe70) at kernel/qapplication.cpp:4491
#26 QApplicationPrivate::notify_helper (this=0x19cbe70, receiver=0x1d309b0, e=0x7fff14469970) at kernel/qapplication.cpp:4467
#27 0x00000038dd3ccbe3 in QApplication::notify (this=0x7fff1446ac80, receiver=0x1d309b0, e=0x7fff14469970) at kernel/qapplication.cpp:4356
#28 0x00000038e54504c6 in KApplication::notify (this=0x7fff1446ac80, receiver=0x1d309b0, event=0x7fff14469970) at /usr/src/debug/kdelibs-4.7.1/kdeui/kernel/kapplication.cpp:311
#29 0x00000038dc977a9c in QCoreApplication::notifyInternal (this=0x7fff1446ac80, receiver=0x1d309b0, event=0x7fff14469970) at kernel/qcoreapplication.cpp:853
#30 0x00000038dd413fb0 in sendSpontaneousEvent (event=0x7fff14469970, receiver=0x1d309b0) at ../../src/corelib/kernel/qcoreapplication.h:234
#31 QWidgetPrivate::drawWidget (this=0x1d35000, pdev=0x1d6c958, rgn=..., offset=..., flags=14, sharedPainter=0x0, backingStore=0x0) at kernel/qwidget.cpp:5565
#32 0x00000038dd4167c5 in QWidgetPrivate::render (this=0x1d35000, target=0x1d6c958, targetOffset=..., sourceRegion=<optimized out>, renderFlags=..., readyToRender=<optimized out>) at kernel/qwidget.cpp:5701
#33 0x00000038dd416a49 in QWidget::render (this=<optimized out>, target=<optimized out>, targetOffset=<optimized out>, sourceRegion=<optimized out>, renderFlags=<optimized out>) at kernel/qwidget.cpp:5153
#34 0x00000038f06eaa45 in KWin::PaintRedirector::performPendingPaint (this=0x1d6c930) at /usr/src/debug/kdebase-workspace-4.7.1/kdebase-workspace-4.7.1/kwin/paintredirector.cpp:56
#35 0x00000038f0645d1a in KWin::Client::ensureDecorationPixmapsPainted (this=0x1d32500) at /usr/src/debug/kdebase-workspace-4.7.1/kdebase-workspace-4.7.1/kwin/client.cpp:529
#36 0x00000038f0646535 in KWin::Client::repaintDecorationPending (this=0x1d32500) at /usr/src/debug/kdebase-workspace-4.7.1/kdebase-workspace-4.7.1/kwin/client.cpp:509
#37 0x00000038dc98b721 in QMetaObject::activate (sender=0x1d6c930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3546
#38 0x00000038dc98b721 in QMetaObject::activate (sender=0x1d6c978, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3546
#39 0x00000038dc990669 in QObject::event (this=0x1d6c978, e=<optimized out>) at kernel/qobject.cpp:1156
#40 0x00000038dd3c7d64 in notify_helper (e=0x7fff1446a860, receiver=0x1d6c978, this=0x19cbe70) at kernel/qapplication.cpp:4495
#41 QApplicationPrivate::notify_helper (this=0x19cbe70, receiver=0x1d6c978, e=0x7fff1446a860) at kernel/qapplication.cpp:4467
#42 0x00000038dd3ccbe3 in QApplication::notify (this=0x7fff1446ac80, receiver=0x1d6c978, e=0x7fff1446a860) at kernel/qapplication.cpp:4356
#43 0x00000038e54504c6 in KApplication::notify (this=0x7fff1446ac80, receiver=0x1d6c978, event=0x7fff1446a860) at /usr/src/debug/kdelibs-4.7.1/kdeui/kernel/kapplication.cpp:311
#44 0x00000038dc977a9c in QCoreApplication::notifyInternal (this=0x7fff1446ac80, receiver=0x1d6c978, event=0x7fff1446a860) at kernel/qcoreapplication.cpp:853
#45 0x00000038dc9a8532 in sendEvent (event=0x7fff1446a860, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#46 QTimerInfoList::activateTimers (this=0x19cc868) at kernel/qeventdispatcher_unix.cpp:611
#47 0x00000038dc9a9014 in QEventDispatcherUNIX::processEvents (this=0x1986ba0, flags=...) at kernel/qeventdispatcher_unix.cpp:930
#48 0x00000038dd46b578 in QEventDispatcherX11::processEvents (this=0x1986ba0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#49 0x00000038dc976bd2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00000038dc976e27 in QEventLoop::exec (this=0x7fff1446abc0, flags=...) at kernel/qeventloop.cpp:204
#51 0x00000038dc97b825 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1125
#52 0x00000038f065b996 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdebase-workspace-4.7.1/kdebase-workspace-4.7.1/kwin/main.cpp:517
#53 0x00000038d50215bd in __libc_start_main (main=0x400810 <main(int, char**)>, argc=3, ubp_av=0x7fff1446b2e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1446b2d8) at libc-start.c:226
#54 0x0000000000400841 in _start ()


Reproducible: Didn't try

Steps to Reproduce:
See in Details, however, I really dont know how this triggered.

Actual Results:  
plasma-desktop and kwin both died, kwin refused to restart until firefox was closed

Expected Results:  
kwin and plasma-desktop would continue with no issue

I am using Fredrik Höglund's Darkglass kwin decoration (source is lost on internet but I have it available!) but it have not crashed like this before.
Comment 1 Shawn Starr 2011-09-24 03:00:35 UTC
Adding Fredrik in case this is due to darkglass crashing kwin or not. Yes, I use your theme, the code is gone though from the known web.
Comment 2 Shawn Starr 2011-09-24 03:01:31 UTC
(In reply to comment #1)
> Adding Fredrik in case this is due to darkglass crashing kwin or not. Yes, I
> use your theme, the code is gone though from the known web.

Well, yes, it might be Darkglass bug ;p
Comment 3 Shawn Starr 2011-09-24 03:35:13 UTC
Closing, memory smashing from kernel... ugly, maybe drm/dri related, we'll never know :)
Comment 4 Christoph Feck 2011-09-24 14:35:30 UTC
Qt 4.8 bug.
Comment 5 Myriam Schweingruber 2011-10-07 15:59:50 UTC
*** Bug 283532 has been marked as a duplicate of this bug. ***