Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while trying to load apps list #50

Closed
etolstoy opened this issue Nov 25, 2014 · 20 comments
Closed

Crash while trying to load apps list #50

etolstoy opened this issue Nov 25, 2014 · 20 comments

Comments

@etolstoy
Copy link

Hi! I'm still experiencing the crash similar to #46 when clicking "Select App" button. I'm using v.2.5.2:

/Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/service/forward.rb:149:in block in remote': remote forwarding request failed (Net::SSH::Exception) from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:incall'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:in request_failure' from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:indispatch_incoming_packets'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in preprocess' from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:inprocess'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in block in loop' from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:inloop'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in loop' from /Users/etolstoy/Downloads/idb-2.5.2/lib/lib/ssh_port_forwarder.rb:31:instart'
from /Users/etolstoy/Downloads/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:58:in run' from /Users/etolstoy/Downloads/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:63:inmodule:Idb'
from /Users/etolstoy/Downloads/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:7:in

' Application directory not found. /Users/etolstoy/Downloads/idb-2.5.2/lib/lib/abstract_device.rb:10:inget_app_uuids': Application directory not found. (RuntimeError)
from /Users/etolstoy/Downloads/idb-2.5.2/lib/gui/app_list_dialog.rb:54:in refresh_app_list' from /Users/etolstoy/Downloads/idb-2.5.2/lib/gui/app_list_dialog.rb:20:ininitialize'
from /Users/etolstoy/Downloads/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in new' from /Users/etolstoy/Downloads/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:inblock in initialize'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' from /Users/etolstoy/Downloads/idb-2.5.2/lib/idb.rb:284:inrun'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/gems/idb-2.5.2/bin/idb:4:in <top (required)>' from /Users/etolstoy/.rvm/gems/ruby-2.1.2/bin/idb:23:inload'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/bin/idb:23:in ' from /Users/etolstoy/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:ineval'
from /Users/etolstoy/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `'

@secabstraction
Copy link
Contributor

I'm also getting a crash, but with different output... looks like somethings failing with the port forwarding.

[INFO] 2014-11-29 23:40:00 :: port_forward :: Setting up port forwarding...
[INFO] 2014-11-29 23:40:00 :: port_forward :: - Forwarding remote:4711 -> localhost:4711
/usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/service/forward.rb:149:in block in remote': remote forwarding request failed (Net::SSH::Exception) from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:incall'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:in request_failure' from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:indispatch_incoming_packets'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in preprocess' from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:inprocess'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in block in loop' from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:inloop'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in loop' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/ssh_port_forwarder.rb:31:instart'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:58:in run' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:63:inmodule:Idb'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:7:in <main>' recv failed: Resource temporarily unavailable [*] Retrieving list of applications... [INFO] 2014-11-29 23:40:16 :: idb :: Info.plist found at /private/var/mobile/Containers/Bundle/Application/521A430A-AA4F-4699-9875-6A627863B6CA/stable.app/Info.plist [ERROR] 2014-11-29 23:40:16 :: idb :: Error parsing plist file /Users/Owner/.idb/tmp//521A430A-AA4F-4699-9875-6A627863B6CA//stable.app/Info.plist. [DEBUG] 2014-11-29 23:40:16 :: idb :: Exception Details: uninitialized constant Idb::PlistUtil::Pathname. [DEBUG] 2014-11-29 23:40:16 :: idb :: Backtrace: /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/plist_util.rb:14:ininitialize'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/app.rb:280:in new' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/app.rb:280:inparse_info_plist'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/app.rb:17:in initialize' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:innew'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in block in refresh_app_list' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:ineach'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in refresh_app_list' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:20:ininitialize'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in new' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:inblock in initialize'
/usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
/usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
/usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/idb.rb:284:inrun'
/usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.2/bin/idb:4:in <top (required)>' /usr/local/bin/idb:23:inload'
/usr/local/bin/idb:23:in <main>'. /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/lib/app.rb:24:ininitialize': undefined method bundle_identifier' for nil:NilClass (NoMethodError) from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:innew'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in block in refresh_app_list' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:ineach'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in refresh_app_list' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:20:ininitialize'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in new' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:inblock in initialize'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' from /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.2/lib/idb.rb:284:inrun'
from /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.2/bin/idb:4:in <top (required)>' from /usr/local/bin/idb:23:inload'
from /usr/local/bin/idb:23:in `

'
recv failed: Resource temporarily unavailable

@spurrme
Copy link

spurrme commented Dec 5, 2014

From what I can tell I am getting a different error, but caused by the same thing.
syck has been removed, psych is used instead
/Users/mspurr/.idb/tmp/
[INFO] 2014-12-05 12:45:02 :: idb :: Loading configuration from /Users/mspurr/.idb/settings.yml
QLayout: Cannot add null widget to QGridLayout/
QLayout: Cannot add null widget to QGridLayout/
[DEBUG] 2014-12-05 12:45:04 :: idb :: Connecting via USB
[DEBUG] 2014-12-05 12:45:04 :: idb :: Using port 55963 for SSH forwarding
[INFO] 2014-12-05 12:45:04 :: idb :: Launching SSH proxy on port 55963
waiting for connection
[INFO] 2014-12-05 12:45:05 :: idb :: Establishing SSH Session for root@localhost:55963
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 6 (serial: 94d37baf5215d8c7578d17c95fb29964cd607711), port 22
run_ctos_loop: fd = 4
run_stoc_loop: fd = 4
[INFO] 2014-12-05 12:45:05 :: idb :: Establishing SFTP Session...
[DEBUG] 2014-12-05 12:45:05 :: idb :: opening port 55963 for manual ssh connection
[INFO] 2014-12-05 12:45:05 :: idb :: Launching SSH proxy on port 2222
[DEBUG] 2014-12-05 12:45:05 :: idb :: opening tool port 55966 for internal ssh connection
[INFO] 2014-12-05 12:45:05 :: idb :: Launching SSH proxy on port 55966
bind(): Address already in use
Error creating socket: Address already in use
waiting for connection
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if aptget is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: aptget found at /usr/bin/aptitude.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if open is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: open found at /usr/bin/open.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if openurl is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: openurl found at /usr/bin/uiopen.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if dumpdecrypted_armv6 is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: dumpdecrypted_armv6 found at /var/root/dumpdecrypted_armv6.dylib.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if dumpdecrypted_armv7 is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: dumpdecrypted_armv7 found at /var/root/dumpdecrypted_armv7.dylib.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if pbwatcher is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: pbwatcher found at /var/root/pbwatcher.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if pcviewer is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: pcviewer found at /var/root/protectionclassviewer.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if keychaindump is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: keychaindump found at /var/root/keychain_dump.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if rsync is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: rsync found at /usr/bin/rsync.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if cycript is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: cycript found at /usr/bin/cycript.
syck has been removed, psych is used instead
[INFO] 2014-12-05 12:45:06 :: port_forward :: Loading configuration from /Users/mspurr/.idb/settings.yml
[DEBUG] 2014-12-05 12:45:06 :: port_forward :: Connecting via USB
[DEBUG] 2014-12-05 12:45:06 :: port_forward :: Using port 55967 for SSH forwarding
[INFO] 2014-12-05 12:45:06 :: port_forward :: Launching SSH proxy on port 55967
waiting for connection
[INFO] 2014-12-05 12:45:06 :: port_forward :: Establishing SSH port forwarding...
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 6 (serial: 94d37baf5215d8c7578d17c95fb29964cd607711), port 22
run_ctos_loop: fd = 4
run_stoc_loop: fd = 4
[INFO] 2014-12-05 12:45:06 :: port_forward :: Setting up port forwarding...
[INFO] 2014-12-05 12:45:06 :: port_forward :: - Forwarding remote:4711 -> localhost:4711
[INFO] 2014-12-05 12:45:06 :: port_forward :: - Forwarding remote:8080 -> localhost:8080
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/service/forward.rb:149:in block in remote': remote forwarding request failed (Net::SSH::Exception) from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:incall'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:in request_failure' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:indispatch_incoming_packets'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in preprocess' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:inprocess'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in block in loop' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:inloop'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in loop' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/ssh_port_forwarder.rb:31:instart'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:58:in run' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:63:inmodule:Idb'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:7:in <main>' recv failed: Resource temporarily unavailable [*] Retrieving list of applications... [INFO] 2014-12-05 12:45:10 :: idb :: Info.plist found at /private/var/mobile/Containers/Bundle/Application/A4B561C9-A25E-420D-9EA4-8B4635BF5757/Catamaran.app/Info.plist [ERROR] 2014-12-05 12:45:10 :: idb :: Error parsing plist file /Users/mspurr/.idb/tmp//A4B561C9-A25E-420D-9EA4-8B4635BF5757//Catamaran.app/Info.plist. [DEBUG] 2014-12-05 12:45:10 :: idb :: Exception Details: uninitialized constant Idb::PlistUtil::Pathname. [DEBUG] 2014-12-05 12:45:10 :: idb :: Backtrace: /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/plist_util.rb:14:ininitialize'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:280:in new' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:280:inparse_info_plist'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:17:in initialize' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:innew'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in block in refresh_app_list' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:ineach'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in refresh_app_list' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:20:ininitialize'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in new' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:inblock in initialize'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/idb.rb:284:inrun'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/bin/idb:4:in <top (required)>' /Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:inload'
/Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:in <main>'. /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:24:ininitialize': undefined method bundle_identifier' for nil:NilClass (NoMethodError) from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:innew'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in block in refresh_app_list' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:ineach'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in refresh_app_list' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:20:ininitialize'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in new' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:inblock in initialize'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/idb.rb:284:inrun'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/bin/idb:4:in <top (required)>' from /Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:inload'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:in `

'
recv failed: Resource temporarily unavailable

@secabstraction
Copy link
Contributor

I'm wondering if there's something hanging up iproxy from libusbmuxd.

@dmayer
Copy link
Owner

dmayer commented Dec 5, 2014

Hey, I've been really busy this week will try to look into into his over
the weekend.

On December 5, 2014 12:56:22 PM spurrme notifications@github.com wrote:

From what I can tell I am getting a different error, but caused by the same
thing.
syck has been removed, psych is used instead
/Users/mspurr/.idb/tmp/
[INFO] 2014-12-05 12:45:02 :: idb :: Loading configuration from
/Users/mspurr/.idb/settings.yml
QLayout: Cannot add null widget to QGridLayout/
QLayout: Cannot add null widget to QGridLayout/
[DEBUG] 2014-12-05 12:45:04 :: idb :: Connecting via USB
[DEBUG] 2014-12-05 12:45:04 :: idb :: Using port 55963 for SSH forwarding
[INFO] 2014-12-05 12:45:04 :: idb :: Launching SSH proxy on port 55963
waiting for connection
[INFO] 2014-12-05 12:45:05 :: idb :: Establishing SSH Session for
root@localhost:55963
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 6 (serial:
94d37baf5215d8c7578d17c95fb29964cd607711), port 22
run_ctos_loop: fd = 4
run_stoc_loop: fd = 4
[INFO] 2014-12-05 12:45:05 :: idb :: Establishing SFTP Session...
[DEBUG] 2014-12-05 12:45:05 :: idb :: opening port 55963 for manual ssh
connection
[INFO] 2014-12-05 12:45:05 :: idb :: Launching SSH proxy on port 2222
[DEBUG] 2014-12-05 12:45:05 :: idb :: opening tool port 55966 for internal
ssh connection
[INFO] 2014-12-05 12:45:05 :: idb :: Launching SSH proxy on port 55966
bind(): Address already in use
Error creating socket: Address already in use
waiting for connection
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if aptget is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: aptget found at /usr/bin/aptitude.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if open is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: open found at /usr/bin/open.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if openurl is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: openurl found at /usr/bin/uiopen.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if dumpdecrypted_armv6 is
installed...
[INFO] 2014-12-05 12:45:06 :: idb :: dumpdecrypted_armv6 found at
/var/root/dumpdecrypted_armv6.dylib.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if dumpdecrypted_armv7 is
installed...
[INFO] 2014-12-05 12:45:06 :: idb :: dumpdecrypted_armv7 found at
/var/root/dumpdecrypted_armv7.dylib.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if pbwatcher is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: pbwatcher found at /var/root/pbwatcher.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if pcviewer is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: pcviewer found at
/var/root/protectionclassviewer.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if keychaindump is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: keychaindump found at
/var/root/keychain_dump.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if rsync is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: rsync found at /usr/bin/rsync.
[INFO] 2014-12-05 12:45:06 :: idb :: Checking if cycript is installed...
[INFO] 2014-12-05 12:45:06 :: idb :: cycript found at /usr/bin/cycript.
syck has been removed, psych is used instead
[INFO] 2014-12-05 12:45:06 :: port_forward :: Loading configuration from
/Users/mspurr/.idb/settings.yml
[DEBUG] 2014-12-05 12:45:06 :: port_forward :: Connecting via USB
[DEBUG] 2014-12-05 12:45:06 :: port_forward :: Using port 55967 for SSH
forwarding
[INFO] 2014-12-05 12:45:06 :: port_forward :: Launching SSH proxy on port
55967
waiting for connection
[INFO] 2014-12-05 12:45:06 :: port_forward :: Establishing SSH port
forwarding...
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 6 (serial:
94d37baf5215d8c7578d17c95fb29964cd607711), port 22
run_ctos_loop: fd = 4
run_stoc_loop: fd = 4
[INFO] 2014-12-05 12:45:06 :: port_forward :: Setting up port forwarding...
[INFO] 2014-12-05 12:45:06 :: port_forward :: - Forwarding remote:4711 ->
localhost:4711
[INFO] 2014-12-05 12:45:06 :: port_forward :: - Forwarding remote:8080 ->
localhost:8080
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/service/forward.rb:149:in
block in remote': remote forwarding request failed (Net::SSH::Exception) from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:in call'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:in
request_failure' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:in dispatch_incoming_packets'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in
preprocess' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in process'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
block in loop' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in loop'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in
loop' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/ssh_port_forwarder.rb:31:in start'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:58:in
run' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:63:in module:Idb'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/../helper/ssh_port_forwarder.rb:7:in
<main>' recv failed: Resource temporarily unavailable [*] Retrieving list of applications... [INFO] 2014-12-05 12:45:10 :: idb :: Info.plist found at /private/var/mobile/Containers/Bundle/Application/A4B561C9-A25E-420D-9EA4-8B4635BF5757/Catamaran.app/Info.plist [ERROR] 2014-12-05 12:45:10 :: idb :: Error parsing plist file /Users/mspurr/.idb/tmp//A4B561C9-A25E-420D-9EA4-8B4635BF5757//Catamaran.app/Info.plist. [DEBUG] 2014-12-05 12:45:10 :: idb :: Exception Details: uninitialized constant Idb::PlistUtil::Pathname. [DEBUG] 2014-12-05 12:45:10 :: idb :: Backtrace: /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/plist_util.rb:14:in initialize'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:280:in new' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:280:in parse_info_plist'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:17:in
initialize' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in new'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in
block in refresh_app_list' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in each'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in
refresh_app_list' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:20:in initialize'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in
new' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in block in initialize'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in
call' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in invoke'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in
qt_metacall' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in method_missing'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in
exec' /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/idb.rb:284:inrun'
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/bin/idb:4:in <top (required)>' /Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:inload'
/Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:in <main>'. /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/lib/app.rb:24:in initialize': undefined method bundle_identifier' for nil:NilClass (NoMethodError) from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in new'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:63:in
block in refresh_app_list' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in each'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:62:in
refresh_app_list' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:20:in initialize'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in
new' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in block in initialize'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in
call' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in invoke'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in
qt_metacall' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in method_missing'
from
/Users/mspurr/.rvm/gems/ruby-2.1.5/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in
exec' from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/lib/idb.rb:284:inrun'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/gems/idb-2.5.2/bin/idb:4:in <top (required)>' from /Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:inload'
from /Users/mspurr/.rvm/gems/ruby-2.1.5/bin/idb:23:in `

'
recv failed: Resource temporarily unavailable


Reply to this email directly or view it on GitHub:
#50 (comment)

@dmayer
Copy link
Owner

dmayer commented Dec 5, 2014

It certainly looks like some sort of ssh issue. Which OS are you on?

On December 5, 2014 1:21:18 PM Jesse Davis notifications@github.com wrote:

I'm wondering if there's something hanging up iproxy from libusbmuxd.


Reply to this email directly or view it on GitHub:
#50 (comment)

@secabstraction
Copy link
Contributor

Yosemite

On Dec 5, 2014, at 1:29 PM, Daniel A. Mayer notifications@github.com wrote:

It certainly looks like some sort of ssh issue. Which OS are you on?

On December 5, 2014 1:21:18 PM Jesse Davis notifications@github.com wrote:

I'm wondering if there's something hanging up iproxy from libusbmuxd.


Reply to this email directly or view it on GitHub:
#50 (comment)

Reply to this email directly or view it on GitHub.

@dcrash9
Copy link

dcrash9 commented Dec 8, 2014

i'm also getting a crash when "Select App".
osx yosemite with direct ssh.

Application directory not found.
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.2/lib/lib/abstract_device.rb:10:in get_app_uuids': Application directory not found. (RuntimeError) from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:54:inrefresh_app_list'
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.2/lib/gui/app_list_dialog.rb:20:in initialize' from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:innew'
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.2/lib/gui/global_app_details_group_box.rb:43:in block in initialize' from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:incall'
from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in invoke' from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inqt_metacall'
from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in method_missing' from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inexec'
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.2/lib/idb.rb:284:in run' from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.2/bin/idb:4:in<top (required)>'
from /usr/bin/idb:23:in load' from /usr/bin/idb:23:in

'

@dmayer
Copy link
Owner

dmayer commented Dec 8, 2014

So I do have narrowed down where the crash comes from but I am not sure how it gets to this point as there shouldn't be a code path to lead there...
The error you are getting comes from the following code where @apps_dir is not defined.

    def get_app_uuids
      if not @ops.file_exists? @apps_dir
        puts "Application directory #{@apps_dir} not found."
        raise "Application directory #{@apps_dir} not found."
      end

But when starting up, idb checks if we are running on iOS 8 or earlier by checking the existence of the applications folders:

        @apps_dir_ios_pre8 = '/private/var/mobile/Applications'
        @apps_dir_ios_8 = '/private/var/mobile/Containers/Bundle/Application'
        @data_dir_ios_8 = '/private/var/mobile/Containers/Data/Application'

        if @ops.directory? @apps_dir_ios_pre8
          @ios_version = 7 # 7 or earlier
          @apps_dir = @apps_dir_ios_pre8
          @data_dir = @apps_dir_ios_pre8

        elsif @ops.directory? @apps_dir_ios_8
          @ios_version = 8
          @apps_dir = @apps_dir_ios_8
          @data_dir = @data_dir_ios_8

        else
          $log.error "Unsupported iOS Version."
          raise
        end

So @apps_dir should be defined or an exception should be raised. I am still looking further..

@jakev
Copy link
Contributor

jakev commented Dec 8, 2014

Daniel - did you see the pending pull requests? The issue you are describing sounds like what was (potentially) fixed in pull requests #47 and #49.

@dmayer
Copy link
Owner

dmayer commented Dec 8, 2014

I totally did not. Thanks! I merged them and pushed a new gem version. Could you check if that fixes your issues please?

Thanks

@spurrme
Copy link

spurrme commented Dec 8, 2014

fixed it for me

@secabstraction
Copy link
Contributor

i did a "gem update" and it's getting a little farther in the uicache update, but still crashes.

syck has been removed, psych is used instead
/Users/Owner/.idb/tmp/
[INFO] 2014-12-08 21:00:22 :: idb :: Loading configuration from /Users/Owner/.idb/settings.yml
QLayout: Cannot add null widget to QGridLayout/
QLayout: Cannot add null widget to QGridLayout/
[DEBUG] 2014-12-08 21:00:25 :: idb :: Connecting via SSH
[INFO] 2014-12-08 21:00:25 :: idb :: Establishing SSH Session for root@192.168.1.87:22
[INFO] 2014-12-08 21:00:25 :: idb :: Establishing SFTP Session...
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if aptget is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: aptget found at /usr/bin/apt-get.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if open is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: open found at /usr/bin/open.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if openurl is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: openurl found at /usr/bin/uiopen.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if dumpdecrypted_armv6 is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: dumpdecrypted_armv6 found at /var/root/dumpdecrypted_armv6.dylib.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if dumpdecrypted_armv7 is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: dumpdecrypted_armv7 found at /var/root/dumpdecrypted_armv7.dylib.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if pbwatcher is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: pbwatcher found at /var/root/pbwatcher.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if pcviewer is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: pcviewer found at /var/root/protectionclassviewer.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if keychaindump is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: keychaindump found at /var/root/keychain_dump.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if rsync is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: rsync found at /usr/bin/rsync.
[INFO] 2014-12-08 21:00:25 :: idb :: Checking if cycript is installed...
[INFO] 2014-12-08 21:00:25 :: idb :: cycript found at /usr/bin/cycript.
syck has been removed, psych is used instead
[INFO] 2014-12-08 21:00:26 :: port_forward :: Loading configuration from /Users/Owner/.idb/settings.yml
[DEBUG] 2014-12-08 21:00:26 :: port_forward :: Connecting via SSH
[INFO] 2014-12-08 21:00:26 :: port_forward :: Establishing SSH port forwarding...
[INFO] 2014-12-08 21:00:26 :: port_forward :: Setting up port forwarding...
[INFO] 2014-12-08 21:00:26 :: port_forward :: - Forwarding remote:4711 -> localhost:4711
/usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/service/forward.rb:149:in block in remote': remote forwarding request failed (Net::SSH::Exception) from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:incall'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:504:in request_failure' from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:465:indispatch_incoming_packets'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in preprocess' from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:inprocess'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in block in loop' from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:inloop'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in loop' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/ssh_port_forwarder.rb:31:instart'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/../helper/ssh_port_forwarder.rb:58:in run' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/../helper/ssh_port_forwarder.rb:63:inmodule:Idb'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/../helper/ssh_port_forwarder.rb:7:in <main>' [*] Retrieving list of applications... [INFO] 2014-12-08 21:00:35 :: idb :: Info.plist found at /private/var/mobile/Containers/Bundle/Application/0DA6B5FB-C50E-4187-8EDA-4F654B299FD0/VCE.app/Info.plist [ERROR] 2014-12-08 21:00:35 :: idb :: Error parsing plist file /Users/Owner/.idb/tmp//0DA6B5FB-C50E-4187-8EDA-4F654B299FD0//VCE.app/Info.plist. [DEBUG] 2014-12-08 21:00:35 :: idb :: Exception Details: uninitialized constant Idb::PlistUtil::Pathname. [DEBUG] 2014-12-08 21:00:35 :: idb :: Backtrace: /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/plist_util.rb:14:ininitialize'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/app.rb:280:in new' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/app.rb:280:inparse_info_plist'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/app.rb:17:in initialize' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:innew'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:in block in refresh_app_list' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:ineach'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:in refresh_app_list' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:20:ininitialize'
/usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:in new' /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:inblock in initialize'
/usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
/usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
/usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/idb.rb:284:inrun'
/usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.3/bin/idb:4:in <top (required)>' /usr/local/bin/idb:23:inload'
/usr/local/bin/idb:23:in <main>'. /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/app.rb:24:ininitialize': undefined method bundle_identifier' for nil:NilClass (NoMethodError) from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:innew'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:in block in refresh_app_list' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:ineach'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:in refresh_app_list' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:20:ininitialize'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:in new' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:inblock in initialize'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' from /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/idb.rb:284:inrun'
from /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.3/bin/idb:4:in <top (required)>' from /usr/local/bin/idb:23:inload'
from /usr/local/bin/idb:23:in `

'

@dcrash9
Copy link

dcrash9 commented Dec 9, 2014

did a gem update and get a bit along but still crashes. get to listting applications and then:

[*] Retrieving list of applications...
[INFO] 2014-12-09 13:52:58 :: idb :: Info.plist found at /private/var/mobile/Containers/Bundle/Application/044EFB8F-C723-4D67-93EE-B901961D3692/Piwik Mobile 2.app/Info.plist
[ERROR] 2014-12-09 13:52:58 :: idb :: Error parsing plist file /Users/john/.idb/tmp//044EFB8F-C723-4D67-93EE-B901961D3692//Piwik Mobile 2.app/Info.plist.
[DEBUG] 2014-12-09 13:52:58 :: idb :: Exception Details: uninitialized constant Idb::PlistUtil::Pathname.
[DEBUG] 2014-12-09 13:52:58 :: idb :: Backtrace: /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/lib/plist_util.rb:14:in initialize' /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/lib/app.rb:280:innew'
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/lib/app.rb:280:in parse_info_plist' /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/lib/app.rb:17:ininitialize'
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:in new' /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:inblock in refresh_app_list'
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:in each' /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:inrefresh_app_list'
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:20:in initialize' /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:innew'
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:in block in initialize' /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:incall'
/Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in invoke' /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inqt_metacall'
/Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in method_missing' /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inexec'
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/idb.rb:284:in run' /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/bin/idb:4:in<top (required)>'
/usr/bin/idb:23:in load' /usr/bin/idb:23:in

'.
/Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/lib/app.rb:24:in initialize': undefined methodbundle_identifier' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:in new' from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:63:inblock in refresh_app_list'
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:in each' from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:62:inrefresh_app_list'
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/app_list_dialog.rb:20:in initialize' from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:innew'
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/gui/global_app_details_group_box.rb:43:in block in initialize' from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:incall'
from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in invoke' from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inqt_metacall'
from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in method_missing' from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inexec'
from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/idb.rb:284:in run' from /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/bin/idb:4:in<top (required)>'
from /usr/bin/idb:23:in load' from /usr/bin/idb:23:in'

@dcrash9
Copy link

dcrash9 commented Dec 9, 2014

fixed for me by adding require 'pathname' to plist_util.rb

@alexbires
Copy link

@dcrash9 Thank you so much it totally did the trick for me. I'm running iOS 8.1. I even logged in on a work computer to leave this comment. Thank you so much! :) I'm running idb 2.5.3 if that helps.

@secabstraction
Copy link
Contributor

Agreed, adding require ‘pathname’ to plist_util.rb fixed it. Thanks!

On Dec 16, 2014, at 8:44 PM, alexbires notifications@github.com wrote:

@dcrash9 https://github.com/dcrash9 Thank you so much it totally did the trick for me. i'm running iOS 8.1. I even logged in on a work computer to leave this comment. Thank you so much :)


Reply to this email directly or view it on GitHub #50 (comment).

@dmayer
Copy link
Owner

dmayer commented Dec 17, 2014

Thanks for that! I'll fix that once I'm back at my work computer. Unless somebody wants to send a quick pull request :)

@secabstraction
Copy link
Contributor

It’s my first pull request, but I think I did it right. However, I did get idb to crash when trying to use Weak Class Dump, it does show as being installed (and it is) via the device status menu. However it can’t seem to find it for execution.

[INFO] 2014-12-16 21:14:32 :: idb :: Checking if cycript is installed...
[INFO] 2014-12-16 21:14:32 :: idb :: cycript found at /usr/bin/cycript.
[INFO] 2014-12-16 21:14:32 :: idb :: weak_classdump not found, Installing onto device.
/usr/local/lib/ruby/gems/2.1.0/gems/net-sftp-2.1.2/lib/net/sftp/operations/upload.rb:176:in initialize': expected a file to upload (ArgumentError) from /usr/local/lib/ruby/gems/2.1.0/gems/net-sftp-2.1.2/lib/net/sftp/session.rb:98:innew'
from /usr/local/lib/ruby/gems/2.1.0/gems/net-sftp-2.1.2/lib/net/sftp/session.rb:98:in upload' from /usr/local/lib/ruby/gems/2.1.0/gems/net-sftp-2.1.2/lib/net/sftp/session.rb:103:inupload!'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/ssh_operations.rb:72:in upload' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/lib/weak_class_dump_wrapper.rb:25:inexecute_cycript'
from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/weak_class_dump_widget.rb:65:in run_cycript' from /usr/local/Cellar/ruby/2.1.5/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/gui/weak_class_dump_widget.rb:16:inblock in initialize'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:in call' from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:2454:ininvoke'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in qt_metacall' from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:inmethod_missing'
from /usr/local/lib/ruby/gems/2.1.0/gems/qtbindings-4.8.6.0/lib/Qt/qtruby4.rb:479:in exec' from /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.3/lib/idb.rb:284:inrun'
from /usr/local/lib/ruby/gems/2.1.0/gems/idb-2.5.3/bin/idb:4:in <top (required)>' from /usr/local/bin/idb:23:inload'
from /usr/local/bin/idb:23:in `

'
recv failed: Resource temporarily unavailable

On Dec 16, 2014, at 9:01 PM, Daniel A. Mayer notifications@github.com wrote:

Thanks for that! I'll fix that once I'm back at my work computer. Unless somebody wants to send a quick pull request :)


Reply to this email directly or view it on GitHub #50 (comment).

@dmayer dmayer closed this as completed in 99b94f0 Dec 17, 2014
@dmayer
Copy link
Owner

dmayer commented Dec 17, 2014

yea the pull request worked. I think I know why the weak_class_dump is not working. Since I moved everything into a gem, relative paths are a bit tricky. I will fix that. Should be straight-forward. I also had some issues running it on iOS 8.1 so lets hope you are not experiencing those as well. If you do, we may need to fall-back to a solution other than weak_classdump..

@dmayer dmayer reopened this Dec 17, 2014
@dmayer
Copy link
Owner

dmayer commented Dec 17, 2014

Okay the recent commit eb9fb61 should fix this. This is released in gem version 2.5.5
Could you please see if that works? As I mentioned for me weak_class_dump seems to crash rather hard on iOS 8.1 but maybe it works for you. If it does, please open a separate issue for tracking that. Thanks!

@dmayer dmayer closed this as completed Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants