View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000096 | Spring engine | Linux | public | 2006-03-01 02:17 | 2006-03-03 11:54 | ||||
Reporter | AndreasPokorny | ||||||||
Assigned To | tvo | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000096: Spring crashes while generating texture from "bitmaps/loadpictures/start1.jpg" | ||||||||
Description | Current 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 Information | I 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? | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
tvo (reporter) 2006-03-01 08:52 |
> 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 (reporter) 2006-03-01 10:42 |
some different shapred pictures work in general: work: 256x512 256x513 1024x1280 1024x1281 513x256 1200x1024 1024x2048 1279x1024 fail: 2048x1024 1281x1024 1280x1024 |
tvo (reporter) 2006-03-03 11:05 |
fixed according to commit 950 |
tvo (reporter) 2006-03-03 11:54 |
hmm, it's broken here now (just a 'dark' white loading screen instead of the pictures from XTAPEV3.sd7) |
![]() |
|||
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 |