back from vacation

99 views
Skip to first unread message

Matt Aimonetti

unread,
Jul 9, 2012, 1:14:32 PM7/9/12
to bubbl...@googlegroups.com
Hey guys,

I'm back from vacation and trying to see where we are at and how far we are from a 1.1 release.

I noticed that RubyMotion 1.15 finally fixed issues I've been complaining about for months and even offered patches:

 * Introduced spec helpers. `rake spec' will now honor the files inside the
    `spec/helpers' directory (if it exists) and compile them before the spec
    files.
  * Introduced the `files' option to `rake spec', which can be used to filter
    the spec files that should be run. Filters can be either the basename of
    a spec file or its full path, and are separated by a comma.
    Example: rake spec files=main_spec,kvo_spec,spec/foo_spec.rb 


It probably means that we need to make a few changes to make that working with BW, did anyone look at that by any chance?


Before I left on vacation I noticed a problem with BW::HTTP after upgrading the gem in a client project, I still need to track down what's going on there and that's currently a blocker for me.
Where are we at with the other things, any think pending for a 1.1 release?

- Matt

Matt Aimonetti

unread,
Jul 11, 2012, 1:59:10 AM7/11/12
to bubbl...@googlegroups.com
So we are waiting for RM 1.16 to be released since 1.15 introduced a regression. However, I can't seem to run the specs :(

Terminating since there is no system event server.
(Run the EventPump or pass the argument "-RegisterForSystemEvents" if you want to run without SpringBoard.


Anyone knows what's going on?

- Matt

Marin Usalj

unread,
Jul 11, 2012, 3:42:59 AM7/11/12
to bubbl...@googlegroups.com
Hi Matt,

I have to say that it happened on my side yesterday as well.
It just terminates, somewhere after the color specs.

The http itself seems to work fine in the real world, but we've got one more report that it fails in specs.

Matt Aimonetti

unread,
Jul 11, 2012, 3:57:10 AM7/11/12
to bubbl...@googlegroups.com
Thanks. I rebooted my machine and everything works fine again (or almost). 
.rear?
  - returns false

on device with only rear facing camera
*** simulator session ended with error: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The simulated application quit." UserInfo=0x102200440 {NSLocalizedDescription=The simulated application quit., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
rake aborted!
Command failed with status (1): [DYLD_FRAMEWORK_PATH="/Applications/Xcode45...]

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ec4d8961
VM Regions Near 0xec4d8961:
    Stack                  00000000bf800000-00000000c0000000 [ 8192K] rw-/rwx SM=COW  
--> 
    Submap                 00000000ffff0000-00000000ffff2000          r-x/r-x process-only submap
Application Specific Information:
iPhone Simulator 348, iPhone OS 6.0 (iPhone/10A5338d)
 
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               0x00481009 _a2a3_trampend + 9
1   libobjc.A.dylib               0x0046e876 class_getInstanceMethod + 32
2   testSuite                     0x00225cff rb_vm_dispatch + 703
3   testSuite                     0x0008de6a vm_dispatch + 506
4   testSuite                     0x0008ea6f rb_scope__cancel_timer:__ + 79 (reactor.rb:31)
5   testSuite                     0x002269d2 rb_vm_dispatch + 3986
6   testSuite                     0x0010af9a vm_dispatch + 506
7   testSuite                     0x0010cccd rb_scope18 + 605 (reactor_spec.rb:50)
8   testSuite                     0x0022a7af rb_vm_block_eval + 1535
9   testSuite                     0x0019e882 proc_call + 34
10  testSuite                     0x0022667c rb_vm_dispatch + 3132
11  testSuite                     0x00087f0a vm_dispatch + 506
12  testSuite                     0x000883b7 rb_scope__initialize:__block__ + 87 (periodic_timer.rb:13)
13  testSuite                     0x0022a7af rb_vm_block_eval + 1535
14  testSuite                     0x0019e882 proc_call + 34
15  Foundation                     0x00fb7670 __NSFireTimer + 97
16  CoreFoundation                 0x00a46c56 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
17  CoreFoundation                 0x00a466e6 __CFRunLoopDoTimer + 534
18  CoreFoundation                 0x00a2e342 __CFRunLoopRun + 1810
19  CoreFoundation                 0x00a2d804 CFRunLoopRunSpecific + 276
20  CoreFoundation                 0x00a2d6db CFRunLoopRunInMode + 123
21  GraphicsServices               0x02cd3913 GSEventRunModal + 88
22  GraphicsServices               0x02cd3798 GSEventRun + 104
23  UIKit                         0x014e82c1 UIApplicationMain + 1211
24  testSuite                     0x000033e3 main + 259
25  testSuite                     0x00002955 start + 53
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libdispatch.dylib             0x0282558a _dispatch_timer_list_update + 195
1   libdispatch.dylib             0x028225b3 _dispatch_source_invoke + 380
2   libdispatch.dylib             0x0281f585 _dispatch_queue_drain + 183
3   libdispatch.dylib             0x0281f737 _dispatch_mgr_queue_drain + 44
4   libdispatch.dylib             0x02822ac2 _dispatch_mgr_invoke + 130
5   libdispatch.dylib             0x02822a40 _dispatch_mgr_thread + 61
Thread 2:: WebThread
0   libsystem_kernel.dylib         0x9a628c22 mach_msg_trap + 10
1   libsystem_kernel.dylib         0x9a6281f6 mach_msg + 70
2   CoreFoundation                 0x00a29479 __CFRunLoopServiceMachPort + 185
3   CoreFoundation                 0x00a2e194 __CFRunLoopRun + 1380
4   CoreFoundation                 0x00a2d804 CFRunLoopRunSpecific + 276
5   CoreFoundation                 0x00a2d6db CFRunLoopRunInMode + 123
6   WebCore                       0x044af180 _ZL12RunWebThreadPv + 608
7   libsystem_c.dylib             0x96c8bed9 _pthread_start + 335
8   libsystem_c.dylib             0x96c8f6de thread_start + 34
Thread 3:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30
Thread 4:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib         0x9a628c22 mach_msg_trap + 10
1   libsystem_kernel.dylib         0x9a6281f6 mach_msg + 70
2   CoreFoundation                 0x00a29479 __CFRunLoopServiceMachPort + 185
3   CoreFoundation                 0x00a2e194 __CFRunLoopRun + 1380
4   CoreFoundation                 0x00a2d804 CFRunLoopRunSpecific + 276
5   CoreFoundation                 0x00a2d6db CFRunLoopRunInMode + 123
6   CFNetwork                     0x00dfdab8 HTTPNetStreamInfo::_streamImpl_Read(unsigned char*, long, CFStreamError*, unsigned char*) + 672
7   CFNetwork                     0x00dfdd50 non-virtual thunk to HTTPNetStreamInfo::_streamImpl_Read(unsigned char*, long, CFStreamError*, unsigned char*) + 48
8   CFNetwork                     0x00e63bc3 CoreStreamBase::_streamInterface_Read(unsigned char*, long) + 141
9   CFNetwork                     0x00e10940 HTTPProtocol::bytesAvailable(unsigned char) + 600
10  CFNetwork                     0x00d68be4 HTTPProtocol::httpReadStreamEvent(unsigned long) + 126
11  CFNetwork                     0x00e10320 HTTPProtocol::_httpReadStreamCB(__CoreReadStream*, unsigned long, void*) + 32
12  CFNetwork                     0x00e6186f non-virtual thunk to ClassicReadClient::coreStreamReadEvent(__CoreReadStream*, unsigned long) + 44
13  CFNetwork                     0x00e5f97f CoreReadStreamClient::coreStreamEventsAvailable(unsigned long) + 51
14  CFNetwork                     0x00e63758 CoreStreamBase::_callClientNow() + 60
15  CoreFoundation                 0x00a0b98f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
16  CoreFoundation                 0x00a0b489 __CFRunLoopDoSources0 + 441
17  CoreFoundation                 0x00a2dff4 __CFRunLoopRun + 964
18  CoreFoundation                 0x00a2d804 CFRunLoopRunSpecific + 276
19  CoreFoundation                 0x00a2d6db CFRunLoopRunInMode + 123
20  Foundation                     0x0107134e +[NSURLConnection(Loader) _resourceLoadLoop:] + 393
21  Foundation                     0x00fb9bb5 -[NSThread main] + 76
22  Foundation                     0x00fb9b14 __NSThread__main__ + 1304
23  libsystem_c.dylib             0x96c8bed9 _pthread_start + 335
24  libsystem_c.dylib             0x96c8f6de thread_start + 34
Thread 5:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30
Thread 6:: Dispatch queue: com.apple.root.background-priority
0   libsystem_kernel.dylib         0x9a628c5e semaphore_wait_trap + 10
1   libdispatch.dylib             0x02820c8a _dispatch_semaphore_wait_slow + 280
2   libdispatch.dylib             0x02820b69 dispatch_semaphore_wait + 36
3   SpringBoardServices           0x02a46b3b SBSProcessAssertionCreateForPID + 453
4   UIKit                         0x014f9a51 -[UIApplication beginBackgroundTaskWithExpirationHandler:] + 88
5   TextInput                     0x1f835fd2 KB::DynamicDictionaryImpl::background_load(KB::String const&) + 96
6   TextInput                     0x1fc5b543 __load_new_resource_block_invoke_0 + 42
7   libdispatch.dylib             0x0281d687 _dispatch_call_block_and_release + 15
8   libdispatch.dylib             0x0282efe4 _dispatch_client_callout + 14
9   libdispatch.dylib             0x02820480 _dispatch_root_queue_drain + 335
10  libdispatch.dylib             0x0282018a _dispatch_worker_thread3 + 20
11  libsystem_c.dylib             0x96c8db24 _pthread_wqthread + 346
12  libsystem_c.dylib             0x96c8f6fe start_wqthread + 30
Thread 7:: com.apple.CFSocket.private
0   libsystem_kernel.dylib         0x9a62ab42 __select + 10
1   CoreFoundation                 0x00a6b4b7 __CFSocketManager + 1255
2   libsystem_c.dylib             0x96c8bed9 _pthread_start + 335
3   libsystem_c.dylib             0x96c8f6de thread_start + 34
Thread 8:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30
Thread 9:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x004813a8  ebx: 0x08983d20  ecx: 0x08983d20  edx: 0xec4d8959
  edi: 0xec4d8959  esi: 0x08983d20  ebp: 0xbfff9d28  esp: 0xbfff9d08
   ss: 0x00000023  efl: 0x00010282  eip: 0x00481009   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0xec4d8961
Logical CPU: 0



I'm also still getting a crazy redirect when using the HTTP wrapper and then my app crashes. I'm not quite sure what's going on yet, I need to spend more time debugging it.

- Matt


--
You received this message because you are subscribed to the Google Groups "BubbleWrap" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bubblewrap/-/0BE186QXuBYJ.
To post to this group, send email to bubbl...@googlegroups.com.
To unsubscribe from this group, send email to bubblewrap+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bubblewrap?hl=en.


Matt Aimonetti

unread,
Jul 11, 2012, 4:05:43 AM7/11/12
to bubbl...@googlegroups.com
hmm turns out the HTTP issue might also be related to the new SDK/RM incompatibility :(

- Matt

Marin Usalj

unread,
Jul 11, 2012, 6:58:58 AM7/11/12
to bubbl...@googlegroups.com
Yeah, that's my suspect as well.
Can you describe what is failing on your side in the production code?

You can test the pure HTTP with http://arest.us   (except authentications)
- Matt

- Matt


To unsubscribe from this group, send email to bubblewrap+unsubscribe@googlegroups.com.

Matt Aimonetti

unread,
Jul 11, 2012, 11:56:34 AM7/11/12
to bubbl...@googlegroups.com
The code is very simple, It's just doing a GET request to an https end point passing some headers. But it looks like the redirects stopped after I rebooted my machine and reset Xcode.

- Matt (via a mobile device)
To view this discussion on the web visit https://groups.google.com/d/msg/bubblewrap/-/JhI2y-8A9noJ.

To post to this group, send email to bubbl...@googlegroups.com.
To unsubscribe from this group, send email to bubblewrap+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages