boson crashes on clicking "Start Singleplayer Game" (amd64)

Bug #28713 reported by Tobi Vollebregt
8
Affects Status Importance Assigned to Milestone
boson-base (Debian)
Fix Released
Unknown
boson-base (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

boson crashes on clicking "Start Singleplayer Game" in the first screen which shows up after typing `boson' in a console.

This is the 64 bit (AMD athlon 64 running Dapper Drake) version of boson.

Maybe it is not yet 64bit compatible?

It was installed by `aptitude install boson'.

LOG:

[int main(int, char**)] resolving GL, GLX and GLU symbols
[int main(int, char**)] GL, GLX and GLU symbols successfully resolved
Qt: gdb: -nograb added to command-line options.
  Use the -dograb option to enforce grabbing.
Boson Sound: [BosonAudioInterface::BosonAudioInterface()]
Boson Sound: [BosonAudioInterface::BosonAudioInterface()] construct BosonAudio object
boson: [BosonAudioAL::BosonAudioAL()] initializing OpenAL
boson: [BosonAudioAL::BosonAudioAL()] OpenAL initialized
Boson Sound: [BosonAudioInterface::BosonAudioInterface()] BosonAudio object constructed
Boson Sound: [void BosonAudioAL::executeCommand(BoAudioCommand*, BosonMusic*, BosonSound*)] music object is created on startup. nothing to do
boson: [QString BoCheckInstallation::checkInstallation()]
boson: [QString BoCheckInstallation::checkInstallation()] successful
boson: [BosonGLWidget::BosonGLWidget(QWidget*, const char*, bool)]
boson: [void BosonGLWidget::setContext(BoContext*)]
boson: [BosonMainWidget::BosonMainWidget(QWidget*, bool)]
Boson Sound: [void BosonAudioAL::executeCommand(BoAudioCommand*, BosonMusic*, BosonSound*)] enable sound: 0
boson: [void BosonMainWidget::slotSetUpdateInterval(unsigned int)] 20
boson: [void BosonGLWidget::initGL()]
boson: [virtual void BosonMainWidget::initializeGL()]
boson: [void boglInit()] Checking for OpenGL extensions...
boson: [virtual void BosonMainWidget::initializeGL()] starting timer
boson: [void BoGLQueryStates::init()]
boson: [void BoGLQueryStates::init()] done
boson: [void BoTextureManager::initOpenGL()] Checking for OpenGL extensions...
boson: [void BoTextureManager::initOpenGL()] Max anisotropy: 8
boson: [void BoTextureManager::initOpenGL()] OpenGL initialized
boson: [void BoTextureManager::initOpenGL()] OpenGL already inited, returning
boson: [void BosonMainWidget::initUfoGUI()]
boson: [BoUfoManager::BoUfoManager(int, int, bool)] 640x409
boson: [BosonGameView::BosonGameView()]
boson: [void BoLightManager::init()] 8 lights are supported
boson: [static void BoGroundRendererManager::initStatic()]
boson: [static void BoGroundRendererManager::initStatic()] done
boson: [static void BoMeshRendererManager::initStatic()]
boson: [static void BoMeshRendererManager::initStatic()] done
boson: [static void BosonGameViewPluginManager::initStatic()]
boson: [static void BosonGameViewPluginManager::initStatic()] done
boson: [bool BoPluginManager::loadLibrary()] library libbomeshrendererplugin loaded. resolving symbols
boson: [bool BoPluginManager::loadLibrary()] symbols resolved. checking version
boson: [bool BoPluginManager::loadLibrary()] initializing plugin
boson: [bool BoPluginManager::loadLibrary()] searching for information object
boson: [virtual QObject* BoMeshRendererFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoPluginInformation_libbomeshrendererplugin
boson: [bool BoPluginManager::loadLibrary()] library should be ready to use now
boson: [virtual QObject* BoMeshRendererFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoPluginInformation_libbomeshrendererplugin
boson: [QObject* BoPluginManager::createPlugin(const QString&)] BoMeshRendererVertexArray
boson: [virtual QObject* BoMeshRendererFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoMeshRendererVertexArray
boson: [bool BoPluginManager::makePluginCurrent(const QString&)] created plugin
boson: [bool BoPluginManager::loadLibrary()] library libbogroundrendererplugin loaded. resolving symbols
boson: [bool BoPluginManager::loadLibrary()] symbols resolved. checking version
boson: [bool BoPluginManager::loadLibrary()] initializing plugin
boson: [bool BoPluginManager::loadLibrary()] searching for information object
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual QObject* BoGroundRendererFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoPluginInformation_libbogroundrendererplugin
boson: [bool BoPluginManager::loadLibrary()] library should be ready to use now
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual BoGroundRendererBase::~BoGroundRendererBase()]
boson: [virtual QObject* BoGroundRendererFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoPluginInformation_libbogroundrendererplugin
boson: [QObject* BoPluginManager::createPlugin(const QString&)] BoDefaultGroundRenderer
boson: [virtual QObject* BoGroundRendererFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoDefaultGroundRenderer
boson: [bool BoPluginManager::makePluginCurrent(const QString&)] created plugin
boson: [bool BoPluginManager::loadLibrary()] library libbosongameviewplugin loaded. resolving symbols
boson: [bool BoPluginManager::loadLibrary()] symbols resolved. checking version
boson: [bool BoPluginManager::loadLibrary()] initializing plugin
boson: [bool BoPluginManager::loadLibrary()] searching for information object
boson: [virtual QObject* BosonGameViewPluginFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoPluginInformation_libbosongameviewplugin
boson: [bool BoPluginManager::loadLibrary()] library should be ready to use now
boson: [virtual QObject* BosonGameViewPluginFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BoPluginInformation_libbosongameviewplugin
boson: [QObject* BoPluginManager::createPlugin(const QString&)] BosonGameViewPluginDefault
boson: [virtual QObject* BosonGameViewPluginFactory::createObject(QObject*, const char*, const char*, const QStringList&)] created object of class BosonGameViewPluginDefault
boson: [bool BoPluginManager::makePluginCurrent(const QString&)] created plugin
boson: [void BoWaterRenderer::initOpenGL()] Checking for OpenGL extensions...
boson: [void BoWaterRenderer::initOpenGL()] Shaders not supported!
boson: [void BoWaterRenderer::initOpenGL()] Extensions checking done
CommandFrame: [void BosonCommandFrame::setProduction(Unit*)]
CommandFrame: [void BosonCommandFrame::setProduction(Unit*)]
CommandFrame: [void BosonCommandFrame::setProduction(Unit*)]
CommandFrame: [void BosonCommandFrame::setProduction(Unit*)]
boson: [void BosonUfoProfilingGraphWidget::slotSetUpdateInterval(int)] 1000
boson: [void BosonMainWidget::initUfoGUI()] creating BoUfoAction GUI
boson: adding debug
boson: WARNING: [bool BoUfoXMLBuilder::mergeMenuBars(QDomElement&, QDomElement&)] custom menus/toplevel items ignore MergeLocal tags
boson: merging menus game
boson: merging menus settings
boson: adding window
boson: WARNING: [bool BoUfoXMLBuilder::mergeMenuBars(QDomElement&, QDomElement&)] custom menus/toplevel items ignore MergeLocal tags
boson: [void BoUfoMenuBar::createMenu()] creating submenus
boson: [void BosonMainWidget::initUfoGUI()] creating BoUfoAction GUI done
boson: [void BosonMainWidget::initUfoGUI()] done
boson: [virtual void BosonMainWidget::initializeGL()] done
boson: [void BosonGLWidget::initGL()] done
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 640 409
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 640x409
boson: [BosonMainWidget::BosonMainWidget(QWidget*, bool)] done
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 640 409
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 640x409
boson: [static bool BosonPlayField::preLoadAllPlayFields()]
boson: [void BosonMainWidget::slotGameOver()]
boson: [void BosonMainWidget::endGame()]
boson: [void BosonGameView::quitGame()]
boson: [void BosonUfoCursorWidget::slotChangeCursor(int, const QString&)]
boson: [BosonCursor* BosonCursorCollection::changeCursor(int, const QString&, QString*)]
boson: [BosonCursor* BosonCursorCollection::loadCursor(int, const QString&, QString&)]
boson: /usr/share/apps/boson/themes/cursors/futuristic/
boson: /usr/share/apps/boson/themes/cursors/futuristic/
boson: /usr/share/apps/boson/themes/cursors/futuristic/
boson: [void BoUfoActionCollection::clearActions()]
boson: [void BosonGameView::setLocalPlayerIO(PlayerIO*)]
boson: [void BosonUfoCursorWidget::slotChangeCursor(int, const QString&)]
boson: [BosonCursor* BosonCursorCollection::changeCursor(int, const QString&, QString*)]
boson: [BosonCursor* BosonCursorCollection::loadCursor(int, const QString&, QString&)]
boson: [void BoUfoActionCollection::clearActions()]
boson: [void BosonGameView::setLocalPlayerIO(PlayerIO*)] d->mLocalPlayerIO now: (nil)
boson: [void BosonMainWidget::endGame()] done
boson: adding debug
boson: WARNING: [bool BoUfoXMLBuilder::mergeMenuBars(QDomElement&, QDomElement&)] custom menus/toplevel items ignore MergeLocal tags
boson: merging menus game
boson: merging menus settings
boson: adding window
boson: WARNING: [bool BoUfoXMLBuilder::mergeMenuBars(QDomElement&, QDomElement&)] custom menus/toplevel items ignore MergeLocal tags
boson: [void BoUfoMenuBar::createMenu()] creating submenus
boson: [void BoUfoStartupWidget::slotShowWelcomeWidget()]
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 835 449
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 835x449
boson: [void BosonMainWidget::endGame()]
boson: [void BosonGameView::quitGame()]
boson: [void BosonUfoCursorWidget::slotChangeCursor(int, const QString&)]
boson: [BosonCursor* BosonCursorCollection::changeCursor(int, const QString&, QString*)]
boson: [BosonCursor* BosonCursorCollection::loadCursor(int, const QString&, QString&)]
boson: [void BoUfoActionCollection::clearActions()]
boson: [void BosonGameView::setLocalPlayerIO(PlayerIO*)]
boson: [void BosonUfoCursorWidget::slotChangeCursor(int, const QString&)]
boson: [BosonCursor* BosonCursorCollection::changeCursor(int, const QString&, QString*)]
boson: [BosonCursor* BosonCursorCollection::loadCursor(int, const QString&, QString&)]
boson: [void BoUfoActionCollection::clearActions()]
boson: [void BosonGameView::setLocalPlayerIO(PlayerIO*)] d->mLocalPlayerIO now: (nil)
boson: [void BosonMainWidget::endGame()] done
boson: [void Boson::slotPropertyChanged(KGamePropertyBase*)] speed has changed, new speed: 0
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 640 409
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 640x409
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 639 408
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 640x409
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 640 409
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 640x409
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 835 449
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 835x449
QMultiInputContext::changeInputMethod(): index=0, slave=xim
boson: [BoUfoNewGameWidget::BoUfoNewGameWidget(BosonStartupNetwork*)]
boson: [void BoUfoNewGameWidget::initPlayFields()] 25 playfields found
boson: [void BoUfoNewGameWidget::initPlayFields(BosonCampaign*)]
boson: [void BoUfoNewGameWidget::initPlayFields(BosonCampaign*)] default campaign
boson: [void BoUfoNewGameWidget::initPlayFields(BosonCampaign*)]
boson: [void BoUfoNewGameWidget::initPlayFields(BosonCampaign*)] testing
boson: [void BoUfoNewGameWidget::initSpecies()]
boson: [void BoUfoNewGameWidget::slotNetSetAdmin(bool)]
boson: [void BoUfoNewGameWidget::slotSetAdmin(bool)]
boson: [void BosonMainWidget::slotAddLocalPlayer()]
boson: [Player::Player(bool)]
boson: [void Player::quitGame(bool)]
boson: [void Player::quitGame(bool)] clearing units
boson: [void Player::quitGame(bool)] units cleared
boson: [BosonLocalPlayerInput::BosonLocalPlayerInput()]
boson: [virtual bool Player::save(QDataStream&)]
boson: [void BoUfoNewGameWidget::initLocalPlayer()]
boson: [bool SpeciesTheme::loadTheme(const QString&, const QColor&)] theme path: /usr/share/apps/boson/themes/species/human/

BACKTRACE:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912595681616 (LWP 26525)]
0x00000000008dac7e in ufo::UTextLayout::layout ()
(gdb) bt
#0 0x00000000008dac7e in ufo::UTextLayout::layout ()
#1 0x00000000008b9780 in ufo::UTextWidget::validateSelf ()
#2 0x00000000008bda2d in ufo::UWidget::validate ()
#3 0x00000000008bda51 in ufo::UWidget::validate ()
#4 0x00000000008bda51 in ufo::UWidget::validate ()
#5 0x00000000008bda51 in ufo::UWidget::validate ()
#6 0x00000000008bda51 in ufo::UWidget::validate ()
#7 0x00000000008bda51 in ufo::UWidget::validate ()
#8 0x00000000008bda51 in ufo::UWidget::validate ()
#9 0x00000000008bda51 in ufo::UWidget::validate ()
#10 0x00000000008bd255 in ufo::UWidget::getPreferredSize ()
#11 0x000000000089528a in ufo::UBoxLayout::getTotalFlex ()
#12 0x0000000000895758 in ufo::UBoxLayout::layoutContainer ()
#13 0x00000000008bbace in ufo::UWidget::validateSelf ()
#14 0x00000000008bda2d in ufo::UWidget::validate ()
#15 0x00000000008bd255 in ufo::UWidget::getPreferredSize ()
#16 0x000000000089528a in ufo::UBoxLayout::getTotalFlex ()
#17 0x0000000000895758 in ufo::UBoxLayout::layoutContainer ()
#18 0x00000000008bbace in ufo::UWidget::validateSelf ()
#19 0x00000000008bda2d in ufo::UWidget::validate ()
#20 0x00000000008bda51 in ufo::UWidget::validate ()
#21 0x00000000008bda51 in ufo::UWidget::validate ()
#22 0x00000000008bda51 in ufo::UWidget::validate ()
#23 0x00000000008bd255 in ufo::UWidget::getPreferredSize ()
#24 0x00000000008bd194 in ufo::UWidget::getPreferredSize ()
---Type <return> to continue, or q <return> to quit---
#25 0x00000000008406a5 in BoUfoWidget::preferredWidth ()
#26 0x00000000005f0f46 in BosonMainWidget::slotStartupPreferredSizeChanged ()
#27 0x00000000005f2eef in BosonMainWidget::qt_invoke ()
#28 0x00002aaaaca0cb0e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#29 0x00002aaaaca0d69e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#30 0x000000000064c820 in BoUfoStartupWidget::qt_invoke ()
#31 0x00002aaaaca0cb0e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#32 0x000000000085323a in BoUfoWidgetStack::signalVisibleWidgetChanged ()
#33 0x000000000085363f in BoUfoWidgetStack::raiseStackWidget ()
#34 0x000000000064b4b1 in BoUfoStartupWidget::showWidget ()
#35 0x000000000064b6f5 in BoUfoStartupWidget::newGame ()
#36 0x000000000064bb59 in BoUfoStartupWidget::slotNewSinglePlayerGame ()
#37 0x000000000064c6e5 in BoUfoStartupWidget::qt_invoke ()
#38 0x00002aaaaca0cb0e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#39 0x00002aaaaca0d69e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#40 0x000000000065592e in BoUfoWelcomeWidget::qt_emit ()
#41 0x00002aaaaca0cae9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#42 0x00002aaaaca0d69e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#43 0x00000000008abc2f in ufo::USignal1<ufo::UActionEvent*>::emit ()
#44 0x00000000008aac60 in ufo::UButton::fireActionEvent ()
#45 0x00000000008aa9e1 in ufo::UButton::processMouseEvent ()
#46 0x00000000008bce6f in ufo::UWidget::processEvent ()
#47 0x00000000008bcde6 in ufo::UWidget::dispatchEvent ()
#48 0x00000000008c8048 in ufo::UAbstractContext::send ()
#49 0x00000000008c87ae in ufo::UAbstractContext::sendMouseEventToWidgets ()
---Type <return> to continue, or q <return> to quit---
#50 0x00000000008c95bb in ufo::UAbstractContext::fireMouseEvent ()
#51 0x00000000008c7aed in ufo::UAbstractContext::dispatchEvent ()
#52 0x00000000008cb2c7 in ufo::UAbstractDisplay::privateDispatchEvent ()
#53 0x00000000008cbad9 in ufo::UAbstractDisplay::dispatchEvent ()
#54 0x00000000008a55dd in ufo::UXDisplay::mouseButtonUp ()
#55 0x00000000008a52a0 in ufo::UXDisplay::dispatchMouseButtonUp ()
#56 0x0000000000857014 in BoUfoManager::sendMouseReleaseEvent ()
#57 0x0000000000857b60 in BoUfoManager::sendEvent ()
#58 0x00000000006db85c in BosonUfoGLWidget::mouseReleaseEvent ()
#59 0x00002aaaaca44668 in QWidget::event () from /usr/lib/libqt-mt.so.3
#60 0x00002aaaac9a64ac in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#61 0x00002aaaac9a6ae9 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#62 0x00002aaaabd4501e in KApplication::notify () from /usr/lib/libkdecore.so.4
#63 0x00002aaaac937bf4 in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3
#64 0x00002aaaac9333e2 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#65 0x00002aaaac93180b in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#66 0x00002aaaac94a67f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#67 0x000000000082bab5 in BoEventLoop::processEvents ()
#68 0x00002aaaac9be366 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#69 0x00002aaaac9be26f in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#70 0x00002aaaac9a5118 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#71 0x000000000064a0b4 in main ()
(gdb)

Jeroen (jeroenubuntu)
Changed in boson-base:
status: Unconfirmed → Confirmed
Revision history for this message
Maarten Fonville (maarten-fonville) wrote :

Same error here,
also a little remark on a clean dapper install with nvidia propetiary drivers I had to create a symlink from /usr/X11R6/lib/modules to /usr/lib/xorg/modules to succesfully pass the Boson info screen for nvidia based cards.

Changed in boson-base:
assignee: nobody → motu
Revision history for this message
Vassilis Pandis (pandisv) wrote :

This appears to have been fixed in Dapper and Edgy. If it's still a problem, please say say so. Thanks.

Changed in boson-base:
status: Confirmed → Fix Released
Revision history for this message
James Thorrold (jthorrold) wrote :

I've still got this problem in Gutsy with full updates on an NVidia Geforce FX 5200

Error Signal 11 (SIGSEGV)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.