GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-28T12:24:37.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02 |
Components | CLI |
Labels | module_titanium, qe-3.0.2, qe-review, qe-testadded, regression |
Reporter | Clayton Headley |
Assignee | Chris Barber |
Created | 2013-01-14T17:28:13.000+0000 |
Updated | 2014-04-10T00:00:15.000+0000 |
While testing TISTUD-3120 I ran into the issue where log output in a for loop did not appear (see screenshot). I can only reproduce this issue in 3.0.2 not 3.1.0 or 3.0.1 using the attached app.js file in a standard titanium project.
This is a regression.
Steps to reproduce:
1. Open the Titanium project.
2. Run in Simulator.
Expected results:
All console output should be shown filtered based on settings.
Actual results:
Console output missing lines from the looped log calls.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3715 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3716
TiSDK 3.0.2.v20130121114704 Building for iOS Console output: [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 47s 238ms [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)
The related bug will be fixed in TIMOB-12364.
Closing as fixed. There is no more lost log messages. Tested and verified with: Mac OSX 10.8.2 Mountain Lion Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, build: 3.1.0.v20130114171802 Titanium SDK, build: 3.0.2.v20130121140213 CLI version: 3.0.23 iPhone Simulator 6.0
Re-opening to edit label