PDA

View Full Version : Got SIGFPE (Floating point exception)


Ditzydog
08-19-2011, 11:03 PM
After all the problems i had to be able to login (found all the solutions)
i come up with one i cant find a solution for.

I open the game
login
click to enter the world
and then the game try's to load but comes back to desktop.
In terminal i get following error-message:
Saving backtrace to crash_backtrace_1785.log
Got SIGFPE (Floating point exception)

My system runs on Fedora 15

Who knows how to solve this so i can start playing?

thx

content of backtrace file:
./game(_ZN10ClientBase14save_backtraceEv+0x69) [0x8293e69]\00
./game(_ZN10ClientBase12client_crashEi+0xf) [0x829435f]\00
[0xb77d8400]\00
/usr/lib/dri/r300_dri.so(+0xddefd) [0xb7257efd]\00
/usr/lib/dri/r300_dri.so(+0xe082d) [0xb725a82d]\00
/usr/lib/libGL.so.1(glCompressedTexImage2DARB+0x61) [0x4889f871]\00
./game() [0x8a1675f]\00
./game(_ZN8Engine3D12RenderizerGL17gl_upload_texture E13CSmartPointerI7TextureEPNS_9TextureGLEi+0x2d) [0x8a173cd]\00
./game(_ZN8Engine3D12RenderizerGL14update_textureEi1 3CSmartPointerI7TextureE+0x372) [0x8a18962]\00
./game(_ZN14TextureManager24process_texture_resource EP15ResourceTexture+0x2c8) [0x87ecc08]\00
./game(_ZN14TextureManager15resource_loadedEP7Messag e+0x40a) [0x87eebea]\00
./game(_ZN6Entity22input_message_internalEP7Message+ 0x568) [0x8508f78]\00
./game(_ZN6Entity13input_messageEP7Message+0x22) [0x8507d72]\00
./game(_ZN18EntityMessageQueue17process_a_messageEP7 Message+0x485) [0x84ec585]\00
./game(_ZN18EntityMessageQueue16process_messagesEv+0 x105) [0x84ed315]\00
./game(_ZN12EntitySystem10poll_frameEv+0x1a) [0x84e8bca]\00
./game(_ZN10GameClient7iterateEv+0x1c) [0x81c0b0c]\00
./game(_ZN8MainLoop7iterateEv+0x14) [0x8293af4]\00
./game(main+0x187) [0x81c0517]\00
/lib/libc.so.6(__libc_start_main+0xf3) [0x48a63413]\00
./game(ftell+0x31) [0x81c02b1]\00

NotScias
08-20-2011, 01:41 AM
According to the backtrace, I guess you're using the open source ATI drivers (r300_dri) who are still in heavy devlopment and yet have experimental 3D support (means buggy). The backtrace shows that this driver is in fault in this case.
Anyways if you can install the proprietary driver you should as it works much better in term of 3D... Else, make sure you really have the latest versions of the driver and the mesa stack and installed the external s3tc library (needed to run regnum with open source drivers).

More details wouldn't kill neither. What is your GPU model ? Are you using classic mesa or Gallium3D drivers ? (glxinfo should show it)

Ditzydog
08-20-2011, 08:37 AM
thx for the reply

i cant seem to find the proprietary drivers.
i know i have a radeon x1600
The mesa is the last version, but how can i know if the external s3tc library is installed?

I am new at Linux so i have no idea what piece of the glxinfo you need so here it is:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
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_pbuffer,
GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and 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_EXT_framebuffer_sRGB,
GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent,
GLX_MESA_swap_control, 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_INTEL_swap_event
GLX version: 1.4
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_multithread_makecurrent, GLX_MESA_swap_control,
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_INTEL_swap_event
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV530
OpenGL version string: 2.1 Mesa 7.11
OpenGL shading language version string: 1.20
OpenGL extensions:
GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_copy_texture, GL_EXT_polygon_offset, GL_EXT_subtexture,
GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_compiled_vertex_array,
GL_EXT_texture, GL_EXT_texture3D, GL_IBM_rasterpos_clip,
GL_ARB_point_parameters, GL_EXT_draw_range_elements, GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_rescale_normal,
GL_EXT_separate_specular_color, GL_EXT_texture_edge_clamp,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_ARB_multitexture,
GL_IBM_multimode_draw_arrays, GL_IBM_texture_mirrored_repeat,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_secondary_color, GL_EXT_texture_env_add,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_EXT_framebuffer_object,
GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,
GL_NV_texture_rectangle, GL_ARB_depth_texture, GL_ARB_occlusion_query,
GL_ARB_shadow, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_window_pos, GL_EXT_stencil_two_side, GL_EXT_texture_cube_map,
GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
GL_ATI_texture_env_combine3, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_ARB_fragment_program_shadow, GL_ARB_half_float_pixel,
GL_ARB_occlusion_query2, GL_ARB_point_sprite, GL_ARB_shading_language_100,
GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object,
GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
GL_OES_read_format, GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object,
GL_ARB_texture_compression_rgtc, GL_ARB_texture_rectangle,
GL_ATI_texture_compression_3dc, GL_EXT_pixel_buffer_object,
GL_EXT_texture_compression_rgtc, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_ARB_framebuffer_object,
GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
GL_EXT_packed_depth_stencil, GL_ARB_vertex_array_object,
GL_ATI_separate_stencil, GL_ATI_texture_mirror_once,
GL_EXT_gpu_program_parameters, GL_EXT_texture_compression_latc,
GL_EXT_texture_env_combine, GL_EXT_texture_sRGB_decode, GL_OES_EGL_image,
GL_ARB_copy_buffer, GL_ARB_half_float_vertex, GL_ARB_instanced_arrays,
GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
GL_NV_conditional_render, GL_ARB_draw_elements_base_vertex,
GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
GL_ARB_provoking_vertex, GL_ARB_sampler_objects,
GL_ARB_shader_texture_lod, GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
GL_MESA_texture_signed_rgba, GL_NV_texture_barrier, GL_ARB_robustness

Znurre
08-20-2011, 09:12 AM
Follow these instructions to install libs3tc: http://regnumonline.com.ar/forum/showthread.php?t=31371
You will have to replace the download link there, since it doesn't work anymore.
Use this one instead: http://bratheringsoverlay.googlecode.com/files/libtxc_dxtn-070518.tar.gz

Good luck!

Ditzydog
08-20-2011, 10:24 AM
thank you,

now i need to get ready to go to work, but tonight when i get home i am going to try it out.
will get back with the result

standistortion
08-20-2011, 10:43 AM
Just read install instructions for closed source ATI drivers in fedora here:
http://www.fedorafaq.org/#radeon
omfg they make it difficult. If you dont have a good reason to stick with fedora I would suggest trying ubuntu instead, you wont have this kind of difficulty and imho its simpler for new users to get comfortable with.

There are a lot of other good distros for folks new to linux, if you have any questions about any of them there are plenty of folks here who can give good advice.

If you need to stick with fedora dont be shy asking for help with anything. Couple of differences for fedora in the thread linked by Znurre:

Line 3 in the first list of commands:
wget http://homepage.hispeed.ch/rscheideg...n070518.tar.gz
would be
wget http://bratheringsoverlay.googlecode...-070518.tar.gz
as per the download link in Znurre's post

2nd quoted text:
sudo apt-get install mesa-common-dev
would be something like:
yum install mesa-libGL-devel
as root instead

Sorry if I'm telling you things you already know, good luck with it.

Ditzydog
08-20-2011, 09:53 PM
i would rather stick with Fedora for a while if possible (i kind of like it)
followed the instructions and it looks like it worked.
The game gives a small screen and checks the firewall (didnt get that far yet)

but then...

....[err][ui_elements][error_code_]

when i look it up it seems something about servers down, but is that true?
are servers down at the moment, or do i need to do something else now?

Ditzydog
08-20-2011, 11:28 PM
ignore the last question :p
problem looks solved ;)
Start playing and before i knew there allready was more that an hour gone :p

looks good.