Project

General

Profile

Bug #14667

Updated by nobu (Nobuyoshi Nakada) over 2 years ago

Hello, 

 I'm using Calabash for iOS automation. My tests are crashing the ruby interpreter. Could you please help in finding out what the issue is? 

 Best, 
 Sankalp 



 ~~~ yaml 
 [u"Running with options: '14e26a69f942dd7867bc33c547b8924684c916d0 com.cisco.squared.sqbudev /Users/testmaskin/Wx2/wx2-ios-client/build/WebExSquaredIntegrationTests.ipa'\n" 
  ** \x1b[1;95m14e26a69f942dd7867bc33c547b8924684c916d0: Requesting uninstallation of\x1b[0m: \x1b[1;34mcom.apple.test.DeviceAgent-Runner\x1b[0m  
  \x1b[1;34m[ ***** ideviceinstaller -u 14e26a69f942dd7867bc33c547b8924684c916d0 -U com.apple.test.DeviceAgent-Runner -d]\x1b[0m  
 u"\x1b[1;47mUninstalling 'com.apple.test.DeviceAgent-Runner'\x1b[0m\n" 
  \x1b[1;47m- RemovingApplication (50%)\x1b[0m  
  \x1b[1;47m- Complete\x1b[0m  
  ** \x1b[1;95m14e26a69f942dd7867bc33c547b8924684c916d0: Requesting uninstallation of\x1b[0m: \x1b[1;34mcom.cisco.squared.sqbudev\x1b[0m  
  \x1b[1;34m[ ***** ideviceinstaller -u 14e26a69f942dd7867bc33c547b8924684c916d0 -U com.cisco.squared.sqbudev -d]\x1b[0m  
 u"\x1b[1;47mUninstalling 'com.cisco.squared.sqbudev'\x1b[0m\n" 
  \x1b[1;47m- RemovingApplication (50%)\x1b[0m  
  \x1b[1;47m- GeneratingApplicationMap (90%)\x1b[0m  
  \x1b[1;47m- Complete\x1b[0m  
  ** \x1b[1;95minstalling app from\x1b[0m: \x1b[1;34mPublicStaging/WebExSquaredIntegrationTests.ipa\x1b[0m  
  ** \x1b[1;95mUploading /Users/testmaskin/Wx2/wx2-ios-client/build/WebExSquaredIntegrationTests.ipa to\x1b[0m: \x1b[1;34mPublicStaging/WebExSquaredIntegrationTests.ipa\x1b[0m  
  \x1b[1;34m[ ***** xcrun xcodebuild -version]\x1b[0m  
  [BUG] Segmentation fault at 0x00200000000d03  
  ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin16]  
  
  -- Crash Report log information --------------------------------------------  
     See Crash Report log file under the one of following:  
       * ~/Library/Logs/CrashReporter  
       * /Library/Logs/CrashReporter  
       * ~/Library/Logs/DiagnosticReports  
       * /Library/Logs/DiagnosticReports  
     for more details.  
 (snip) 
   u"Don't forget to include the above Crash Report log file in bug reports.\n" 
  
  -- Control frame information -----------------------------------------------  
  c:0001 p:---- s:0002 e:000001 (none) [FINISH]  
  
  
  -- Machine register context ------------------------------------------------  
   rax: 0x0000000000000d00 rbx: 0x0000000000000000 rcx: 0x00000000000000d0  
   rdx: 0x000070000240f9a0 rdi: 0x00007fa0221ceec0 rsi: 0x00000000000000d0  
   rbp: 0x000070000240f990 rsp: 0x000070000240f990    r8: 0x0000000023b143ff  
    r9: 0x0000200000000003 r10: 0x00000000000000d0 r11: 0x00007fa01fe00000  
   r12: 0x000070000240f9a0 r13: 0x0000000000000d01 r14: 0x00007fa020090368  
   r15: 0x00000ff404012d6c rip: 0x0000000102246a53 rfl: 0x0000000000010206  
  
  -- C level backtrace information -------------------------------------------  
  0     ruby                                  0x00000001022a610b rb_vm_bugreport + 379  
  1     ruby                                  0x00000001021494ef rb_bug_context + 447  
  2     ruby                                  0x000000010221ae54 sigsegv + 68  
  3     libsystem_platform.dylib              0x00007fff5a4d5f5a _sigtramp + 26  
  4     ruby                                  0x0000000102246a53 rb_id_table_lookup + 115  
  5     ???                                   0x000070000240f9e0 0x0 + 123145340123616  
  
  -- Other runtime information -----------------------------------------------  
  
  * Loaded script: /Users/testmaskin/Wx2/wx2-ios-client/script/tptest/install_ipa.rb  
  
  * Loaded features:  
  
      0 enumerator.so  
      1 thread.rb  
      2 rational.so  
      3 complex.so  
      4 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/enc/encdb.bundle  
      5 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/enc/trans/transdb.bundle  
      6 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/unicode_normalize.rb  
      7 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/rbconfig.rb  
      8 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/compatibility.rb  
      9 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/defaults.rb  
     10 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/deprecate.rb  
     11 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/errors.rb  
     12 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/version.rb  
     13 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/requirement.rb  
     14 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/platform.rb  
     15 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/basic_specification.rb  
     16 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/stub_specification.rb  
     17 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/util/list.rb  
     18 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/stringio.bundle  
     19 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/specification.rb  
     20 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/exceptions.rb  
     21 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_gem.rb  
     22 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/monitor.rb  
     23 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb  
     24 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems.rb  
     25 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/path_support.rb  
     26 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/dependency.rb  
     27 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/version.rb  
     28 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/core_ext/name_error.rb  
     29 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/levenshtein.rb  
     30 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/jaro_winkler.rb  
     31 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkable.rb  
     32 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/delegate.rb  
     33 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb  
     34 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb  
     35 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb  
     36 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/method_name_checker.rb  
     37 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/null_checker.rb  
     38 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean/formatter.rb  
     39 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib/did_you_mean.rb  
     40 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/pathname.bundle  
     41 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/pathname.rb  
     42 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.7.4/lib/bundler/constants.rb  
     43 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/util.rb  
     44 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/io/console.bundle  
     45 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/user_interaction.rb  
     46 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/etc.bundle  
     47 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/config_file.rb  
     48 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.7.4/lib/bundler/rubygems_integration.rb  
     49 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.7.4/lib/bundler/current_ruby.rb  
     50 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.7.4/lib/bundler/shared_helpers.rb  
     51 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.7.4/lib/bundler/setup.rb  
     52 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/version.rb  
     53 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/base64.rb  
     54 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/cgi/core.rb  
     55 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/cgi/escape.bundle  
     56 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/cgi/util.rb  
     57 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/cgi/cookie.rb  
     58 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/cgi.rb  
     59 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plist-3.4.0/lib/plist/generator.rb  
     60 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin16/date_core.bundle  
     61 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/date.rb  
     62 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plist-3.4.0/lib/plist/parser.rb  
     63 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plist-3.4.0/lib/plist/version.rb  
     64 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plist-3.4.0/lib/plist.rb  
     65 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi_c.bundle  
     66 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/platform.rb  
     67 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/types.rb  
     68 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/library.rb  
     69 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/errno.rb  
     70 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/pointer.rb  
     71 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/memorypointer.rb  
     72 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/struct_layout_builder.rb  
     73 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/struct.rb  
     74 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/union.rb  
     75 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/managedstruct.rb  
     76 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/callback.rb  
     77 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/io.rb  
     78 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/autopointer.rb  
     79 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/variadic.rb  
     80 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/enum.rb  
     81 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi/ffi.rb  
     82 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ffi-1.9.18/lib/ffi.rb  
     83 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/c.rb  
     84 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/plist.rb  
     85 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/idevice.rb  
     86 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/lockdown.rb  
     87 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/house_arrest.rb  
     88 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/afc.rb  
     89 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/installation_proxy.rb  
     90 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/misagent.rb  
     91 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/diagnostics_relay.rb  
     92 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/file_relay.rb  
     93 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/heartbeat.rb  
     94 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/image_mounter.rb  
     95 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/mobilebackup.rb  
     96 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/mobilebackup2.rb  
     97 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/time.rb  
     98 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/mobilesync.rb  
     99 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/notification_proxy.rb  
    100 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/restore.rb  
    101 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/sbservices.rb  
    102 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/screenshotr.rb  
    103 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice/webinspector.rb  
    104 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/idevice-1.2.0.1/lib/idevice.rb  
    105 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb  
    106 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/timeout.rb  
    107 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/logger.rb  
    108 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/open3.rb  
    109 /Users/testmaskin/.rbenv/versions/2.3.1/lib/ruby/2.3.0/Benchmark.rb  
    110 /Users/testmaskin/Wx2/wx2-ios-client/features/support/debug.rb  
    111 /Users/testmaskin/Wx2/wx2-ios-client/features/support/run_cmd.rb  
    112 /Users/testmaskin/Wx2/wx2-ios-client/tools/crashlog.rb  
    113 /Users/testmaskin/Wx2/wx2-ios-client/tools/idevicehelpers.rb  
  
  [NOTE]  
  You may have encountered a bug in the Ruby interpreter or extension libraries.  
  Bug reports are welcome.  
  For details: http://www.ruby-lang.org/bugreport.html  
   ] 
 ~~~ 

Back