LoadTGA problem on ioq3 Solaris..

vincent at cojot.name vincent at cojot.name
Fri Oct 28 18:34:17 EDT 2005


I'm a little farther down the road (still stuck on the q3lcc stuff but 
I'll see that tomorrow). It crashes at startup after opening a black 
Window (backtrace below with some extra info to show what it says at 
startup on Solaris...).

(gdb) run
Starting program: /net/thorbardin/export/home/raistlin/code/quake3/code/unix/debugsparc/SunOSquake3 
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000094
warning: Lowest section in /lib/libintl.so.1 is .dynamic at 00000074
ioQ3 1.33 Solaris-sparc Oct 29 2005
[...]
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
WARNING: tess.xyz not 16 byte aligned   <=======================????

------- Input Initialization -------
[...]
GL_VENDOR: Sun Microsystems, Inc.
GL_RENDERER: ZFB, VIS
GL_VERSION: 1.2 Sun OpenGL 1.3 patch 113886-31 for Solaris
[...]
PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: software w/ 0 overbright bits
CPU: 
rendering primitives: multiple glArrayElement
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: disabled
texenv add: disabled
[....]
compressed textures: disabled
Initializing Shaders
...loading 'scripts/lightningnew.shader'
[....]
----- finished R_Init -----

Program received signal SIGSEGV, Segmentation fault. <======================= Dies here..
0x00156628 in LoadTGA (name=0x5edba8 "gfx/2d/bigchars.tga", pic=0xffbfe120, width=0xffbfe128, height=0xffbfe124)
     at ../renderer/tr_image.c:1155
1155            targa_header.colormap_index = LittleShort ( *(short *)buf_p );
(gdb) bt
#0  0x00156628 in LoadTGA (name=0x5edba8 "gfx/2d/bigchars.tga", pic=0xffbfe120, width=0xffbfe128, height=0xffbfe124)
     at ../renderer/tr_image.c:1155
#1  0x00157d7c in R_LoadImage (name=0x5edba8 "gfx/2d/bigchars.tga", pic=0xffbfe120, width=0xffbfe128, height=0xffbfe124)
     at ../renderer/tr_image.c:1875
#2  0x001580c8 in R_FindImageFile (name=0x5edba8 "gfx/2d/bigchars.tga", mipmap=qfalse, allowPicmip=qfalse, glWrapClampMode=10497)
     at ../renderer/tr_image.c:1939
#3  0x00176cc8 in ParseStage (stage=0x6972b0, text=0xffbfe6f4) at ../renderer/tr_shader.c:640
#4  0x0017924c in ParseShader (text=0xffbfe6f4) at ../renderer/tr_shader.c:1441
#5  0x0017bb7c in R_FindShader (name=0x1a6830 "gfx/2d/bigchars", lightmapIndex=-4, mipRawImage=qtrue) at ../renderer/tr_shader.c:2487
#6  0x0017c54c in RE_RegisterShader (name=0x1a6830 "gfx/2d/bigchars") at ../renderer/tr_shader.c:2723
#7  0x0004c870 in CL_InitRenderer () at ../client/cl_main.c:2123
#8  0x0004c9a0 in CL_StartHunkUsers () at ../client/cl_main.c:2149
#9  0x00076ef0 in Com_Init (commandLine=0x9e6e98 "") at ../qcommon/common.c:2492
#10 0x0018c2dc in main (argc=1, argv=0xffbfee44) at ../unix/unix_main.c:1394

Any Ideas?

-- 
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote at NOSPAM4cojot.name

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost





More information about the quake3 mailing list