-
Notifications
You must be signed in to change notification settings - Fork 155
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
Comments
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... recv failed: Resource temporarily unavailable |
From what I can tell I am getting a different error, but caused by the same thing. recv failed: Resource temporarily unavailable |
I'm wondering if there's something hanging up iproxy from libusbmuxd. |
Hey, I've been really busy this week will try to look into into his over On December 5, 2014 12:56:22 PM spurrme 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:
|
Yosemite
|
i'm also getting a crash when "Select App". Application directory not found. |
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... 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.. |
I totally did not. Thanks! I merged them and pushed a new gem version. Could you check if that fixes your issues please? Thanks |
fixed it for me |
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 |
did a gem update and get a bit along but still crashes. get to listting applications and then: [*] Retrieving list of applications... /Library/Ruby/Gems/2.0.0/gems/idb-2.5.3/lib/lib/app.rb:24:in initialize': undefined method bundle_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:in block 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:in refresh_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:in new'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:in call'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:in qt_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:in exec'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 '
|
fixed for me by adding require 'pathname' to plist_util.rb |
@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. |
Agreed, adding require ‘pathname’ to plist_util.rb fixed it. Thanks!
|
Thanks for that! I'll fix that once I'm back at my work computer. Unless somebody wants to send a quick pull request :) |
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... recv failed: Resource temporarily unavailable
|
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.. |
Okay the recent commit eb9fb61 should fix this. This is released in gem version 2.5.5 |
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'
' 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/.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
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 `'
The text was updated successfully, but these errors were encountered: