Ticket #208 (closed defect: worksforme)

Opened 4 years ago

Last modified 2 years ago

Isotest with VBO crashes on Macbook Pro / ATI Radeon X1600

Reported by: dan@… Owned by: thebolt
Priority: major Milestone:
Component: renderer Version: V1.0rc1
Keywords: mac os, ati, vbo, isotest Cc: dan@…

Description

Running CS 1.0rc1 from November 29th on Mac OS X Tiger, Macbook Pro

Isotest crashes with the stack trace:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000001

Thread 0 Crashed:
0   ...pple.ATIRadeonX1000GLDriver 	0x0c6230c2 gldPageoffBuffer + 6600
1   GLEngine                       	0x0c548256 gleDrawArraysOrElements_VBO_Exec + 1606
2   libGL.dylib                    	0x92b158bd glDrawRangeElements + 118
3   gl3d.csbundle                  	0x0b179162 csGLGraphics3D::DrawMesh(csCoreRenderMesh const*, csRenderMeshModes const&, iShaderVarStack const*) + 3586 (gl_render3d.cpp:1811)
4   rendstep_std.csbundle          	0x132add51 csGenericRenderStep::RenderMeshes(iRenderView*, iGraphics3D*, ShaderVarPusher const&, unsigned long, meshInfo*, csRenderMesh**, unsigned long, iShaderVarStack*) + 1045 (generic.cpp:290)
5   rendstep_std.csbundle          	0x132668a2 csGenericRenderStep::Perform(iRenderView*, iSector*, iLight*, iShaderVarStack*) + 2968 (generic.cpp:609)
6   rendstep_std.csbundle          	0x1326529d csGenericRenderStep::Perform(iRenderView*, iSector*, iShaderVarStack*) + 53 (generic.cpp:308)
7   engine.csbundle                	0x0c92da65 csRenderLoop::Draw(iRenderView*, iSector*, iMeshWrapper*) + 463 (renderloop.cpp:81)
8   engine.csbundle                	0x0c9035af csEngine::Draw(iCamera*, iClipper2D*, iMeshWrapper*) + 479 (engine.cpp:1471)
9   isotest                        	0x00011a07 csView::Draw(iMeshWrapper*) + 221 (csview.cpp:161)
10  isotest                        	0x00004639 IsoTest::SetupFrame() + 3077 (isotest.cpp:189)
11  isotest                        	0x00004ae8 IsoTest::HandleEvent(iEvent&) + 46 (isotest.cpp:227)
12  isotest                        	0x00004c5d IsoTest::IsoTestEventHandler(iEvent&) + 47 (isotest.cpp:292)
13  isotest                        	0x0006c0e8 csAppEventHandler::HandleEvent(iEvent&) + 20 (initapp.cpp:429)
14  isotest                        	0x0003d416 csEventTree::Dispatch(iEvent&) + 232 (cssubscription.cpp:576)
15  isotest                        	0x0003d4db csEventTree::Notify() + 121 (cssubscription.cpp:546)
16  isotest                        	0x000204d0 csEventQueue::Notify(unsigned long const&) + 148 (cseventq.cpp:279)
17  isotest                        	0x00084d03 csEventQueue::iTypedFrameEventDispatcher::HandleEvent(iEvent&) + 39 (cseventq.h:263)
18  isotest                        	0x0003d416 csEventTree::Dispatch(iEvent&) + 232 (cssubscription.cpp:576)
19  isotest                        	0x0003d4db csEventTree::Notify() + 121 (cssubscription.cpp:546)
20  isotest                        	0x000204d0 csEventQueue::Notify(unsigned long const&) + 148 (cseventq.cpp:279)
21  isotest                        	0x000205a8 csEventQueue::Process() + 210 (cseventq.cpp:294)
22  isotest                        	0x00008898 OSXAssistant::advance_state() + 128 (OSXAssistant.cpp:184)
23  isotest                        	0x000070f6 OSXAssistant_advance_state + 24 (OSXAssistant.cpp:258)
24  isotest                        	0x0001487f -[OSXDelegate applicationDefined:] + 26 (OSXDelegate.m:207)
25  com.apple.Foundation           	0x925ed207 _nsnote_callback + 230
26  com.apple.CoreFoundation       	0x90851649 __CFXNotificationPost + 345
27  com.apple.CoreFoundation       	0x90848e80 _CFXNotificationPostNotification + 600
28  com.apple.Foundation           	0x925e5860 -[NSNotificationCenter postNotificationName:object:userInfo:] + 121
29  com.apple.Foundation           	0x925ec755 -[NSNotificationCenter postNotificationName:object:] + 55
30  isotest                        	0x0001472b -[OSXApplication sendEvent:] + 207 (OSXDelegate.m:147)
31  com.apple.AppKit               	0x93268dfe -[NSApplication run] + 547
32  isotest                        	0x00015bfa -[OSXDelegate startEventLoop] + 120 (OSXDelegate.m:636)
33  isotest                        	0x00015c3a OSXDelegate_start_event_loop + 35 (OSXDelegate.m:640)
34  isotest                        	0x00008a58 OSXAssistant::start_event_loop() + 110 (OSXAssistant.cpp:160)
35  isotest                        	0x00007911 csDefaultRunLoop(iObjectRegistry*) + 199 (OSXAssistant.cpp:332)
36  isotest                        	0x000030ed IsoTest::Start() + 19 (isotest.cpp:522)
37  isotest                        	0x00005ac9 main + 125 (isotest.cpp:536)
38  isotest                        	0x000021be _start + 216
39  isotest                        	0x000020e5 start + 41


Without VBO it runs.

The renderer is ATI Radeon X1600 OpenGL Engine (vendor: ATI Technologies Inc.) version 2.0 ATI-1.4.40

Attachments

verbose-21022007.txt Download (48.0 KB) - added by dan@… 3 years ago.
Verbose log of the crashing app
crash-21022007.txt Download (21.7 KB) - added by dan@… 3 years ago.
Crash description from Mac OS X

Change History

Changed 3 years ago by thebolt

  • cc dan@… added

Could this be retested with latest SVN? I have reworked the VBO code in part, should make it more roboust and handle some corner cases better.

Changed 3 years ago by dan@…

I used CS 1.0.1 (latest SVN didn't work for some reason) and I got the same error. Should I still try SVN?

Changed 3 years ago by res

Only bugfixes go into the 1.0 branch now; the reworked VBO code can indeed only be found in the SVN trunk. So please try that, too...

Changed 3 years ago by dan@…

Checked out the SVN today (21.02) and it still crashes :( Configured with ./configure --enable-debug (crashes on release too).

I'll attach a verbose log and a new crash log (the line numbers have changed).

Changed 3 years ago by dan@…

Verbose log of the crashing app

Changed 3 years ago by dan@…

Crash description from Mac OS X

Changed 2 years ago by jorrit

  • status changed from new to closed
  • resolution set to worksforme

Too old to be valid.

Add/Change #208 (Isotest with VBO crashes on Macbook Pro / ATI Radeon X1600)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
 
Note: See TracTickets for help on using tickets.