sdsanches / iphonewavefrontloader

Automatically exported from code.google.com/p/iphonewavefrontloader
0 stars 0 forks source link

doesn't run on iPod touch #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I loaded the application onto an iPod Touch running OS 2.2.1, eventually
overcame various 0xE800003A type errors. The app copies over, but I run it
and it just gets a black screen. (It runs perfectly in the simulator, however.)

Any ideas?

Here is the crash log: 

Incident Identifier: 83605773-C84E-47C5-B86C-52EFA4798272
CrashReporter Key:   b178d5fc4c73c3161882eceb73ed13605e2eb4a3
Process:         Wavefront OBJ Loader [160]
Path:           
/var/mobile/Applications/74BA0C81-7B55-444D-9EA1-AFE0F153336B/Wavefront OBJ
Loader.app/Wavefront OBJ Loader
Identifier:      Wavefront OBJ Loader
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2009-04-09 12:51:10.296 -0400
OS Version:      iPhone OS 2.2.1 (5H11a)
Report Version:  103

Exception Type:  00000020
Exception Codes: 0x8badf00d
Highlighted Thread:  0

Application Specific Information:
Failed to launch

Thread 0:
0   Wavefront OBJ Loader            0x00002772 -[OpenGLWaveFrontObject
initWithPath:] (OpenGLWaveFrontObject.m:107)
1   Wavefront OBJ Loader            0x000083ba -[GLViewController
setupView:] (GLViewController.m:95)
2   Wavefront OBJ Loader            0x000094b2 -[GLView drawView] (GLView.m:171)
3   Wavefront OBJ Loader            0x00008fe6 -[GLView layoutSubviews]
(GLView.m:91)
4   UIKit                           0x30a73bd4 -[UIView(CALayerDelegate)
_layoutSublayersOfLayer:] + 32
5   QuartzCore                      0x31dd60e8 -[CALayer layoutSublayers] + 56
6   QuartzCore                      0x31dd5ff8 CALayerLayoutIfNeeded + 192
7   QuartzCore                      0x31dd576c CAContextCommitTransaction + 176
8   QuartzCore                      0x31dd5434 CATransactionCommit + 260
9   CoreFoundation                  0x3026a0e6 __CFRunLoopDoObservers + 380
10  CoreFoundation                  0x3026991a CFRunLoopRunSpecific + 1508
11  CoreFoundation                  0x30269320 CFRunLoopRunInMode + 44
12  GraphicsServices                0x31567e58 GSEventRunModal + 268
13  UIKit                           0x30a4fa6c -[UIApplication _run] + 520
14  UIKit                           0x30a591d0 UIApplicationMain + 1132
15  Wavefront OBJ Loader            0x000020a4 main (main.m:15)
16  Wavefront OBJ Loader            0x0000202c start + 44

Thread 1:
0   libSystem.B.dylib               0x3146baa4 mach_msg_trap + 20
1   libSystem.B.dylib               0x31468b70 mach_msg + 60
2   CoreFoundation                  0x30269748 CFRunLoopRunSpecific + 1042
3   CoreFoundation                  0x30269320 CFRunLoopRunInMode + 44
4   WebCore                         0x32bc0740 RunWebThread + 340
5   libSystem.B.dylib               0x31461786 _pthread_body + 34

Thread 2:
0   libSystem.B.dylib               0x3146baa4 mach_msg_trap + 20
1   libSystem.B.dylib               0x31468b70 mach_msg + 60
2   GraphicsServices                0x3156aca8 EventReceiveThread + 504
3   libSystem.B.dylib               0x31461786 _pthread_body + 34

Unknown thread crashed with unknown flavor: 5, state_count: 1

Binary Images:
    0x1000 -     0xafff +Wavefront OBJ Loader ??? (???)
<50a4115587a0ccbe16e7fcc65981f19a>
/var/mobile/Applications/74BA0C81-7B55-444D-9EA1-AFE0F153336B/Wavefront OBJ
Loader.app/Wavefront OBJ Loader
   0xa9000 -    0xaafff  dns.so ??? (???)
<7e54f40c0e9e0860314e49c290b340a3> /usr/lib/info/dns.so
0x2fe00000 - 0x2fe22fff  dyld ??? (???) <f6a50d5f57a676b54276d0ecef46d5f0>
/usr/lib/dyld
0x30000000 - 0x30008fff  libgcc_s.1.dylib ??? (???)
<2c68d752c35e553ce4944253c3e7aa02> /usr/lib/libgcc_s.1.dylib
0x3000c000 - 0x30079fff  libstdc++.6.dylib ??? (???)
<810ba7a889418c2fa42c2d82676249be> /usr/lib/libstdc++.6.dylib
0x300bb000 - 0x301a8fff  libobjc.A.dylib ??? (???)
<9b4b6a1caf13c2adfb8d235e76ec0618> /usr/lib/libobjc.A.dylib
0x301f9000 - 0x30200fff  libbsm.dylib ??? (???)
<f07f6291583d6e883f529b925f767cf6> /usr/lib/libbsm.dylib
0x30204000 - 0x30212fff  libz.1.dylib ??? (???)
<b590559dfa798361013a0f6e31018df7> /usr/lib/libz.1.dylib
0x30237000 - 0x302ddfff  CoreFoundation ??? (???)
<e461335556641a9049d6e12c53ffc13a>
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x303a1000 - 0x30430fff  libsqlite3.0.dylib ??? (???)
<693269a3109bff32213a75a815e6cfe4> /usr/lib/libsqlite3.0.dylib
0x3066c000 - 0x3073ffff  Foundation ??? (???)
<2f0bb76cfade98f2e82f6ca281bca713>
/System/Library/Frameworks/Foundation.framework/Foundation
0x3085c000 - 0x30866fff  CoreVideo ??? (???)
<b6f9991ce47441fc89d4badec7f3c4e6>
/System/Library/PrivateFrameworks/CoreVideo.framework/CoreVideo
0x30875000 - 0x30884fff  AppSupport ??? (???)
<db82c3fc166570ea397ee1a3db682d55>
/System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x30891000 - 0x30896fff  liblockdown.dylib ??? (???)
<31770f505dbc8e7f93165b075313dd93> /usr/lib/liblockdown.dylib
0x30a45000 - 0x30cc7fff  UIKit ??? (???) <9d01f1e817aeeb32a7baa24dce8dcddf>
/System/Library/Frameworks/UIKit.framework/UIKit
0x30f53000 - 0x30fd5fff  com.apple.framework.IOKit 1.5.1 (???)
<20aeee7efe340c9d7b2acc82221bb923>
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x30ff3000 - 0x311a4fff  com.apple.CoreGraphics 1.359.13 (???)
<62747319453a181e5b507100afe3dac2>
/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x311f3000 - 0x31242fff  CFNetwork ??? (???)
<c99a3a401edecf543a6814982376fdea>
/System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x31270000 - 0x312a6fff  OpenGLES ??? (???)
<d93585c3ba5bc619845e0cbb931b2b82>
/System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x312b2000 - 0x3137afff  JavaScriptCore ??? (???)
<03567ce85a6b3f826de52833e35da633>
/System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x313fa000 - 0x31521fff  libSystem.B.dylib ??? (???)
<0fc9fef437491a94d875daf247f36fbc> /usr/lib/libSystem.B.dylib
0x31564000 - 0x3156ffff  GraphicsServices ??? (???)
<02da76f5933f98481eee4e3f1b4b1c10>
/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x3158b000 - 0x315c0fff  Security ??? (???)
<7c0b94dedc0363335b62de411a4c53c0>
/System/Library/Frameworks/Security.framework/Security
0x315d9000 - 0x31686fff  ImageIO ??? (???)
<b85f0939025af03f5b006fe3cdbae76b>
/System/Library/PrivateFrameworks/ImageIO.framework/ImageIO
0x31822000 - 0x3184ffff  SystemConfiguration ??? (???)
<b673ff214ecb18f48ab3809c68b9f82c>
/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x31946000 - 0x319b6fff  CoreAudio ??? (???)
<66c5fd8f095c2e6c399240959674756e>
/System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x31ad4000 - 0x31aeefff  AddressBook ??? (???)
<87f470763ba528f47d58f7e9486dfc42>
/System/Library/Frameworks/AddressBook.framework/AddressBook
0x31bcd000 - 0x31bd2fff  MBX2D ??? (???) <0f0d56c6fde0670732a89cc3166bbced>
/System/Library/PrivateFrameworks/MBX2D.framework/MBX2D
0x31bd6000 - 0x31bd7fff  MBXConnect ??? (???)
<5cb05b6860d3e5d31e2907344c60ddbc>
/System/Library/PrivateFrameworks/MBXConnect.framework/MBXConnect
0x31dcd000 - 0x31e4cfff  QuartzCore ??? (???)
<cb1aa94a3175bc326223fa7551b4d47c>
/System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x31e85000 - 0x31e87fff  CoreSurface ??? (???)
<6aabe16c45a9ac9ec358efcb8e74ee2b>
/System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x31e8c000 - 0x31e8dfff  IOMobileFramebuffer ??? (???)
<2622d9270459e18635ac3b9abe184249>
/System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuf
fer
0x3213e000 - 0x32223fff  libicucore.A.dylib ??? (???)
<ae540de6fb39ea79d564dded1607e1ae> /usr/lib/libicucore.A.dylib
0x32409000 - 0x324dafff  libxml2.2.dylib ??? (???)
<8784b9ffec64404a6a26fefe67ba45bd> /usr/lib/libxml2.2.dylib
0x325ec000 - 0x32c89fff  WebCore ??? (???)
<5ddaa2736116d1f8fae09e113b64037b>
/System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x32fcb000 - 0x33051fff  WebKit ??? (???)
<5cba5d32b2f5de0b72384b14f13df575>
/System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x33404000 - 0x33442fff  libCGFreetype.A.dylib ??? (???)
<adbae889ac28b4d42297bcf951c9ae2e>
/System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dyli
b
0x33d10000 - 0x33d16fff  SpringBoardServices ??? (???)
<dffc7baf9374e6ccc3dc75bfa4294ae1>
/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServi
ces
0x344ec000 - 0x34509fff  libresolv.9.dylib ??? (???)
<d2cf3f40b8297909dcfd2ee83326af8c> /usr/lib/libresolv.9.dylib
0x34884000 - 0x3499dfff  AudioToolbox ??? (???)
<176bbb6b69d15cf4262fe5de5874eba3>
/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox

Original issue reported on code.google.com by ispiro on 9 Apr 2009 at 4:54

GoogleCodeExporter commented 8 years ago
Note- tried your earlier hello world
(http://iphonedevelopment.blogspot.com/2009/03/wavefront-obj-loader-open-sourced
-to.html)
and it works.

Original comment by ispiro on 9 Apr 2009 at 4:57

GoogleCodeExporter commented 8 years ago
I guess this was using the plane3 model.

Just dont load the plane3 model in IPhone/ IPod, it will be running nicely.

That particular model is too heavy for iPhone to parse i uess.

Original comment by saptarsh...@gmail.com on 28 Apr 2009 at 11:14

GoogleCodeExporter commented 8 years ago
Worked for me on an iPhone (3G, OS 2.2.1) even with the plane3 model it just 
took a
while:
Duration: 230.829079

Once loaded the rendering seemed normal, just about the same as in the 
simulator.

Original comment by gcow...@gmail.com on 30 May 2009 at 10:19

GoogleCodeExporter commented 8 years ago
I also just ran the project on an iPod Touch and the plane took 185.924529 
seconds to
load. Just let it sit longer and I'm confident it will work for you.

Original comment by jtib...@gmail.com on 10 Jun 2009 at 5:22