crash - Signal 11 on entering map

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » Tue Jun 20, 2006 10:47 pm

mana wrote:divVerent, i did everything from the console so far :)

and again, yes your binary crashes also but only when _not_ started with gdb and without the ulimit thing. see above.


I rephrase: it does not crash when the ulimit command has been executed (which does absolutely nothing more than enable core dumps)? Weird. What does "ulimit -a" say before executing my ulimit command?

Can you make the dedicated server crash too?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby mana » Tue Jun 20, 2006 10:55 pm

ulimit -a says:

Code: Select all
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 4085
max locked memory       (kbytes, -l) 256000
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 4085
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


Right it does not crash but brings me back to the main menu where then everything corresponds very slowly.
What is a dedicated server crash?

p.s.: dutch, german, french, whatever error-messages. This is how far internationalisation goes these days :D
mana
Member
 
Posts: 14
Joined: Sat Jun 17, 2006 1:55 pm

Postby Comp_Lex » Tue Jun 20, 2006 11:03 pm

Well, it seemed that I had to install alot of packages.... and it still seems that I have to install something...maybe not. This is what I'm getting now:

Code: Select all
/usr/bin/ld: cannot find -lXxf86dga


But if I'm doing "sudo apt-get install xf86dga" then the output is:

Code: Select all
xf86dga is reeds de nieuwste versie.


== xf86dga is already the newest version.

But when I'm doing "ld xf86dga" it simply states:

Code: Select all
ld: xf86dga: No such file: Onbekend bestand of map


"Onbekend bestand of map" == unknown file or directory
Comp_Lex
Newbie
 
Posts: 6
Joined: Mon Jun 19, 2006 11:45 am

Postby mana » Tue Jun 20, 2006 11:34 pm

sorry i cannot test and post during 24 hours from now on, as i am in Leipzig at the championchips :D

yours
mana
mana
Member
 
Posts: 14
Joined: Sat Jun 17, 2006 1:55 pm

Postby KadaverJack » Wed Jun 21, 2006 10:05 am

Comp_Lex wrote:But if I'm doing "sudo apt-get install xf86dga" then the output is:

Code: Select all
xf86dga is reeds de nieuwste versie.

Try installing xf86dga-dev (*-dev packages are required for every lib darkplaces needs).
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Comp_Lex » Wed Jun 21, 2006 10:52 am

Alright, this is the output of bt:

Code: Select all
#0  0x00002aaaad4059f5 in Reassociate () from /usr/lib/dri/fglrx_dri.so
#1  0x00002aaaad436d9e in KhanPs::RewriteInstWithUseVector ()
   from /usr/lib/dri/fglrx_dri.so
#2  0x00002aaaad3ee08e in IRInst::RewriteWithUseVector ()
   from /usr/lib/dri/fglrx_dri.so
#3  0x00002aaaad3ef6fc in CFG::RewriteWithUseVector ()
   from /usr/lib/dri/fglrx_dri.so
#4  0x00002aaaad3ee900 in CFG::Rewrite () from /usr/lib/dri/fglrx_dri.so
#5  0x00002aaaad3a2403 in Compiler::Compile () from /usr/lib/dri/fglrx_dri.so
#6  0x00002aaaad3a1d57 in Compiler::CompileShader ()
   from /usr/lib/dri/fglrx_dri.so
#7  0x00002aaaad3a0808 in CompilerExternal::CompileShader ()
   from /usr/lib/dri/fglrx_dri.so
#8  0x00002aaaad3a0043 in SCCompileShader () from /usr/lib/dri/fglrx_dri.so
#9  0x00002aaaad1213fc in __glscR300CompilePS () from /usr/lib/dri/fglrx_dri.so
#10 0x00002aaaad0e0e4e in __TranslateILtoR300FS ()
   from /usr/lib/dri/fglrx_dri.so
#11 0x00002aaaad0c52c9 in __R300GLSLLinkProgram ()
   from /usr/lib/dri/fglrx_dri.so
#12 0x00002aaaad071522 in __glslLinkProgram () from /usr/lib/dri/fglrx_dri.so
#13 0x00002aaaad071c95 in __glim_LinkProgramARB ()
   from /usr/lib/dri/fglrx_dri.so
#14 0x00002aaaacfcc7c7 in __fgl_glLinkProgramARB ()
#15 0x0000000000468d51 in GL_Backend_CompileProgram (vertexstrings_count=13,
    vertexstrings_list=0x7fffffbb0ce0, fragmentstrings_count=13,
    fragmentstrings_list=0x7fffffbaccd0) at gl_backend.c:827
#16 0x0000000000471c46 in R_GLSL_CompilePermutation (permutation=2)
    at gl_rmain.c:711
#17 0x000000000047250c in R_SetupSurfaceShader (lightcolorbase=0x877c38,
    modellighting=false) at gl_rmain.c:825
#18 0x000000000047d0ed in R_DrawTextureSurfaceList_GL20 (texturenumsurfaces=2,
    texturesurfacelist=0x7fffffbb4ef0) at gl_rmain.c:3039
#19 0x000000000047f122 in R_DrawTextureSurfaceList (texturenumsurfaces=2,
    texturesurfacelist=0x7fffffbb4ef0) at gl_rmain.c:3332
#20 0x000000000047f628 in R_QueueTextureSurfaceList (texturenumsurfaces=2,
    texturesurfacelist=0x7fffffbb4ef0) at gl_rmain.c:3407
#21 0x000000000047f98a in R_DrawSurfaces (ent=0x2aaabc2fe1a0,
    skysurfaces=false) at gl_rmain.c:3465
#22 0x0000000000482eee in R_Q1BSP_Draw (ent=0x2aaabc2fe1a0) at gl_rsurf.c:513
#23 0x0000000000477579 in R_RenderScene () at gl_rmain.c:1934
#24 0x0000000000476e9e in R_RenderView () at gl_rmain.c:1821
#25 0x000000000043e5b2 in SCR_DrawScreen () at cl_screen.c:1284
#26 0x000000000043f5f9 in CL_UpdateScreen () at cl_screen.c:1535
#27 0x000000000048a536 in Host_Main () at host.c:787
#28 0x000000000040383b in main (argc=2, argv=0x7fffffbb7268) at sys_linux.c:252
Comp_Lex
Newbie
 
Posts: 6
Joined: Mon Jun 19, 2006 11:45 am

Postby divVerent » Wed Jun 21, 2006 2:39 pm

Comp_Lex wrote:Alright, this is the output of bt:

Code: Select all
#0  0x00002aaaad4059f5 in Reassociate () from /usr/lib/dri/fglrx_dri.so
#14 0x00002aaaacfcc7c7 in __fgl_glLinkProgramARB ()
#15 0x0000000000468d51 in GL_Backend_CompileProgram (vertexstrings_count=13,
    vertexstrings_list=0x7fffffbb0ce0, fragmentstrings_count=13,
    fragmentstrings_list=0x7fffffbaccd0) at gl_backend.c:827
#16 0x0000000000471c46 in R_GLSL_CompilePermutation (permutation=2)
    at gl_rmain.c:711
#17 0x000000000047250c in R_SetupSurfaceShader (lightcolorbase=0x877c38,
    modellighting=false) at gl_rmain.c:825


Looks like we can't fix this because it isn't our bug but ATI's. As a workaround, set "OpenGL 2.0 Shaders" to off or, on the console, set "r_glsl 0". This will turn off the part that crashes, but also disable most of the graphics effects. Apparently this function sometimes works without crash and sometimes crashes (that is, __fgl_glLinkProgramARB).

Maybe we can work around it somehow, but for that someone of us would need to buy an ATI card, and probably nobody here wants to ;)

Seriously, I don't have a spare fast enough PC. At university there is one I could use, but I don't have an ATI for it and I don't feel like buying one of the faster and expensive ones. Can you recommend a cheap ATI that is supported by the fglrx driver?

*edit* do you have the current version of the fglrx driver? See https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=300. They also seem to have both a "certified" and a "current" driver - you might be better off trying the other one.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby KadaverJack » Wed Jun 21, 2006 2:46 pm

divVerent wrote:Can you recommend a cheap ATI that is supported by the fglrx driver?

That might not work at all... Mana & Comp_Lex are both using Radeon Mobility chips, so it might be a problem with that chipset family in particular.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Comp_Lex » Wed Jun 21, 2006 5:43 pm

I'm using their latest driver (8.25.18)
Comp_Lex
Newbie
 
Posts: 6
Joined: Mon Jun 19, 2006 11:45 am

Postby mana » Thu Jun 22, 2006 8:32 pm

ah those damn ati-guys right? Thanks for the analysis divVerent. I will come back with my nvidia-empored system later :)
Or in other words, forget about spending money and time in working on hacks because of buggy drivers. Guess how many fixes opensource ati-drivers would have gotton from all the projects that suffer from bad graphics drivers these days ...

see you guys

Mana
mana
Member
 
Posts: 14
Joined: Sat Jun 17, 2006 1:55 pm

PreviousNext

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron