Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-12-2011, 11:06 AM   #1 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 2
artbox is on a distinguished road
Default OpenGL calls causes Simulator to crash on Sandy Bridge mcbook

Hi

on the new Sandy Bridge Mcbook pro (2011), the IOS simulator (4.3 Target) will systematically crash when some OpenGL functions are called. Testing for 4.2 works fine though.
Even the default Xcode OpenGL ES project template doesn't work.
I've tried reinstalling XCode 3.2.6,
Xcode 4, and even reinstalled OSX from scratch but without any success.

Anyone has similar pb? could it be a hardware related issue on the new MBP (Sandy Bridge), coz the same code would work perfectly on a 2010 MBP, 2009 iMac, and 2008 mcbook?

So far I've managed to pin down the 'glDrawArrays()' function to be the cause of the crashes. and here is beginning of the error msg i get in the debug:


LVM ERROR: Cannot yet select: 0x5831d10: v4i32 = bit_convert 0x5838350 ORD=129] [ID=69]
0x5838350: v8i16 = X86ISD::PUNPCKLWD 0x58157b8, 0x5832370 [ID=68]
0x58157b8: v8i16 = bit_convert 0x58382c8 [ORD=127] [ID=67]
0x58382c8: v16i8 = X86ISD::PUNPCKLBW 0x58158c8, 0x5838718 [ID=66]
....
..
.


thanks
artbox is offline   Reply With Quote
Old 03-15-2011, 10:42 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 3
dene22 is on a distinguished road
Default

I also have the new Sandy Bridge MBP and I'm having exactly the same issue.
Like you, I found the crash to occur when the glDrawArrays function is called. I'm getting the same error message.

The issue started happening when I began using the iOS SDK 4.3 to compile the GLPaint sample from Apple. The default Xcode OpenGL ES template doesn't work for me either.

The 4.2 SDK works with no problems.

Please help...

Last edited by dene22; 03-15-2011 at 10:46 PM.
dene22 is offline   Reply With Quote
Old 03-15-2011, 10:50 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 3
dene22 is on a distinguished road
Default

The problem started also having just upgraded to Xcode 4.
dene22 is offline   Reply With Quote
Old 03-21-2011, 09:51 AM   #4 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 1
trmays is on a distinguished road
Default Same problem

I have the exact same problem. Has anyone seen a solution yet?
trmays is offline   Reply With Quote
Old 03-21-2011, 10:32 AM   #5 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 3
dene22 is on a distinguished road
Default

The only case in which there is a problem for me is in the iPhone 4.3 Simulator.
Testing on my iPhone device with iOS 4.3 installed works.
Testing in the iPhone 4.2 Simulator also works.

I'm using Xcode 4.
dene22 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 425
5 members and 420 guests
chemistry, hussain1982, Retouchable, skrew88, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,128
Posts: 402,921
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:14 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0