Opened 16 years ago

Closed 13 years ago

#2196 closed enhancement (fixed)

testgl fails

Reported by: scottmc Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/OpenGL Kit Version: R1/Development
Keywords: Cc: andreasf, umccullough
Blocked By: Blocking:
Platform: x86

Description

Everything for the SDL library appears to build correctly, but three of the tests fail, testgamma, testdyngl, and testgl. Attached is a screencap of the testgl debug dump. It looks like mesa got linked in, so I'm puzzled why it's failing the test. Perhaps it requires hardwareGL? Maybe someone can make heads or tails of the screencap and recommend further debugging tests?

Attachments (5)

testgl-fails.png (126.6 KB ) - added by scottmc 16 years ago.
This testgl failure was on build hrev25283 with SDL1.2.13
testgl-bt.png (113.1 KB ) - added by scottmc 16 years ago.
bt on testgl debug
testgl-bt2.png (54.3 KB ) - added by scottmc 16 years ago.
bt of testgl run with new build of libSDL on hrev25627
SDL-tests-1.zip (379.3 KB ) - added by scottmc 16 years ago.
SDL test programs, part 1 of 2
SDL-tests-2.zip (209.7 KB ) - added by scottmc 16 years ago.
SDL test programs, part 2 of 2

Download all attachments as: .zip

Change History (15)

by scottmc, 16 years ago

Attachment: testgl-fails.png added

This testgl failure was on build hrev25283 with SDL1.2.13

comment:1 by andreasf, 16 years ago

Cc: andreasf added
Platform: Allx86

The actual error message is in the fifth line of your screenshot:

Thread 23214 called debugger(): looper must be locked before proceeding

Since it runs to that point, it likely has nothing to do with linking.

What does bt say?

by scottmc, 16 years ago

Attachment: testgl-bt.png added

bt on testgl debug

by scottmc, 16 years ago

Attachment: testgl-bt2.png added

bt of testgl run with new build of libSDL on hrev25627

by scottmc, 16 years ago

Attachment: SDL-tests-1.zip added

SDL test programs, part 1 of 2

by scottmc, 16 years ago

Attachment: SDL-tests-2.zip added

SDL test programs, part 2 of 2

comment:2 by scottmc, 16 years ago

Here's a link to a native Haiku compiled SDL library, version 1.2.13, with both shared and static libs: http://ports.haiku-files.org/downloads/12 I've attached the test files to this ticket to help out testing any fixes to this.

comment:3 by scottmc, 15 years ago

Need to recheck this as there's been a recent change made to the testgl.c program which may or may not affect this: http://lists.libsdl.org/pipermail/sdl-libsdl.org/2009-March/069141.html

comment:4 by scottmc, 15 years ago

testgl is still not working right even with the recent SDL patch: http://ports.haiku-files.org/changeset/358 But it's not crashing like it used to, but it has to be forcefully killed off now.

comment:5 by scottmc, 15 years ago

Checked on hrev33067 R1/alpha1 build, with the SDL-1.2.14 pre-release, these three tests are still failing. I'll try it again with a more recent Haiku build as I recall seeing updates to mesa since the hrev33109 alpha release.

comment:6 by axeld, 14 years ago

Component: - GeneralKits/OpenGL Kit
Owner: changed from axeld to nobody
Version: R1/pre-alpha1R1/Development

comment:7 by scottmc, 14 years ago

This is still failing with the Haiku R1A2 build. Here's a related ticket on HaikuPorts trac: http://ports.haiku-files.org/ticket/268

comment:8 by umccullough, 13 years ago

Cc: umccullough added

comment:9 by umccullough, 13 years ago

I added a patch to HaikuPorts ticket 268 which seems to get testgl working at least.

comment:10 by scottmc, 13 years ago

Resolution: fixed
Status: newclosed

This was fixed with umccullough's patch which was added to haikuports a few months ago: http://ports.haiku-files.org/changeset/1263/

Note: See TracTickets for help on using tickets.