View Issue Details

IDProjectCategoryView StatusLast Update
0000096Spring engineLinuxpublic2006-03-03 11:54
ReporterAndreasPokorny Assigned Totvo  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000096: Spring crashes while generating texture from "bitmaps/loadpictures/start1.jpg"
DescriptionCurrent revision 924, dies with a segmentation fault inside:

0x00002aaaabec8a9f in gluBuild2DMipmapLevelsCore () from /usr/lib/libGLU.so.1
(gdb) bt
#0 0x00002aaaabec8a9f in gluBuild2DMipmapLevelsCore () from /usr/lib/libGLU.so.1
#1 0x00002aaaabeca662 in gluBuild2DMipmaps () from /usr/lib/libGLU.so.1
#2 0x00000000004b45ea in CBitmap::CreateTexture (this=0x7fffffaceee0, mipmaps=true)
0000003 0x0000000000436b95 in LoadStartPicture()

Additional InformationI already stepped through the loading code the 7z-Archive,
the memory pointer passed to gluBuild2DMipmaps seems to be correct.
The data inside the memory is accessible in the debugger,
xisze=1280, ysize=1024.

This looks like a driver bug, it seems to work if I replace the start1.jpg
with a different smaller file with a symetric power of two size.

I thought gluBuild2DMipmaps is supposed to be able to work with any image size?
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

tvo

2006-03-01 08:52

reporter   ~0000081

> I thought gluBuild2DMipmaps is supposed to be able to work with any image size?

I'm not so sure about that. If I recall correctly width and height must both be a power of two. (but width doesn't have to equal height)

AndreasPokorny

2006-03-01 10:42

reporter   ~0000084

some different shapred pictures work in general:

work: 256x512 256x513 1024x1280 1024x1281 513x256 1200x1024 1024x2048 1279x1024

fail: 2048x1024 1281x1024 1280x1024

tvo

2006-03-03 11:05

reporter   ~0000093

fixed according to commit 950

tvo

2006-03-03 11:54

reporter   ~0000094

hmm, it's broken here now (just a 'dark' white loading screen instead of the pictures from XTAPEV3.sd7)

Issue History

Date Modified Username Field Change
2006-03-01 02:17 AndreasPokorny New Issue
2006-03-01 02:17 AndreasPokorny Status new => assigned
2006-03-01 02:17 AndreasPokorny Assigned To => tvo
2006-03-01 08:52 tvo Note Added: 0000081
2006-03-01 10:42 AndreasPokorny Note Added: 0000084
2006-03-03 11:05 tvo Status assigned => resolved
2006-03-03 11:05 tvo Resolution open => fixed
2006-03-03 11:05 tvo Note Added: 0000093
2006-03-03 11:54 tvo Note Added: 0000094