OpenTechEngine / OpenTechBFG

Engine based on (RB) Doom 3 BFG aiming to allow the creation of standalone games
Other
84 stars 11 forks source link

png loading is broken #14

Closed kortemik closed 9 years ago

kortemik commented 9 years ago

(gdb) info stack

0 0x0000003ec4a35887 in raise () from /lib64/libc.so.6

1 0x0000003ec4a36f78 in abort () from /lib64/libc.so.6

2 0x0000003ec4a75ad4 in __libc_message () from /lib64/libc.so.6

3 0x0000003ec4a7cdf8 in _int_free () from /lib64/libc.so.6

4 0x0000000000bd5601 in Mem_Free16 (ptr=0x545117e) at /home/kordex/idtech4/OpenTechBFG/neo/idlib/Heap.cpp:93

5 0x00000000005f9070 in Mem_Free (ptr=0x545117e) at /home/kordex/idtech4/OpenTechBFG/neo/idlib/../idlib/Heap.h:193

6 0x00000000007545d6 in LoadPNG (filename=0x5446f60 "textures/concrete/yellow_d.png", pic=0x7ffffffde830, width=0x7ffffffde840,

height=0x7ffffffde83c, timestamp=0x7ffffffde480) at /home/kordex/idtech4/OpenTechBFG/neo/renderer/Image_files.cpp:778

7 0x0000000000754b26 in R_LoadImage (cname=0x5446f90 "textures/concrete/yellow_d.png", pic=0x7ffffffde830, width=0x7ffffffde840,

height=0x7ffffffde83c, timestamp=0x7ffffffde480, makePowerOf2=true)
at /home/kordex/idtech4/OpenTechBFG/neo/renderer/Image_files.cpp:957

8 0x000000000071fb6d in R_ParseImageProgram_r (src=..., pic=0x7ffffffde830, width=0x7ffffffde840, height=0x7ffffffde83c,

timestamps=0x544f368, usage=0x544f338) at /home/kordex/idtech4/OpenTechBFG/neo/renderer/Image_program.cpp:697

9 0x000000000071fccc in R_LoadImageProgram (name=0x544d7e0 "textures/concrete/yellow_d.png", pic=0x7ffffffde830,

width=0x7ffffffde840, height=0x7ffffffde83c, timestamps=0x544f368, usage=0x544f338)
at /home/kordex/idtech4/OpenTechBFG/neo/renderer/Image_program.cpp:735

10 0x0000000000727477 in idImage::ActuallyLoadImage (this=0x544f300, fromBackEnd=false)

at /home/kordex/idtech4/OpenTechBFG/neo/renderer/Image_load.cpp:519

11 0x0000000000708587 in idImageManager::ImageFromFile (this=0x140fe40 ,

_name=0x7ffffffdeb60 "textures/concrete/yellow_d.png", filter=TF_DEFAULT, repeat=TR_REPEAT, usage=TD_DIFFUSE, cubeMap=CF_2D)
at /home/kordex/idtech4/OpenTechBFG/neo/renderer/ImageManager.cpp:530

12 0x00000000007014d6 in idMaterial::ParseStage (this=0x544f150, src=..., trpDefault=TR_REPEAT)

at /home/kordex/idtech4/OpenTechBFG/neo/renderer/Material.cpp:1954

13 0x0000000000702c9a in idMaterial::ParseMaterial (this=0x544f150, src=...)

at /home/kordex/idtech4/OpenTechBFG/neo/renderer/Material.cpp:2486