Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232119 - games-rpg/eternal-lands-1.7.0 segfaults in some situations
Summary: games-rpg/eternal-lands-1.7.0 segfaults in some situations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 21:03 UTC by Richard Freeman
Modified: 2008-07-18 02:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Freeman gentoo-dev 2008-07-17 21:03:48 UTC
This is a tracking bug for the known 1.7.0 segfault issue that is under investigation.  Feel free to post details if you run into this issue.
Comment 1 gilhad 2008-07-17 23:58:30 UTC
My testing: 
summary - it works (just) for me
============= what i did ===========
- I synced yesterday and emerged to full actual system
- in bug #232009 I wrote, how I 'hacked' ebuild and got working client
- now I synced again, emerged new version of Python, added "sound music" to USE flags, then emerged new version of EL (see below)
- runned el under normal user (the 'hacked' version asked for lang, so no ask at this point. The black rectangle is Setting button, now it is ok as i have new data)
- all worked as expected (with my integrated graphic card)
- sorry to not be help with segfaults, at least this is proof, that it can be runned somewhere somehow under some conditions (limited card, all devel libs, ...) without crash

====== what i got =============
# emerge -pvDubN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild     U ] games-rpg/eternal-lands-data-1.7.0 [1.6.0] USE="-music -sound" 52,850 kB 
[ebuild  NS   ] dev-lang/python-2.5.2-r5  USE="berkdb gdbm ipv6 ncurses readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 -wininst" 9,597 kB 
[ebuild     U ] dev-python/setuptools-0.6_rc8-r1 [0.6_rc7-r1] 245 kB 
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.25-r6  USE="-build -symlink" 47,581 kB 
[ebuild     U ] www-client/links-2.1 [2.1_pre33] USE="X gpm jpeg png sdl ssl svga tiff unicode zlib -bzip2 -directfb -fbcon -livecd" 3,741 kB 
[ebuild     U ] games-rpg/eternal-lands-1.7.0 [1.6.9] USE="-debug -doc" 10 kB 

Total: 6 packages (4 upgrades, 2 in new slots), Size of downloads: 114,023 kB

# emerge -DubN1 python
.....
# emerge -DubN eternal-lands
>>> Emerging (1 of 2) games-rpg/eternal-lands-data-1.7.0 to /
 * el_music_full-20060803.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ]
 * el_linux_170_install.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ]
 * el_sound_150.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ]
 * checking ebuild checksums ;-) ...              [ ok ]
 * checking auxfile checksums ;-) ...             [ ok ]
 * checking miscfile checksums ;-) ...            [ ok ]
 * checking el_linux_170_install.zip ;-) ...      [ ok ]
 * checking el_music_full-20060803.zip ;-) ...    [ ok ]
 * checking el_sound_150.zip ;-) ...    [ ok ]
.......................

>>> Emerging (2 of 2) games-rpg/eternal-lands-1.7.0 to /
 * eternal-lands.png RMD160 SHA1 SHA256 size ;-) ...     [ ok ]
 * checking ebuild checksums ;-) ...                     [ ok ]
 * checking auxfile checksums ;-) ...                    [ ok ]
 * checking miscfile checksums ;-) ...                   [ ok ]
 * checking eternal-lands.png ;-) ...                    [ ok ]
>>> Unpacking source...
 * Fetching CVS module elc into /usr/portage/distfiles/cvs-src ...
 * Running  cvs -q -f -z1 -d ":pserver:anonymous:@cvs.elc.berlios.de:/cvsroot/elc" login
Logging in to :pserver:anonymous@cvs.elc.berlios.de:2401/cvsroot/elc
 * Running  cvs -q -f -z1 -d ":pserver:anonymous@cvs.elc.berlios.de:/cvsroot/elc" update -dP -relc_1_7_0 elc
 * Copying elc from /usr/portage/distfiles/cvs-src ...
 * CVS module elc is now in /var/tmp/portage/games-rpg/eternal-lands-1.7.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-rpg/eternal-lands-1.7.0/work/elc ...
  CC   2d_objects.o
  CC   3d_objects.o
............................................
* checking 9 files for package collisions
>>> Merging games-rpg/eternal-lands-1.7.0 to /
--- /usr/
--- /usr/share/
--- /usr/share/pixmaps/
>>> /usr/share/pixmaps/eternal-lands.png
--- /usr/share/applications/
>>> /usr/share/applications/el-eternal-lands.desktop
--- /usr/share/games/
--- /usr/share/games/eternal-lands/
>>> /usr/share/games/eternal-lands/el.ini
>>> /usr/share/games/eternal-lands/key.ini
>>> /usr/share/games/eternal-lands/e3dlist.txt
>>> /usr/share/games/eternal-lands/eternal_lands_license.txt
>>> /usr/share/games/eternal-lands/readme.txt
>>> /usr/share/games/eternal-lands/commands.lst
--- /usr/games/
--- /usr/games/bin/
>>> /usr/games/bin/el
 * Remember, in order to play games, you have to
 * be in the 'games' group.

 * Just run 'gpasswd -a <USER> games', then have <USER> re-login.

 * For more info about Gentoo gaming in general, see our website:
 *    http://games.gentoo.org/

 * Auto Update is now enabled in Eternal Lands
 * If an update occurs then the client will suddenly exit
 * Updates only happen when the game first loads
 * Please don't report this behaviour as a bug
 * 
 * Note that a segfault is generated by the error reporting code
 * in v1.7.0.  This is an upstream issue but if you run into this
 * feel free to comment in bug 232119.  It should be resolved soon.
>>> games-rpg/eternal-lands-1.7.0 merged.


 games-rpg/eternal-lands
    selected: 1.6.9 
   protected: 1.7.0 
     omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Unmerging games-rpg/eternal-lands-1.6.9...
No package files given... Grabbing a set.
--- replaced obj /usr/share/pixmaps/eternal-lands.png
--- replaced dir /usr/share/pixmaps
--- replaced obj /usr/share/games/eternal-lands/readme.txt
--- replaced obj /usr/share/games/eternal-lands/key.ini
--- replaced obj /usr/share/games/eternal-lands/eternal_lands_license.txt
--- replaced obj /usr/share/games/eternal-lands/el.ini
--- replaced obj /usr/share/games/eternal-lands/e3dlist.txt
--- replaced obj /usr/share/games/eternal-lands/commands.lst
--- replaced dir /usr/share/games/eternal-lands
--- replaced dir /usr/share/games
--- replaced obj /usr/share/applications/el-eternal-lands.desktop
--- replaced dir /usr/share/applications
--- replaced dir /usr/share
--- replaced obj /usr/games/bin/el
--- replaced dir /usr/games/bin
--- replaced dir /usr/games
--- replaced dir /usr
>>> Auto-cleaning packages...

 * Messages for package games-rpg/eternal-lands-data-1.7.0:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). Add "collision-protect" to FEATURES in
 * make.conf if you would like the merge to abort in cases like this. You
..... blah blah blah (I probabelly dowloaded this manually before) ....
 * Detected file collision(s):
 * 
 *      /usr/share/games/eternal-lands/music/battlesong.ogg
 *      /usr/share/games/eternal-lands/music/beach.ogg
.... much more ogg files ....
 *      /usr/share/games/eternal-lands/music/anitora.pll
 *      /usr/share/games/eternal-lands/music/c2_underworld.pll
 *      /usr/share/games/eternal-lands/music/cave1.pll
 *      /usr/share/games/eternal-lands/music/cave2.pll
.... much more pll files ....
 *      /usr/share/games/eternal-lands/sound/mapsfx_c1.xml
 *      /usr/share/games/eternal-lands/sound/mapsfx_c2.xml
 *      /usr/share/games/eternal-lands/sound/snds_actor.xml
... much more xml files ...

# logout
[gilhad@cyberdeck(3) ~]$ which el
/usr/games/bin/el
[gilhad@cyberdeck(3) ~]$ /usr/games/bin/el
Playing 1 sources
Playing 2 sources
Playing 2 sources
......


in game:
Window size adjusted to 990x720
GL_ARB_multitexture extension found, using it.
GL_ARB_texture_env_combine extension found, using it.
GL_EXT_compiled_vertex_array extension found, using it.
GL_ARB_point_sprite extension found, using it.
GL_ARB_texture_compression extension found, using it.
Couldn't find the GL_EXT_texture_compression_s3tc extension, not using it...
GL_SGIS_generate_mipmap extension found, using it.
GL_ARB_shadow extension found, using it.
GL_ARB_vertex_buffer_object extension found, using it.
Couldn't find the GL_EXT_framebuffer_object extension, not using it...
GL_EXT_draw_range_elements extension found, using it.
Couldn't find the GL_ARB_texture_non_power_of_two extension, not using it...
GL_ARB_fragment_program extension found, using it.
GL_ARB_vertex_program extension found, using it.
Couldn't find the GL_ARB_fragment_shader extension, not using it...
Couldn't find the GL_ARB_vertex_shader extension, not using it...
Couldn't find the GL_ARB_shader_objects extension, not using it...
Couldn't find the GL_ARB_shading_language_100 extension, not using it...
GL_ARB_texture_mirrored_repeat extension found, NOT using it...
GL_ARB_texture_rectangle extension found, NOT using it...
GL_EXT_fog_coord extension found, NOT using it...
Couldn't find the GL_ATI_texture_compression_3dc extension, not using it...
Couldn't find the GL_EXT_texture_compression_latc extension, not using it...
Point Particles disabled.
Shadow map size not supported! Shadow map size reduced to 512!
Not using vertex program for actor animation.
Your personal settings and logs will be saved in /home/gilhad/.elc/main/
Connecting to Server...
Hi, and welcome to Eternal Lands! If you're new to the game and need help, please read the newbie helper guides on the main website. If you would rather learn by doing, talk to the Tutorial NPC, which is at the start point. In addition to that, you can type #help_me and your question to get a live response if there are helpers online. Click on the screen to continue!

Today is the 7th day in the month of Vespia, the year 0015, Age of the Eternals
Game Time: 02:50:41

Comment 2 Richard Freeman gentoo-dev 2008-07-18 02:49:31 UTC
Ok, patched in -r1.  This doesn't really fix all of upstream's issues - but instead of crashing while trying to log an incomplete error message it just logs the incomplete error message.  I suspect that the error that causes the crash is only triggered in particular circumstances by the sound module.