Bug 262515 - Plasma Desktop Shell (kdeinit4), Segmentation fault at startup
Summary: Plasma Desktop Shell (kdeinit4), Segmentation fault at startup
Status: RESOLVED DUPLICATE of bug 205893
Alias: None
Product: marble
Classification: Applications
Component: plasmoid (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
: 263327 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-08 13:13 UTC by b.o.kenworm
Modified: 2011-01-19 18:08 UTC (History)
3 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 b.o.kenworm 2011-01-08 13:13:29 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Just logging in and allowing KDE desktop 4.5.95 from Factory to load.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4f6641e760 (LWP 4279))]

Thread 3 (Thread 0x7f4f40673710 (LWP 4293)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff661ff7a1 in ?? ()
#2  0x00007f4f60c132a3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007f4f6502c522 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f4f650f04ad in QTimerInfoList::updateCurrentTime (this=0x1071760) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f4f650f0835 in QTimerInfoList::timerWait (this=0x1071760, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f4f650ef2ec in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f4f40672b8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f4f650ef395 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f4f6096af7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f4f6096be69 in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f4f6096c510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f4f650efae6 in QEventDispatcherGlib::processEvents (this=0x1073110, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f4f650c4262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f4f650c4475 in QEventLoop::exec (this=0x7f4f40672d20, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f4f64fd71a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#16 0x00007f4f650a5918 in QInotifyFileSystemWatcherEngine::run (this=0x10408b0) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007f4f64fd9a1e in QThreadPrivate::start (arg=0x10408b0) at thread/qthread_unix.cpp:285
#18 0x00007f4f584d6ae3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#19 0x00007f4f64d4aa4f in start_thread () from /lib64/libpthread.so.0
#20 0x00007f4f63b0282d in clone () from /lib64/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4f3e5f3710 (LWP 4401)):
#0  0x00007f4f63af96b3 in poll () from /lib64/libc.so.6
#1  0x00007f4f6096bfd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4f6096c510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4f650efae6 in QEventDispatcherGlib::processEvents (this=0x130b2c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4f650c4262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4f650c4475 in QEventLoop::exec (this=0x7f4f3e5f2d20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4f64fd71a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f4f650a5918 in QInotifyFileSystemWatcherEngine::run (this=0x12f7290) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4f64fd9a1e in QThreadPrivate::start (arg=0x12f7290) at thread/qthread_unix.cpp:285
#9  0x00007f4f584d6ae3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f4f64d4aa4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4f63b0282d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4f6641e760 (LWP 4279)):
[KCrash Handler]
#6  0x00007f4f4920c32e in pixel (this=<value optimized out>, x=603, y=-1) at /usr/src/debug/kdeedu-4.5.95/marble/src/lib/StackedTile.cpp:85
#7  Marble::StackedTile::pixel (this=<value optimized out>, x=603, y=-1) at /usr/src/debug/kdeedu-4.5.95/marble/src/lib/StackedTile.cpp:285
#8  0x00007f4f491fdf22 in Marble::AbstractScanlineTextureMapper::pixelValueApprox (this=0x13b2f40, lon=<value optimized out>, lat=<value optimized out>, scanLine=<value optimized out>, n=8)
    at /usr/src/debug/kdeedu-4.5.95/marble/src/lib/AbstractScanlineTextureMapper.cpp:381
#9  0x00007f4f491ffdc2 in Marble::EquirectScanlineTextureMapper::mapTexture (this=0x13b2f40, viewParams=0x12fbd78, texColorizer=0x0)
    at /usr/src/debug/kdeedu-4.5.95/marble/src/lib/EquirectScanlineTextureMapper.cpp:173
#10 0x00007f4f49200048 in Marble::EquirectScanlineTextureMapper::mapTexture (this=0x13b2f40, painter=0x7fff661e8850, viewParams=0x12fbd78, dirtyRect=..., texColorizer=<value optimized out>)
    at /usr/src/debug/kdeedu-4.5.95/marble/src/lib/EquirectScanlineTextureMapper.cpp:52
#11 0x00007f4f49174074 in Marble::MarbleMapPrivate::paintGround (this=0x12fbd60, painter=..., dirtyRect=...) at /usr/src/debug/kdeedu-4.5.95/marble/src/lib/MarbleMap.cpp:188
#12 0x00007f4f49177695 in Marble::MarbleMap::paint (this=0x1318770, painter=..., dirtyRect=...) at /usr/src/debug/kdeedu-4.5.95/marble/src/lib/MarbleMap.cpp:828
#13 0x00007f4f49523f8c in Marble::WorldClock::paintInterface (this=0xdaacd0, p=0x7fff661e8e70, option=<value optimized out>, contentsRect=<value optimized out>)
    at /usr/src/debug/kdeedu-4.5.95/marble/src/plasmoid/worldclock.cpp:354
#14 0x00007f4f5bdfd0e1 in Plasma::Applet::paint (this=0xdaacd0, painter=0x7fff661e8e70, option=0x7ad1b8, widget=0x0) at /usr/src/debug/kdelibs-4.5.95/plasma/applet.cpp:1443
#15 0x00007f4f64854b9d in _q_paintItem (item=<value optimized out>, painter=0x7fff661e8e70, option=0x7ad1b8, widget=0x0, useWindowOpacity=<value optimized out>, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4314
#16 0x00007f4f64854eb0 in _q_paintIntoCache (pix=0x7fff661e93c0, item=0xdaace0, pixmapExposed=..., itemToPixmap=..., renderHints=..., option=0x7ad1b8, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4352
#17 0x00007f4f64868e2e in QGraphicsScenePrivate::drawItemHelper (this=0x7acf90, item=0xdaace0, painter=0x7fff661ea760, option=<value optimized out>, widget=<value optimized out>, 
    painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4690
#18 0x00007f4f64869651 in QGraphicsScenePrivate::draw (this=0x7acf90, item=0xdaace0, painter=0x7fff661ea760, viewTransform=0x0, transformPtr=0xdab140, exposedRegion=0x421a550, widget=0x31792e0, 
    opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4931
#19 0x00007f4f6486a247 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x7acf90, item=0xdaace0, painter=0x7fff661ea760, viewTransform=0x0, exposedRegion=0x421a550, widget=0x31792e0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#20 0x00007f4f648696e8 in QGraphicsScenePrivate::draw (this=0x7acf90, item=0xd3f480, painter=0x7fff661ea760, viewTransform=0x0, transformPtr=0xd50c60, exposedRegion=0x421a550, widget=0x31792e0, 
    opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4945
#21 0x00007f4f6486a247 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x7acf90, item=0xd3f480, painter=0x7fff661ea760, viewTransform=0x0, exposedRegion=0x421a550, widget=0x31792e0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#22 0x00007f4f6486aafc in QGraphicsScenePrivate::drawItems (this=0x7acf90, painter=0x7fff661ea760, viewTransform=0x0, exposedRegion=0x421a550, widget=0x31792e0)
    at graphicsview/qgraphicsscene.cpp:4735
#23 0x00007f4f64887b5c in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3469
#24 0x00007f4f642b745a in QWidget::event (this=0xd69fa0, event=0x7fff661eb0b0) at kernel/qwidget.cpp:8346
#25 0x00007f4f64664246 in QFrame::event (this=0xd69fa0, e=0x7fff661eb0b0) at widgets/qframe.cpp:557
#26 0x00007f4f64888deb in QGraphicsView::viewportEvent (this=0xd69fa0, event=0x7fff661eb0b0) at graphicsview/qgraphicsview.cpp:2864
#27 0x00007f4f650c4fb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x31792e0, event=0x7fff661eb0b0) at kernel/qcoreapplication.cpp:847
#28 0x00007f4f64265ca1 in QApplicationPrivate::notify_helper (this=0x6ec2f0, receiver=0x31792e0, e=0x7fff661eb0b0) at kernel/qapplication.cpp:4441
#29 0x00007f4f6426e1ca in QApplication::notify (this=<value optimized out>, receiver=0x31792e0, e=0x7fff661eb0b0) at kernel/qapplication.cpp:4324
#30 0x00007f4f65d79ec6 in KApplication::notify (this=0x6e2ec0, receiver=0x31792e0, event=0x7fff661eb0b0) at /usr/src/debug/kdelibs-4.5.95/kdeui/kernel/kapplication.cpp:311
#31 0x00007f4f650c4e2c in QCoreApplication::notifyInternal (this=0x6e2ec0, receiver=0x31792e0, event=0x7fff661eb0b0) at kernel/qcoreapplication.cpp:732
#32 0x00007f4f642b4322 in sendSpontaneousEvent (this=0x4246750, pdev=0x300dd18, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x11c80b0)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#33 QWidgetPrivate::drawWidget (this=0x4246750, pdev=0x300dd18, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x11c80b0) at kernel/qwidget.cpp:5433
#34 0x00007f4f642b4eef in QWidgetPrivate::paintSiblingsRecursive (this=0x421a0c0, pdev=0x300dd18, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x11c80b0) at kernel/qwidget.cpp:5640
#35 0x00007f4f642b408a in QWidgetPrivate::drawWidget (this=0x421a0c0, pdev=0x300dd18, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x11c80b0)
    at kernel/qwidget.cpp:5486
#36 0x00007f4f64479c71 in QWidgetBackingStore::sync (this=0x11c80b0) at painting/qbackingstore.cpp:1333
#37 0x00007f4f64479f59 in QWidgetBackingStore::sync (this=0x11c80b0, exposedWidget=0xd69fa0, exposedRegion=...) at painting/qbackingstore.cpp:1130
#38 0x00007f4f642e2c30 in QETWidget::translatePaintEvent (this=0xd69fa0, event=<value optimized out>) at kernel/qapplication_x11.cpp:5152
#39 0x00007f4f642e39bb in QApplication::x11ProcessEvent (this=0x6e2ec0, event=0x7fff661ec2b0) at kernel/qapplication_x11.cpp:3464
#40 0x00007f4f6430b212 in x11EventSourceDispatch (s=0x6ef8d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f4f6096ba93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f4f6096c270 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f4f6096c510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f4f650efa8f in QEventDispatcherGlib::processEvents (this=0x6ec020, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007f4f6430aeae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f4f650c4262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f4f650c4475 in QEventLoop::exec (this=0x7fff661ec5d0, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007f4f650c88db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0x00007f4f54356d68 in kdemain (argc=1, argv=0x6c7110) at /usr/src/debug/kdebase-workspace-4.5.95/plasma/desktop/shell/main.cpp:118
#50 0x0000000000407609 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2011-01-08 17:28:22 UTC
[Comment from a bug triager]
- Are your "marble" (world map) related packages updated ?
Regards
Comment 2 b.o.kenworm 2011-01-11 22:48:13 UTC
On Saturday 08 January 2011 17:28:24 Dario Andres wrote:
> https://bugs.kde.org/show_bug.cgi?id=262515
> 
> 
> Dario Andres <andresbajotierra@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |saschpe@gmx.de
>           Component|general                     |wallpaper-marble
>          AssignedTo|plasma-bugs@kde.org         |gladhorn@kde.org
> 
> --- Comment #1 from Dario Andres <andresbajotierra gmail com>  2011-01-08
> 17:28:22 --- [Comment from a bug triager]
> - Are your "marble" (world map) related packages updated ?
> Regards

Yes shure. I wouldn't think of bothering you guys otherwise.

Herman
Comment 3 b.o.kenworm 2011-01-11 23:16:09 UTC
Looks suspiciously like this bug:

https://bugzilla.novell.com/show_bug.cgi?id=662861

and the workaround has helped me too:

After removing the existing ~/.kde4/share/config/plasma* files, plasma-desktop
works again.
Comment 4 Dennis Nienhüser 2011-01-16 23:28:30 UTC
*** Bug 263327 has been marked as a duplicate of this bug. ***
Comment 5 Dennis Nienhüser 2011-01-16 23:37:35 UTC
The reason for the crash is the worldclock plasmoid which somehow tries to access an invalid image pixel (y=-1). There doesn't seem to be any range checking happening before accessing the lookup table, therefore a segmentation fault occurs.

Removing plasma config files is a possible workaround because in the standard configuration there is no worldclock plasmoid. Once you'd add it again, plasma will (likely) crash again.

Given the number of bugs reported against the plasmoid and it being without a maintainer for quite some time now I wonder if we should disable it for the 4.6 release.
Comment 6 Bernhard Beschow 2011-01-19 18:08:36 UTC

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