-
Notifications
You must be signed in to change notification settings - Fork 156
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
idb crash on App Selection #95
Comments
The application name used for testing is "Gboard", but the crash also occurs on any other application (iOS 10.2). Users-Mac:~ user$ idb recv failed: Resource temporarily unavailable Users-Mac:~ user$ |
okay, somehow idb thinks your device is running iOS 10 and not iOS 9. I will try to find an iOS 9 device and reproduce asap. |
Also seeing this behavior, running on a jailbroken iPod Touch, 9.3.3. |
getting the same error/symptoms on a Jailbroken iOS 10.2 iPhone 5s device when selecting an app via the "App Selection"..dump below
|
Running iOS 10.2 and seeing the following crash after selecting an application:
|
Today I had the same issue on 9.2.1 so after rebooting and re-jailbreaking the phone, everything was ok. I've tried the same on 10.2 but without success: Users-Mac:~ user$ idb from /Users/user/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in eval' from /Users/user/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in 'recv failed: Resource temporarily unavailable |
Same issue for me. idb crashes when I select an app from the app selection. My iOS 10.0.2 iPad Mini 3 is jailbroken with Yalu. MacBook Pro with macOS High Sierra 10.13.
from /Users/someuser/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in eval' from /Users/someuser/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in 'recv failed: Resource temporarily unavailable Someusers-MacBook-Pro:~ someuser$ ` |
I noticed same error for iOS 9.3.5(iPhone 4S jail broken with Phoenix) and 10.2(6 plus jail broken with Yalu) versions. |
Same here on iOS 10.2 and MacOS 10.10.2 |
Same!! Please Assist!!! |
As already meantioned in other issue posts, I found a workaround!! You have to do the following steps:
WARNING: This will drop the support for iOS 10! |
I'm getting an error when tying to do revert please check
…On Nov 14, 2017 12:01, "Jan Rude" ***@***.***> wrote:
As already meantioned in other issue posts, I found a *workaround*!!
It seems like there is something wrong with the iOS 10 support.
Revert this and all subsequent commits and idb will work again!
You have to do the following steps:
git clone https://github.com/dmayer/idb
cd idb/
git revert 0383554
git revert 799a0e6
git revert 092929a
git revert c8dcb9f
git revert c8d0250
bundle install
bundle exec idb
*WARNING: This will drop the support for iOS 10!*
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#95 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHatuOBZhfqRzIFUKT0IL0RmeGXSXS1nks5s2WUSgaJpZM4PVTdf>
.
|
@whoot I don't think the workaround should be to to revert and drop support for iOS 10.x. |
@antoniozekic Indeed it is not the best solution, however this was the only solution that worked for me to get idb working again with iOS 9.3.3. |
I crashed when select an app ,because i used to work with ios7 in idb and now use ios10.3. |
but the data_dir still empty so it will crash when select data dir |
@dmayer Have you had the chance to look into it? |
having similar issues 11.0.1 additional issue I am having is the cryptic dependancy preventing me install it. |
Same crash here. Connection works great but crashes on app selection. I'm using yalu102 jailbreak.
|
The application name used for testing is "Gboard", but the crash also occurs on any other application (iOS 9.3.5).
Users-Mac:~ user$ idb
'/Users/user/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:13: warning: constant ::Fixnum is deprecated
/Users/user/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:16: warning: constant ::Fixnum is deprecated
/Users/user/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:20: warning: constant ::Fixnum is deprecated
/Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- pry (LoadError) from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
require'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/lib/ios10_application_state_db_wrapper.rb:3:in
<top (required)>' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/lib/app.rb:5:in
require_relative'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/lib/app.rb:5:in
<top (required)>' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/app_details_group_box.rb:1:in
require_relative'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/app_details_group_box.rb:1:in
<top (required)>' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/idb.rb:9:in
require_relative'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/idb.rb:9:in
<top (required)>' from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
require'from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/bin/idb:2:in
<top (required)>'from /Users/user/.rvm/gems/ruby-2.4.1/bin/idb:23:in
load' from /Users/user/.rvm/gems/ruby-2.4.1/bin/idb:23:in
from /Users/user/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in
eval' from /Users/user/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in
'Users-Mac:~ user$ gem install pry
Fetching: slop-3.6.0.gem (100%)
Successfully installed slop-3.6.0
Fetching: method_source-0.8.2.gem (100%)
Successfully installed method_source-0.8.2
Fetching: pry-0.10.4.gem (100%)
Successfully installed pry-0.10.4
Parsing documentation for slop-3.6.0
Installing ri documentation for slop-3.6.0
Parsing documentation for method_source-0.8.2
Installing ri documentation for method_source-0.8.2
Parsing documentation for pry-0.10.4
Installing ri documentation for pry-0.10.4
Done installing documentation for slop, method_source, pry after 5 seconds
3 gems installed
Users-Mac:~ user$ idb
/Users/user/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:13: warning: constant ::Fixnum is deprecated
/Users/user/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:16: warning: constant ::Fixnum is deprecated
/Users/user/.rvm/gems/ruby-2.4.1/gems/plist4r-1.2.2/lib/plist4r/mixin/data_methods.rb:20: warning: constant ::Fixnum is deprecated
/Users/user/.idb/tmp/
[INFO] 2017-09-12 23:40:38 :: idb :: Creating settings directory: /Users/user/.idb
[WARN] 2017-09-12 23:40:38 :: idb :: No configuration found, generating default.
[INFO] 2017-09-12 23:40:38 :: idb :: Storing new configuration at /Users/user/.idb/settings.yml
[INFO] 2017-09-12 23:40:38 :: idb :: Storing new configuration at /Users/user/.idb/settings.yml.
[INFO] 2017-09-12 23:40:38 :: idb :: Loading configuration from /Users/user/.idb/settings.yml
QLayout: Cannot add null widget to QGridLayout/
QLayout: Cannot add null widget to QGridLayout/
[DEBUG] 2017-09-12 23:41:13 :: idb :: Connecting via USB
[DEBUG] 2017-09-12 23:41:13 :: idb :: Using port 49230 for SSH forwarding
[INFO] 2017-09-12 23:41:13 :: idb :: Launching SSH proxy on port 49230
waiting for connection
[INFO] 2017-09-12 23:41:14 :: idb :: Establishing SSH Session for root@localhost:49230
accepted connection, fd = 4
waiting for connection
Number of available devices == 1
Requesting connecion to device handle == 1 (serial: 308382d3dca05c3e31fdbceab9ed722e6b099387), port 22
run_ctos_loop: fd = 4
run_stoc_loop: fd = 4
[INFO] 2017-09-12 23:41:15 :: idb :: Establishing SFTP Session...
[DEBUG] 2017-09-12 23:41:15 :: idb :: opening port 49230 for manual ssh connection
[INFO] 2017-09-12 23:41:15 :: idb :: Launching SSH proxy on port 2222
[DEBUG] 2017-09-12 23:41:15 :: idb :: opening tool port 49233 for internal ssh connection
[INFO] 2017-09-12 23:41:15 :: idb :: Launching SSH proxy on port 49233
bind(): Address already in use
Error creating socket: Address already in use
[INFO] 2017-09-12 23:41:15 :: idb :: Checking iOS version
[DEBUG] 2017-09-12 23:41:15 :: idb :: Executing blocking SSH command: touch /tmp/daniel
waiting for connection
[INFO] 2017-09-12 23:41:15 :: idb :: iOS Version: 10 or newer
[INFO] 2017-09-12 23:41:15 :: idb :: iOS Version: 10 with apps dir: /private/var/containers/Bundle/Application and data dir: /private/var/mobile/Containers/Data/Application
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if aptget is installed...
[DEBUG] 2017-09-12 23:41:15 :: idb :: File not found: Net::SFTP::StatusException (2, "no such file")
[DEBUG] 2017-09-12 23:41:15 :: idb :: File not found: Net::SFTP::StatusException (2, "no such file")
[INFO] 2017-09-12 23:41:15 :: idb :: aptget found at /usr/bin/aptitude.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if open is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: open found at /usr/bin/open.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if openurl is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: openurl found at /usr/bin/uiopen.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if dumpdecrypted_armv6 is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: dumpdecrypted_armv6 found at /usr/lib/dumpdecrypted_armv6.dylib.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if dumpdecrypted_armv7 is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: dumpdecrypted_armv7 found at /usr/lib/dumpdecrypted_armv7.dylib.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if pbwatcher is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: pbwatcher found at /var/root/pbwatcher.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if pcviewer is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: pcviewer found at /var/root/protectionclassviewer.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if keychaineditor is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: keychaineditor found at /var/root/keychaineditor.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if rsync is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: rsync found at /usr/bin/rsync.
[INFO] 2017-09-12 23:41:15 :: idb :: Checking if cycript is installed...
[INFO] 2017-09-12 23:41:15 :: idb :: cycript found at /usr/bin/cycript.
[INFO] 2017-09-12 23:41:16 :: port_forward :: Loading configuration from /Users/user/.idb/settings.yml
[DEBUG] 2017-09-12 23:41:16 :: port_forward :: Connecting via USB
[DEBUG] 2017-09-12 23:41:16 :: port_forward :: Using port 49234 for SSH forwarding
[INFO] 2017-09-12 23:41:16 :: port_forward :: Launching SSH proxy on port 49234
[INFO] 2017-09-12 23:41:16 :: port_forward :: Establishing SSH port forwarding...
/Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:64:in
connect': Connection refused - connect(2) for 127.0.0.1:49234 (Errno::ECONNREFUSED) from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:64:in
connect_internal'from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:137:in
connect' from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:627:in
block in tcp'from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:227:in
each' from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:227:in
foreach'from /Users/user/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/socket.rb:617:in
tcp' from /Users/user/.rvm/gems/ruby-2.4.1/gems/net-ssh-4.2.0/lib/net/ssh/transport/session.rb:70:in
initialize'from /Users/user/.rvm/gems/ruby-2.4.1/gems/net-ssh-4.2.0/lib/net/ssh.rb:237:in
new' from /Users/user/.rvm/gems/ruby-2.4.1/gems/net-ssh-4.2.0/lib/net/ssh.rb:237:in
start'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/lib/ssh_port_forwarder.rb:15:in
initialize' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/helper/ssh_port_forwarder.rb:36:in
new'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/helper/ssh_port_forwarder.rb:36:in
run' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/helper/ssh_port_forwarder.rb:63:in
module:Idb'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/helper/ssh_port_forwarder.rb:7:in
<main>' waiting for connection [*] Retrieving list of applications... [DEBUG] 2017-09-12 23:41:24 :: idb :: App Dir: /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2 [DEBUG] 2017-09-12 23:41:24 :: idb :: Executing blocking SSH command: ls /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2/*app/Info.plist [INFO] 2017-09-12 23:41:24 :: idb :: Info.plist found at /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2/Gboard.app/Info.plist [INFO] 2017-09-12 23:41:24 :: idb :: Parsing plist file.. [DEBUG] 2017-09-12 23:41:27 :: idb :: Data Dir: {"$class"=>nil, "snapshots"=>nil, "identifier"=>nil} [DEBUG] 2017-09-12 23:41:27 :: idb :: App Dir: /private/var/containers/Bundle/Application/72691360-A65C-4994-8E39-5593BD270C2C [DEBUG] 2017-09-12 23:41:27 :: idb :: Executing blocking SSH command: ls /private/var/containers/Bundle/Application/72691360-A65C-4994-8E39-5593BD270C2C/*app/Info.plist [INFO] 2017-09-12 23:41:27 :: idb :: Info.plist found at /private/var/containers/Bundle/Application/72691360-A65C-4994-8E39-5593BD270C2C/Phœnix.app/Info.plist [INFO] 2017-09-12 23:41:27 :: idb :: Parsing plist file.. [DEBUG] 2017-09-12 23:41:29 :: idb :: Data Dir: {"$class"=>nil, "snapshots"=>nil, "identifier"=>nil} [DEBUG] 2017-09-12 23:41:33 :: idb :: Appending extension to AppIcon60x60 [DEBUG] 2017-09-12 23:41:33 :: idb :: Now: AppIcon60x60*.png [DEBUG] 2017-09-12 23:41:33 :: idb :: Executing blocking SSH command: ls /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2/*app/AppIcon60x60*.png [INFO] 2017-09-12 23:41:33 :: idb :: Icon found at /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2/Gboard.app/[email protected] [INFO] 2017-09-12 23:41:35 :: idb :: Locating application binary... [DEBUG] 2017-09-12 23:41:54 :: idb :: File not found: Net::SFTP::StatusException (2, "no such file") [DEBUG] 2017-09-12 23:41:54 :: idb :: File not found: Net::SFTP::StatusException (2, "no such file") [DEBUG] 2017-09-12 23:41:54 :: idb :: Executing blocking SSH command: /usr/bin/ldid -e /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2//Gboard.app/Gboard #<Plist4r::Plist:0x007fb31208e838> [DEBUG] 2017-09-12 23:41:54 :: idb :: Executing blocking SSH command: /usr/bin/ldid -e /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2//Gboard.app/Gboard #<Plist4r::Plist:0x007fb312075540> [DEBUG] 2017-09-12 23:41:54 :: idb :: Executing blocking SSH command: /usr/bin/ldid -e /private/var/containers/Bundle/Application/5D6185C0-5228-46E4-9F9D-EF089397EBB2//Gboard.app/Gboard #<Plist4r::Plist:0x007fb3132ba8e0> /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/app_details_group_box.rb:69:in
app_changed': undefined methodsub' for {"$class"=>nil, "snapshots"=>nil, "identifier"=>nil}:Hash (NoMethodError) Did you mean? sum from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/app_tab_widget.rb:48:in
app_changed'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/main_tab_widget.rb:163:in
app_changed' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/idb.rb:122:in
block in init_ui'from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:2470:in
invoke' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/global_app_details_group_box.rb:61:in
qt_metacall'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/global_app_details_group_box.rb:61:in
app_changed' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/global_app_details_group_box.rb:61:in
block (2 levels) in initialize'from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:2470:in
invoke' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/app_list_dialog.rb:24:in
qt_metacall'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/app_list_dialog.rb:24:in
method_missing' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/app_list_dialog.rb:24:in
block in initialize'from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:2470:in
invoke' from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:917:in
qt_metacall'from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:917:in
method_missing' from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:917:in
exec'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/gui/global_app_details_group_box.rb:63:in
block in initialize' from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:2470:in
invoke'from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:479:in
qt_metacall' from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:479:in
method_missing'from /Users/user/.rvm/gems/ruby-2.4.1/gems/qtbindings-4.8.6.3/lib/Qt/qtruby4.rb:479:in
exec' from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/lib/idb.rb:278:in
run'from /Users/user/.rvm/gems/ruby-2.4.1/gems/idb-2.10.0/bin/idb:4:in
<top (required)>' from /Users/user/.rvm/gems/ruby-2.4.1/bin/idb:23:in
load'from /Users/user/.rvm/gems/ruby-2.4.1/bin/idb:23:in
<main>' from /Users/user/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in
eval'from /Users/user/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `'
recv failed: Resource temporarily unavailable
Users-Mac:~ user$
The text was updated successfully, but these errors were encountered: