Jump to content

segfault :(


bird
 Share

Recommended Posts

hi, I just compiled 0ad and I ran it.

Right as I hit the title screen, I saw some red text about OPENGL errors on the top right corner.

As I loaded a game to play, the game crashed (segfault).

Here's the output:

./pyrogenesis 
Cache: 200 (total: 1001) MiB
TIMER| InitVfs: 30.4693 ms
TIMER| InitScripting: 36.4358 ms
TIMER| CONFIG_Init: 146.543 ms
TIMER| RunHardwareDetection: 322.297 ms
TIMER| write_sys_info: 21.1146 ms
TIMER| InitRenderer: 51.088 ms
TIMER| ps_console: 13.143 ms
TIMER| ps_lang_hotkeys: 688.578 us
TIMER| common/setup.xml: 19.4831 ms
TIMER| common/styles.xml: 307.234 us
TIMER| common/sprite1.xml: 12.2287 ms
TIMER| common/init.xml: 5.08118 ms
TIMER| common/common_sprites.xml: 13.211 ms
TIMER| common/common_styles.xml: 893.791 us
TIMER| pregame/sprites.xml: 8.02995 ms
TIMER| pregame/styles.xml: 10.6573 ms
TIMER| pregame/mainmenu.xml: 42.0834 ms
TIMER| common/global.xml: 8.73606 ms
SND| alc_init: success, using PulseAudio Software
GL_INVALID_ENUM
OpenGL error(s) occurred: 0500
GL_INVALID_ENUM
GL_INVALID_ENUM
GL_INVALID_ENUM
GL_INVALID_ENUM
OpenGL error(s) occurred: 0500
ERROR: CRenderer::EndFrame: GL errors occurred
TIMER| common/setup.xml: 986.292 us
TIMER| common/styles.xml: 52.061 us
TIMER| common/sprite1.xml: 2.32737 ms
TIMER| common/common_sprites.xml: 2.32617 ms
TIMER| common/common_styles.xml: 339.508 us
TIMER| gamesetup/setup.xml: 28.2407 ms
TIMER| gamesetup/sprites.xml: 870.047 us
TIMER| gamesetup/styles.xml: 732.156 us
TIMER| gamesetup/gamesetup.xml: 43.5723 ms
TIMER| common/setup.xml: 985.854 us
TIMER| common/styles.xml: 45.293 us
TIMER| common/sprite1.xml: 1.92383 ms
TIMER| common/init.xml: 1.47666 ms
TIMER| common/common_sprites.xml: 2.17007 ms
TIMER| common/common_styles.xml: 293.807 us
TIMER| loading/styles.xml: 26.1508 ms
TIMER| loading/sprites.xml: 3.57566 ms
TIMER| loading/loading.xml: 3.63209 ms
TIMER| common/global.xml: 799.604 us
TIMER| LoadDLL: 60.3993 ms
TIMER| common/setup.xml: 929.835 us
TIMER| common/styles.xml: 44.442 us
TIMER| common/sprite1.xml: 3.65195 ms
TIMER| common/icon_sprites.xml: 21.54 ms
TIMER| common/common_sprites.xml: 6.71809 ms
TIMER| common/common_styles.xml: 273.784 us
TIMER| session/sprites.xml: 18.3129 ms
TIMER| session/styles.xml: 1.46974 ms
TIMER| session/session.xml: 82.0789 ms
TIMER| common/global.xml: 703.216 us
GAME STARTED, ALL INIT COMPLETE
GL_INVALID_ENUM
OpenGL error(s) occurred: 0500
GL_INVALID_ENUM
GL_INVALID_ENUM
OpenGL error(s) occurred: 0500
GL_INVALID_ENUM
OpenGL error(s) occurred: 0500
Segmentation fault

I'm running ubuntu 11.04 with virtual box.

thanks!

Link to comment
Share on other sites

r10419 makes it mostly work for me in Linux in VirtualBox 4.1.4 with 3D acceleration enabled. (Occasionally the entire VM crashes though, so it's not perfect - 3D support in VirtualBox seems somewhat experimental.)

hi again,

your patch works! The game doesn't crash after a few seconds now.

thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...