Bug 25721

Summary: Segfault on stellarium startup
Product: Mesa Reporter: Guy Shapiro <bugs>
Component: Drivers/DRI/R100Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: 7.6   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Guy Shapiro 2009-12-19 05:24:10 UTC
I'm not sure that this is the right place to report this bug. Sorry if it isn't.

Running stellarium (0.10.2) on debian testing results segfault in radeonPolygonStipplePreKMS.

Similar bug was reported on https://bugs.launchpad.net/ubuntu/+source/stellarium/+bug/447694.

Output of gdb run:
gdb stellarium
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/stellarium...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/stellarium
[Thread debugging using libthread_db enabled]
[New Thread 0xb1b7bb70 (LWP 32157)]
QProcess: Destroyed while process is still running.
 -------------------------------------------------------
[ This is Stellarium 0.10.2 - http://www.stellarium.org ]
[ Copyright (C) 2000-2009 Fabien Chereau et al          ]
 -------------------------------------------------------
Writing log file to: "/home/sguy/.stellarium/log.txt"
File search paths:
  0 .  "/home/sguy/.stellarium"
  1 .  "/usr/share/stellarium"
Config file is:  "/home/sguy/.stellarium/config.ini"
Attempting to use an existing older config file.

Program received signal SIGSEGV, Segmentation fault.
0xb64cdae3 in radeonPolygonStipplePreKMS () from /usr/lib/dri/radeon_dri.so
(gdb) bt
#0  0xb64cdae3 in radeonPolygonStipplePreKMS () from /usr/lib/dri/radeon_dri.so
#1  0xb66079da in _mesa_PopAttrib () from /usr/lib/dri/radeon_dri.so           
#2  0xb7f6f1ee in ?? () from /usr/lib/libQtOpenGL.so.4
#3  0xb75fb520 in QPainter::end() () from /usr/lib/libQtGui.so.4
#4  0xb7b155a8 in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#5  0xb75267d6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#6  0xb78cc543 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#7  0xb796a59f in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#8  0xb7b13d62 in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0xb796cb75 in ?? () from /usr/lib/libQtGui.so.4
#10 0xb705441a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#11 0xb74d0a6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb74d8cc2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb70551eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#14 0xb74db9ce in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#15 0xb752e479 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#16 0xb76b8293 in QWidgetPrivate::repaint_sys(QRegion const&) () from /usr/lib/libQtGui.so.4
#17 0xb751eb9e in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#18 0xb7526c3d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb7f4fe0c in QGLWidget::event(QEvent*) () from /usr/lib/libQtOpenGL.so.4
#20 0xb74d0a94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb74d8cc2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb70551eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0xb7055e2e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /usr/lib/libQtCore.so.4
#24 0xb705600d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#25 0xb70804cf in ?? () from /usr/lib/libQtCore.so.4
#26 0xb6a91f28 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0xb6a956b3 in ?? () from /lib/libglib-2.0.so.0
#28 0xb6a95838 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0xb7080041 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#30 0xb7570305 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb7056286 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#32 0x08294ccf in StelMainGraphicsView::init() ()
#33 0x08296e1d in StelMainWindow::init() ()
#34 0x0829fa04 in main ()
Comment 1 Alex Deucher 2009-12-19 08:21:47 UTC
This is fixed in the mesa 7.6 branch and will show up in 7.6.1.

*** This bug has been marked as a duplicate of bug 25354 ***
Comment 2 Guy Shapiro 2009-12-19 11:47:10 UTC
Fix confirmed on 7.6.1rc3.
Thank you for the quick response and for the great work.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.