Bug 167570 - segfault on Qemu
Summary: segfault on Qemu
Status: RESOLVED WORKSFORME
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: LO crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-28 10:34 UTC by Timo Lindfors
Modified: 2018-11-30 03:46 UTC (History)
4 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 Timo Lindfors 2008-07-28 10:34:19 UTC
Version:           0.6+svn837399-1 (using KDE 4.0.98)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Steps to reproduce:
1) wget http://iki.fi/lindi/marble/sid-marble.complete
2) qemu -hda sid-marble.complete -boot c -snapshot -m 256 -redir tcp:5924::5924
3) wait for the testcase system to boot, this may take up to 5 minutes on a fast computer
4) (qemu) login as root/root
5) (qemu) dhclient eth0
6) (qemu) vnc4server :24 and enter any password you like
7) (qemu) DISPLAY=:24 marble
8) (host) xvncviewer localhost:24 and try to rotate the map

Expected results:
8) Map is rotated

Actual results:
8) marble segfaults and kernel prints

marble[1993]: segfault at 1c ip b74a8dfc sp bf9dab68 error 6 in libQtGui.so.4.4.0[b7270000+8cc000]


More info:
1) I included a complete qemu qcow2 disk image to reproduce the issue since other people were unable to reproduce it on their systems.
2) gdb shows the following backtrace:
#0  0xb748cdfc in QPaintEngine::setPaintDevice (this=0x9dc49e0, device=0x81018ac) at painting/qpaintengine.cpp:846
#1  0xb74963de in QPainter::begin (this=0xbfefca00, pd=0x81018ac) at painting/qpainter.cpp:1700
#2  0xb7498d33 in QPainter (this=0xbfefca00, pd=0x81018ac) at painting/qpainter.cpp:1374
#3  0xb7ecb423 in ClipPainter (this=0xbfefca00, pd=0x81018ac, clip=true) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/ClipPainter.cpp:23
#4  0xb7ecd8f4 in GeoPainter (this=0xbfefca00, pd=0x81018ac, viewport=0x80d414c, mapQuality=Marble::Normal, clip=<value optimized out>) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/GeoPainter.cpp:170
#5  0xb7ee1994 in MarbleAbstractFloatItem::render (this=0x8101ba0, painter=0xbfefced4, viewport=0x80d414c, renderPos=@0xbfefcc24, layer=0x0) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/MarbleAbstractFloatItem.cpp:371
#6  0xb7edbf0e in LayerManager::renderLayers (this=0x81016c8, painter=0xbfefced4, viewParams=0x8100fec) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/LayerManager.cpp:104
#7  0xb7ea2ea6 in MarbleModel::paintGlobe (this=0x81015c0, painter=0xbfefced4, width=449, height=444, viewParams=0x8100fec, redrawBackground=true, dirtyRect=@0xbfefcf4c) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/MarbleModel.cpp:631
#8  0xb7eacf52 in MarbleMap::paint (this=0x8100fb8, painter=@0xbfefced4, dirtyRect=@0xbfefcf4c) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/MarbleMap.cpp:832
#9  0xb7e9bd28 in MarbleWidget::paintEvent (this=0x80fb478, evt=0xbfefd39c) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/MarbleWidget.cpp:820
#10 0xb73e52db in QWidget::event (this=0x80fb478, event=0xbfefd39c) at kernel/qwidget.cpp:7065
#11 0xb738d66c in QApplicationPrivate::notify_helper (this=0x8067de0, receiver=0x80fb478, e=0xbfefd39c) at kernel/qapplication.cpp:3772
#12 0xb739550a in QApplication::notify (this=0xbfefefc4, receiver=0x80fb478, e=0xbfefd39c) at kernel/qapplication.cpp:3739
#13 0xb7cf9571 in QCoreApplication::notifyInternal (this=0xbfefefc4, receiver=0x80fb478, event=0xbfefd39c) at kernel/qcoreapplication.cpp:587
#14 0xb73eda1e in qt_sendSpontaneousEvent (receiver=0x80fb478, event=0x18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#15 0xb73e3d00 in QWidgetPrivate::drawWidget (this=0x8100e68, pdev=0x80944a4, rgn=@0xbfefd51c, offset=@0xbfefd514, flags=<value optimized out>, sharedPainter=0x99a7f20) at kernel/qwidget.cpp:4491
#16 0xb73e445b in QWidgetPrivate::paintSiblingsRecursive (this=0x8100cd0, pdev=0x80944a4, siblings=@0xbfefd670, index=3, rgn=@0xbfefd71c, offset=@0xbfefd714, flags=4, sharedPainter=0x99a7f20) at kernel/qwidget.cpp:4589
#17 0xb73e3978 in QWidgetPrivate::drawWidget (this=0x8100cd0, pdev=0x80944a4, rgn=@0xbfefd71c, offset=@0xbfefd714, flags=4, sharedPainter=0x99a7f20) at kernel/qwidget.cpp:4532
#18 0xb73e445b in QWidgetPrivate::paintSiblingsRecursive (this=0x8099058, pdev=0x80944a4, siblings=@0xbfefd870, index=1, rgn=@0xbfefd91c, offset=@0xbfefd914, flags=4, sharedPainter=0x99a7f20) at kernel/qwidget.cpp:4589
#19 0xb73e3978 in QWidgetPrivate::drawWidget (this=0x8099058, pdev=0x80944a4, rgn=@0xbfefd91c, offset=@0xbfefd914, flags=4, sharedPainter=0x99a7f20) at kernel/qwidget.cpp:4532
#20 0xb73e445b in QWidgetPrivate::paintSiblingsRecursive (this=0x80932d0, pdev=0x80944a4, siblings=@0xbfefda70, index=19, rgn=@0xbfefdb64, offset=@0x8098cec, flags=4, sharedPainter=0x99a7f20) at kernel/qwidget.cpp:4589
#21 0xb73e3978 in QWidgetPrivate::drawWidget (this=0x80932d0, pdev=0x80944a4, rgn=@0xbfefdb64, offset=@0x8098cec, flags=4, sharedPainter=0x99a7f20) at kernel/qwidget.cpp:4532
#22 0xb754b827 in QWidgetBackingStore::cleanRegion (this=0x8098ce0, rgn=@0xbfefdbb8, widget=0x8093190, recursiveCopyToScreen=true) at painting/qbackingstore.cpp:1035
#23 0xb754c637 in qt_syncBackingStore (widget=0x8093190) at painting/qbackingstore.cpp:319
#24 0xb73e5106 in QWidget::event (this=0x8093190, event=0xbfefe010) at kernel/qwidget.cpp:7209
#25 0xb772ea47 in QMainWindow::event (this=0x8093190, event=0xbfefe010) at widgets/qmainwindow.cpp:1252
#26 0xb738d66c in QApplicationPrivate::notify_helper (this=0x8067de0, receiver=0x8093190, e=0xbfefe010) at kernel/qapplication.cpp:3772
#27 0xb739550a in QApplication::notify (this=0xbfefefc4, receiver=0x8093190, e=0xbfefe010) at kernel/qapplication.cpp:3739
#28 0xb7cf9571 in QCoreApplication::notifyInternal (this=0xbfefefc4, receiver=0x8093190, event=0xbfefe010) at kernel/qcoreapplication.cpp:587
#29 0xb74161e6 in QWidgetPrivate::dirtyWidget_sys (this=0x80932d0, rgn=@0xbfefe084, updateImmediately=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 0xb754bc94 in QWidgetBackingStore::dirtyRegion (this=0x8098ce0, rgn=@0xbfefe124, widget=0x80fb478, updateImmediately=172) at painting/qbackingstore.cpp:632
#31 0xb754c299 in QWidget::repaint (this=0x80fb478, rgn=@0xbfefe178) at painting/qbackingstore.cpp:1139
#32 0xb73dd1a8 in QWidget::repaint (this=0x80fb478) at kernel/qwidget.cpp:8684
#33 0xb7e9c474 in MarbleWidget::centerOn (this=0x80fb478, lon=@0xbfefe2b8, lat=@0xbfefe2b0, animated=false) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/MarbleWidget.cpp:534
#34 0xb7ec3f9d in MarbleWidgetDefaultInputHandler::eventFilter (this=0x983ac00, o=0x80fb478, e=0xbfefe7dc) at /home/lindi/debian/debian-marble/marble-0.6+svn837399/src/lib/MarbleWidgetInputHandler.cpp:296
#35 0xb7cf875a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8067de0, receiver=0x80fb478, event=0xbfefe7dc) at kernel/qcoreapplication.cpp:694
#36 0xb738d64a in QApplicationPrivate::notify_helper (this=0x8067de0, receiver=0x80fb478, e=0xbfefe7dc) at kernel/qapplication.cpp:3768
#37 0xb7395df1 in QApplication::notify (this=0xbfefefc4, receiver=0x80fb478, e=0xbfefe7dc) at kernel/qapplication.cpp:3501
#38 0xb7cf9571 in QCoreApplication::notifyInternal (this=0xbfefefc4, receiver=0x80fb478, event=0xbfefe7dc) at kernel/qcoreapplication.cpp:587
#39 0xb739507e in QApplicationPrivate::sendMouseEvent (receiver=0x80fb478, event=0xbfefe7dc, alienWidget=0x80fb478, nativeWidget=0x8093190, buttonDown=0xb7b437d0, lastMouseReceiver=@0xb7b437d4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 0xb73fe5fd in QETWidget::translateMouseEvent (this=0x8093190, event=0xbfefeccc) at kernel/qapplication_x11.cpp:4133
#41 0xb73fd3cf in QApplication::x11ProcessEvent (this=0xbfefefc4, event=0xbfefeccc) at kernel/qapplication_x11.cpp:3255
#42 0xb7426d14 in x11EventSourceDispatch (s=0x806fc10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#43 0xb6cca2f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb6ccd983 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x0806f020 in ?? ()
#46 0x00000000 in ?? ()
Comment 1 Carsten Wolff 2008-07-28 15:19:29 UTC
I was able to reproduce this, if I use xvnc4server on a standard Debian Sid install on a remote machine, just like the OP did it with his qemu vm.

I tried other cases, where I used VNC or marble was exported to an external Display, none of these showed a crash:

krfb + krdc
vino-server + krdc
ssh -X
local X :1
Comment 2 Tobias 2014-10-29 14:12:01 UTC
Does this still happen with the latest version?
Comment 3 Andrew Crouthamel 2018-10-31 04:13:16 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-15 10:31:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-30 03:46:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!