PDA

View Full Version : Linux Segmentation Fault + strace


Muzero
11-21-2009, 11:42 AM
Hello to all,
RO doesn't run anymore at startup. I tried also in safe mode. I ckick the "enter game word" (Horus) and when the client update try to load the "character.sdb" , the rolelauncher goes in segmentation fault. this is the strace:

munmap(0xb64f5000, 4096) = 0
stat64("live/characters.sdb", {st_mode=S_IFREG|0644, st_size=65536, ...}) = 0
open("live/characters.sdb", O_RDWR|O_LARGEFILE) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=65536, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb64f5000
_llseek(8, 0, [0], SEEK_SET) = 0
read(8, "CDLSDB\1\0\0\0.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ 0\0\0\0\0"..., 46) = 46
write(8, "INDXEND\317\377\0\0?\377\1\0\0\0\0\0XDNI"..., 23) = 23
close(8) = 0
munmap(0xb64f5000, 4096) = 0
stat64("live/characters.sdb", {st_mode=S_IFREG|0644, st_size=65536, ...}) = 0
open("live/characters.sdb", O_RDONLY|O_LARGEFILE) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=65536, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb64f5000
_llseek(8, 0, [0], SEEK_SET) = 0
read(8, "CDLSDB\1\0\0\0.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ 0\0\0\0\0"..., 46) = 46
read(8, "INDXEND\317\377\0\0?\377\1\0\0\0\0\0XDNIINDXPAR\24 7\366\0"..., 4096) = 4096
_llseek(8, 4142, [4142], SEEK_SET) = 0
_llseek(8, 61440, [61440], SEEK_SET) = 0
read(8, "anded\0\350\364\0\0\f\0\0\0stand_shield\0003\303\0 \0\37\0"..., 4096) = 4096
_llseek(8, 126976, [126976], SEEK_SET) = 0
read(8, ""..., 4096) = 0
_llseek(8, 3903, [130879], SEEK_CUR) = 0
read(8, ""..., 4096) = 0
_llseek(8, 61440, [61440], SEEK_SET) = 0
read(8, "anded\0\350\364\0\0\f\0\0\0stand_shield\0003\303\0 \0\37\0"..., 4070) = 4070
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

I have an ATI 4500 on linux
thanks, Muzero

onemyndseye
11-22-2009, 08:56 AM
please give us some more info on this:


Xorg -version
glxinfo |egrep "version|direct"
uname -a


also the related backtrace log from ./live/crash_backtrace_* and your fglrx version.


thanks :)

Muzero
11-22-2009, 12:42 PM
sure here u are


muzero@celticspiral:~$ Xorg -version

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux celticspiral 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686
Build Date: 09 April 2009 02:10:02AM
xorg-server 2:1.6.0-0ubuntu14 (buildd@rothera.buildd)
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
muzero@celticspiral:~$ glxinfo |egrep "version|direct"
direct rendering: Yes
server glx version string: 1.2
client glx version string: 1.4
GLX version: 1.2
OpenGL version string: 2.1.8575
OpenGL shading language version string: 1.20
muzero@celticspiral:~$ uname -a
Linux celticspiral 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux
muzero@celticspiral:~$

Bardar
11-23-2009, 03:40 AM
also the related backtrace log from ./live/crash_backtrace_*

we need those as well. ;)

Muzero
11-25-2009, 09:26 PM
muzero@celticspiral:~/regnum/live$ ls crash_backtrace_*


crash_backtrace_10903.log crash_backtrace_13250.log crash_backtrace_14925.log crash_backtrace_5683.log crash_backtrace_9996.log


cat crash_backstrace_*



libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7da1959]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7da1f4b]
[0xb7fa3400]
/usr/lib/dri/fglrx_dri.so [0xb66f7483]
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7de6959]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7de6f4b]
[0xb7fe8400]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL22rende r_surface_elementEPNS_14SurfaceElementEPNS_19Rende ringParametersE+0x466) [0xb77563a6]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL12rende r_sceneEPNS_10RenderListEPNS_13CRenderPassGLEPNS0_ 13RenderOptionsE+0x9ff) [0xb7758abf]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL11rende r_listERNS_11RenderListsE+0x311) [0xb7759421]
libs/libgui_extension.so(_ZN3GUI12CameraWidget12render_ sceneEv+0x21d) [0xb7a0dc4d]
libs/libgui_extension.so [0xb7a10ebc]
libs/libgui.so(_ZN3GUI8Drawable6renderEv+0x1d2) [0xb7ad3fe2]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x122) [0xb7aa94a2]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7aa9501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7aa9501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7aa9501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7aa9501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalEv+0x81) [0xb7aa9861]
libs/libcommon_entities.so(_ZN13DisplayEntity15show_nex t_frameEv+0x57) [0xb7c490c7]
libs/libregnum_client.so(_ZN10GameClient7iterateEv+0x4c ) [0xb7f6d16c]
libs/libcore_client.so(_ZN8MainLoop7iterateEv+0x24) [0xb7dfa444]
./game(main+0x267) [0x8048fd7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7015775]
./game(__gxx_personality_v0+0x61) [0x8048c71]
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7d23959]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7d23f4b]
[0xb7f25400]
[0xb7f25430]
/lib/tls/i686/cmov/libc.so.6(gsignal+0x50) [0xb6f676d0]
/lib/tls/i686/cmov/libc.so.6(abort+0x188) [0xb6f69098]
/lib/tls/i686/cmov/libc.so.6 [0xb6fa524d]
/lib/tls/i686/cmov/libc.so.6 [0xb6fab604]
/lib/tls/i686/cmov/libc.so.6 [0xb6fad367]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96) [0xb6fad5b6]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21) [0xb718d231]
libs/libresource_system_extension_client.so(_ZN11MeshMa nager12release_meshEj+0xdf) [0xb76c14df]
libs/libenvironment_client.so(_ZN5Scene16CClusterTypeIn foD0Ev+0x94) [0xb7c41564]
libs/libmisc.so(_ZN14IManagedObject7releaseEv+0x1e) [0xb73dd16e]
libs/libenvironment_client.so(_ZN5Scene20CInstancingGro upInfoD1Ev+0x31) [0xb7c3bc91]
libs/libenvironment_client.so(_ZN5Scene17ClusterObjectN odeD0Ev+0x4d) [0xb7c3981d]
libs/libscene_logic.so(_ZN5Scene8NodeList5clearEv+0xa6) [0xb78f5836]
libs/libscene_logic.so(_ZN5Scene4NodeD2Ev+0x9c) [0xb78fc3cc]
libs/libscene_visual.so(_ZN5Scene11GraphicNodeD2Ev+0x8f ) [0xb78cd2df]
libs/libenvironment_client.so(_ZN5Scene15TerrainMeshNod eD0Ev+0x73) [0xb7c55fc3]
libs/libscene_logic.so(_ZN5Scene8NodeList5clearEv+0xa6) [0xb78f5836]
libs/libscene_logic.so(_ZN5Scene4NodeD2Ev+0x9c) [0xb78fc3cc]
libs/libscene_logic.so(_ZN5Scene10ObjectNodeD2Ev+0x54) [0xb78f9384]
libs/libscene_logic.so(_ZN5Scene13HeightMapNodeD0Ev+0x2 d) [0xb78f553d]
libs/libenvironment_client.so(_ZN7Terrain10RegionDataD1 Ev+0x31) [0xb7c81381]
libs/libenvironment_client.so(_ZN7Terrain14TerrainManag er15deletion_notifyEv+0x1b2) [0xb7c74092]
libs/libentity_system.so(_ZN13EntityManager11kill_entit yEP6Entity+0x6e) [0xb74e8fbe]
libs/libentity_system.so(_ZN13EntityManager14destroy_en tityEPKci+0x42) [0xb74eb462]
libs/libenvironment_client.so(_ZN14WorldMapEntity15dele tion_notifyEv+0x85) [0xb7cac165]
libs/libentity_system.so(_ZN13EntityManager11kill_entit yEP6Entity+0x6e) [0xb74e8fbe]
libs/libentity_system.so(_ZN13EntityManager14destroy_en tityEPKci+0x42) [0xb74eb462]
libs/libcore_client.so(_ZN8GameCore15deletion_notifyEv+ 0x169) [0xb7d2c829]
libs/libentity_system.so(_ZN13EntityManager11kill_entit yEP6Entity+0x6e) [0xb74e8fbe]
libs/libentity_system.so(_ZN13EntityManager14destroy_en tityEPKci+0x42) [0xb74eb462]
libs/libcore_client.so(_ZN7GameApp24shutdown_entity_cal lbackEP7Message+0x47) [0xb7d291e7]
libs/libentity_system.so(_ZN6Entity22input_message_inte rnalEP7Message+0x727) [0xb74e36a7]
libs/libentity_system.so(_ZN9LuaEntity22input_message_i nternalEP7Message+0x3f) [0xb750581f]
libs/libentity_system.so(_ZN6Entity13input_messageEP7Me ssage+0x22) [0xb74de9d2]
libs/libentity_system.so(_ZN18EntityMessageQueue17proce ss_a_messageEP7Message+0x70c) [0xb74bc19c]
libs/libentity_system.so(_ZN18EntityMessageQueue16proce ss_messagesEv+0x155) [0xb74bd745]
libs/libentity_system.so(_ZN12EntitySystem10poll_frameE v+0x25) [0xb74b5f75]
libs/libentity_system.so(_ZN12EntitySystem20destroy_all _entitiesEv+0x3e) [0xb74b61de]
libs/libcore_client.so(_ZN10ClientBase16destroy_entitie sEv+0x49) [0xb7d23be9]
libs/libregnum_client.so(_ZN10GameClient8finalizeEv+0x2 c) [0xb7ea9f5c]
libs/libregnum_client.so(_ZN10GameClientD0Ev+0x2d) [0xb7eb5a9d]
./game(main+0x277) [0x8048fe7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6f52775]
./game(__gxx_personality_v0+0x61) [0x8048c71]
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7d7a959]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7d7af4b]
[0xb7f7c400]
/usr/lib/dri/fglrx_dri.so [0xb66d0483]
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7e5c959]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7e5cf4b]
[0xb805e400]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL22rende r_surface_elementEPNS_14SurfaceElementEPNS_19Rende ringParametersE+0x466) [0xb77cc3a6]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL12rende r_sceneEPNS_10RenderListEPNS_13CRenderPassGLEPNS0_ 13RenderOptionsE+0x9ff) [0xb77ceabf]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL11rende r_listERNS_11RenderListsE+0x107) [0xb77cf217]
libs/libgui_extension.so(_ZN3GUI12CameraWidget12render_ sceneEv+0x21d) [0xb7a83c4d]
libs/libgui_extension.so [0xb7a86ebc]
libs/libgui.so(_ZN3GUI8Drawable6renderEv+0x1d2) [0xb7b49fe2]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x122) [0xb7b1f4a2]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7b1f501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7b1f501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7b1f501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalENS_9AreaCoor dE+0x181) [0xb7b1f501]
libs/libgui.so(_ZN3GUI6Widget11draw_signalEv+0x81) [0xb7b1f861]
libs/libcommon_entities.so(_ZN13DisplayEntity15show_nex t_frameEv+0x57) [0xb7cbf0c7]
libs/libregnum_client.so(_ZN10GameClient7iterateEv+0x4c ) [0xb7fe316c]
libs/libcore_client.so(_ZN8MainLoop7iterateEv+0x24) [0xb7e70444]
./game(main+0x267) [0x8048fd7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb708b775]
./game(__gxx_personality_v0+0x61) [0x8048c71]

onemyndseye
11-27-2009, 08:26 PM
I would try upgrading or downgrading your fglrx driver as the crashes look as if they could be related.

Also this thread is related to your problem I bet: http://regnumonlinegame.com/forum/showthread.php?t=51388

Try Arafails suggestions.

Trister2
12-02-2009, 09:49 PM
Look at where the regnum files are located and make sure they are writeable to your account.. If you installed to lets say /usr/local/games/ and it was installed sudo. The game could be installed /w root or another user...