Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12364] CLI: iOS: build fails if using latest 3.0.2.v20130121114704 on iOS simulator

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-01-23T01:23:41.000+0000
Affected Version/sRelease 3.0.2
Fix Version/sRelease 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02
ComponentsCLI
Labelsregression
ReporterFederico Casali
AssigneeBryan Hughes
Created2013-01-22T01:49:52.000+0000
Updated2014-06-19T12:44:04.000+0000

Description

Problem description

Cannot build/run an app using latest TiSDK 3.0.2.v20130121114704 on iOS simulator

Steps to reproduce and Error Log

Create a new project and build/run on iOS simulator Result: Simulator crashes
[INFO] :  Build type: development
[INFO] :  Building for target: simulator
[INFO] :  Building using iOS SDK: 6.0
[INFO] :  Building for iOS iPhone Simulator: 6.0
[INFO] :  Building for device family: iphone
[INFO] :  Building for iOS 6.0; using 4.3 as minimum iOS version
[INFO] :  Debugging disabled
[INFO] :  Cleaning old build directory
[INFO] :  No Titanium Modules required, continuing
[INFO] :  Performing full rebuild
[INFO] :  Copying Xcode iOS files
[INFO] :  Creating Xcode project directory: /Users/fcasali/development/Titanium Studio Workspace/FedeSink2/build/iphone/FedeSink2.xcodeproj
[INFO] :  Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
[INFO] :  Writing Xcode project configuration: project.xcconfig
[INFO] :  Writing Xcode module configuration: module.xcconfig
[INFO] :  Creating symlinks for simulator build
[INFO] :  Writing properties to ApplicationDefaults.m
[INFO] :  No module resources to copy
[INFO] :  No CommonJS modules to copy
[INFO] :  Finished building the application in 35s 331ms
[INFO] :  Running application in iOS Simulator
[INFO] :  Launching application in iOS Simulator
[INFO] :  iPhone Simulator log:
timers.js:103
            if (!process.listeners('uncaughtException').length) throw e;
                                                                      ^
Error: start must be <= end
    at new fs.ReadStream (fs.js:1256:13)
    at Object.fs.createReadStream [as createReadStream] (fs.js:1215:10)
    at pump (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:149:26)
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:188:8)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)
---------------------------------------------
    at Object.findLogFile (/Users/fcasali/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130121114704/iphone/cli/hooks/run.js:203:21)
    at Timer.list.ontimeout [as ontimeout] (timers.js:101:19)

Attachments

FileDateSize
app.js2013-01-22T20:13:36.000+0000547

Comments

  1. Federico Casali 2013-01-22

    Issue is related to TIMOB-12280
  2. Bryan Hughes 2013-01-22

    PR: https://github.com/appcelerator/titanium_mobile/pull/3753
  3. Bryan Hughes 2013-01-22

    This test app can be used to punish logging. Set the size variable to determine how much data is dumped to the console. I've pushed it to 1MB and it still worked fine. The app is structured to output a continually incrementing number to the console. If you paste this data in a text editor with line numbers, they should line up after you remove the extraneous output. If they don't, then that means something was either output twice or missed
  4. Bryan Hughes 2013-01-22

    3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3754
  5. Federico Casali 2013-01-23

    Fix works, verified with TiSDK 3.0.2.v20130122151702 Closing.
  6. Bryan Hughes 2013-01-23

    Issues still occur, just much more rarely and without crashes
  7. Bryan Hughes 2013-01-23

    PR: https://github.com/appcelerator/titanium_mobile/pull/3759 3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3760
  8. Paras Mishra 2013-01-23

    Build successful , app executed on iOS simulator 6 Verified on: SDK version: 3.1.0.v20130111163212,3.0.2.v20130122172624 CLI version : 3.0.23 OS : MAC OSX 10.7.5 XCode : 4.5.1

JSON Source