[SOLVED] segmentation fault on jaunty

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
[SOLVED] segmentation fault on jauntyMementoMori06/02/2009 - 10:34

hi,
I've bought wog when I was using Ubuntu 8.10 and everything was fine. I've installed ubuntu 9.04 and now wog is crashing. Here are some infos:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty

$ glxinfo | grep direct
direct rendering: Yes

$ ./WorldOfGoo
Segmentation fault

$ aptitude show worldofgoo
Package: worldofgoo
New: yes
State: installed
Automatically installed: no
Version: 1.40
Priority: extra
Section: games

Is there a solution for this problem? ???


Last modified Thu, 06/04/2009 - 01:58 by MementoMori
Re: segmentation faultspazturtle06/02/2009 - 11:01

What download did you use e.g. .db, .tar.gz, ect.....

Re: segmentation faultSoultaker06/02/2009 - 11:04

Since he uses Ubuntu and Aptitude, I suppose the .deb, which is fine.

@MementoMori: could you post the contents of the log file at $HOME/.WorldOfGoo/WorldOfGoo.log?

Re: segmentation faultMementoMori06/03/2009 - 02:55

$ cat $HOME/.WorldOfGoo/WorldOfGoo.log
[t=0.00] Failed to read persistent data from "/home/filippo/.WorldOfGoo/pers2.dat"!
[t=0.00] Locale en_GB.UTF-8 matched to language en.
[t=0.00] Primary language: en
[t=0.00] Created 800x600 (32 bpp) graphics surface.
[t=0.00] Created virtual viewport of size 800(+0)x600(+0)
[t=0.00] Using audio driver: pulse
[t=0.00] resized from 800x600 to 800x600
[t=0.00] loading game (version 1.40linux)...

Re: segmentation fault on jauntySoultaker06/03/2009 - 06:13

This is very strange... Just to be sure, could you try uninstalling the game, redownloading the .deb package, and then reinstalling it, just to make sure that the game installed correctly?

How do you launch the game? Through the application menu, or on the console, and if so, what exactly do you enter?

Re: segmentation fault on jauntyMementoMori06/03/2009 - 14:03

I usually use the Applications menu while things are working. I launch programs via terminal when things are broken.

please check this md5 hash to see if my deb is valid (it should...):
filippo@B612:~/Desktop$ md5sum WorldOfGooSetup.1.40.deb
c9fc8c287426f2bd0a6250cb28959953  WorldOfGooSetup.1.40.deb

filippo@B612:~/Desktop$ sudo aptitude purge worldofgoo
[sudo] password for filippo:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initialising package states... Done
Writing extended state information... Done
The following packages will be REMOVED:
  worldofgoo{p}
0 packages upgraded, 0 newly installed, 1 to remove and 12 not upgraded.
Need to get 0B of archives. After unpacking 76.8MB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 141774 files and directories currently installed.)
Removing worldofgoo ...
Purging configuration files for worldofgoo ...
dpkg - warning: while removing worldofgoo, directory `/opt/WorldOfGoo/properties' not empty so not removed.
dpkg - warning: while removing worldofgoo, directory `/opt/WorldOfGoo' not empty so not removed.
Reading package lists... Done           
Building dependency tree     
Reading state information... Done
Reading extended state information     
Initialising package states... Done

Current status: 4 new [-1].
filippo@B612:~/Desktop$ sudo rm -rf /opt/WorldOfGoo #I had to do this because of testing different configurations

filippo@B612:~/Desktop$ sudo dpkg -i WorldOfGooSetup.1.40.deb
Selecting previously deselected package worldofgoo.
(Reading database ... 139331 files and directories currently installed.)
Unpacking worldofgoo (from WorldOfGooSetup.1.40.deb) ...
Setting up worldofgoo (1.40) ...

filippo@B612:~/Desktop$ dpkg -l | grep -i worldofgoo
ii  worldofgoo                                1.40                                A physics based puzzle/construction game

filippo@B612:~/Desktop$ which WorldOfGoo
/usr/games/WorldOfGoo

filippo@B612:~/Desktop$ ll $( which WorldOfGoo )
lrwxrwxrwx 1 root root 26 2009-06-03 20:57 /usr/games/WorldOfGoo -> /opt/WorldOfGoo/WorldOfGoo

filippo@B612:~/Desktop$ WorldOfGoo
Segmentation fault

filippo@B612:~/Desktop$

Re: segmentation fault on jauntyMementoMori06/03/2009 - 14:05

other infos...

filippo@B612:~/Desktop$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.4
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_MESAX_texture_float, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements,
    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
    GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

16 GLX Visuals
  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x6c 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x6d 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x6e 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x6f 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x70 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x71 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x72 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x73 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x74 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x75 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x76 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x77 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x78 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x5b 32 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None

16 GLXFBConfigs:
  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x5c  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x5d  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x5e  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x5f  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x60  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x61  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x62  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x63  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x64  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x65  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x66  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x67  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x68  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x69  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x6a  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x6b  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

filippo@B612:~/Desktop$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M24 [Radeon Mobility X600]
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
06:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:04.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

filippo@B612:~/Desktop$ lsmod
Module                  Size  Used by
michael_mic            10496  6
arc4                    9856  6
ecb                    10752  6
ieee80211_crypt_tkip    16896  3
usbhid                42336  0
binfmt_misc            16776  1
ppdev                  15620  0
radeon                342816  2
drm                    96296  3 radeon
bridge                56340  0
stp                    10500  1 bridge
bnep                  20224  2
vboxnetflt            93992  0
vboxdrv              123048  1 vboxnetflt
input_polldev          11912  0
lp                    17156  0
parport                42220  2 ppdev,lp
joydev                18368  0
snd_intel8x0          37532  3
snd_ac97_codec        112292  1 snd_intel8x0
ac97_bus                9856  1 snd_ac97_codec
snd_pcm_oss            46336  0
snd_mixer_oss          22656  1 snd_pcm_oss
pcmcia                44748  0
snd_pcm                82948  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy          10756  0
snd_seq_oss            37760  0
snd_seq_midi          14336  0
snd_rawmidi            29696  1 snd_seq_midi
snd_seq_midi_event    15104  2 snd_seq_oss,snd_seq_midi
snd_seq                56880  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              29704  2 snd_pcm,snd_seq
snd_seq_device        14988  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
iTCO_wdt              19108  0
iTCO_vendor_support    11652  1 iTCO_wdt
psmouse                61972  0
ipw2200              150984  0
yenta_socket          32396  1
rsrc_nonstatic        19328  1 yenta_socket
intel_agp              34108  0
sdhci_pci              15232  0
sdhci                  23940  1 sdhci_pci
serio_raw              13316  0
pcspkr                10496  0
tifm_7xx1              13824  0
snd                    62628  16 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15200  1 snd
snd_page_alloc        16904  2 snd_intel8x0,snd_pcm
pcmcia_core            43540  3 pcmcia,yenta_socket,rsrc_nonstatic
ieee80211              38344  1 ipw2200
ieee80211_crypt        13444  2 ieee80211_crypt_tkip,ieee80211
agpgart                42696  2 drm,intel_agp
video                  25360  0
tifm_core              15900  1 tifm_7xx1
output                11008  1 video
ohci1394              38576  0
ieee1394              94660  1 ohci1394
8139too                32128  0
8139cp                27776  0
mii                    13312  2 8139too,8139cp
fbcon                  46112  0
tileblit              10752  1 fbcon
font                  16384  1 fbcon
bitblit                13824  1 fbcon
softcursor              9984  1 bitblit

Re: segmentation fault on jauntyMementoMori06/03/2009 - 14:24

here the syscalls trace:

Attachment: strace_output.zip (31.2 KB, 165 downloads)
Re: segmentation fault on jauntySoultaker06/03/2009 - 15:38

[quote author=MementoMori link=topic=1897.msg12819#msg12819 date=1244055782]
please check this md5 hash to see if my deb is valid (it should...):
filippo@B612:~/Desktop$ md5sum WorldOfGooSetup.1.40.deb
c9fc8c287426f2bd0a6250cb28959953  WorldOfGooSetup.1.40.deb

That should really be: b85a83d64da7b8d10f75e9ad79eb3020 (and it should be 63994638 bytes long)!
How big is your file? Did you try re-downloading it?

Re: segmentation fault on jauntyMementoMori06/03/2009 - 15:44

$ ll WorldOfGooSetup.1.40.deb
-rw------- 1 filippo filippo 63994638 2009-02-11 00:01 WorldOfGooSetup.1.40.deb

so the size is correct.

Re: segmentation fault on jauntyMementoMori06/03/2009 - 15:50

i can't find the download link. Can you send it to my email address privately? Ask me for payment infos if you need them.

Re: segmentation fault on jauntySoultaker06/03/2009 - 15:54

I'm just a peon without access to the customer database, unfortunately, so I can't give you your link...

You can try the e-mail bot to get another e-mail though, and if that doesn't work, send a message through the contact form and Ron or Kyle will definitely help you out. :)

Re: segmentation fault on jauntyMementoMori06/04/2009 - 01:57

ok. the bot gave me the link and now I have the correct deb.

$ md5sum WorldOfGooSetup.1.40.deb
c9fc8c287426f2bd0a6250cb28959953  WorldOfGooSetup.1.40.deb

$ md5sum ../Downloads/deb/WorldOfGooSetup.1.40.deb
b85a83d64da7b8d10f75e9ad79eb3020  ../Downloads/deb/WorldOfGooSetup.1.40.deb

and now wog is working! So my problem is fixed.  ;D

But why wog deb aren't digitally signed?  ???