Skip to content

Get always 'Connection lost' when execute 'idb crash list' #868

@didental

Description

@didental

We use GitHub Issues for bugs.

--- Please use this template, and delete everything above this line before submitting your issue ---

Description

I connected iOS 15.0 iPhone 15 Pro Simulator with idb.
And here is the command and output.

❯ idb --log DEBUG crash list
2024-08-27 15:23:11,112 [DEBUG] - list - CrashListCommand command run with: Namespace(log_level='DEBUG', compression=None, companion=None, companion_path='/opt/homebrew/bin/idb_companion', companion_tls=False, prune_dead_companion=True, root_command='crash', crash='list', before=None, since=None, bundle_id=None, udid=None, log_level_deprecated=None, json=False)
2024-08-27 15:23:11,113 [DEBUG] - idb - CrashListCommand called
2024-08-27 15:23:11,113 [DEBUG] - list - No udid provided, and there is a sole companion, using it
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Adding (b':method', b'POST') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 3 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Adding (b':scheme', b'http') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 6 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Adding (b':path', b'/idb.CompanionService/connect') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 4 with 6 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 21 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Adding (b':authority', b'127.0.0.1:50051') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 1 with 6 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 11 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Adding (b'te', b'trailers') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 2 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 6 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Adding (b'content-type', b'application/grpc') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 31 with 6 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 11 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Adding (b'user-agent', b'grpc-python-grpclib/0.4.7 (darwin; cpython/3.12.3)') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 58 with 6 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoding 38 with 7 bits
2024-08-27 15:23:11,173 [DEBUG] - hpack.hpack - Encoded header block to b'\x83\x86D\x95`\xd2F\xbd\xe3\xd3X\xea1\xea\xdc[;\x98\x85`\x87\xaa\xa2\x91?A\x8b\x08\x9d\\\x0b\x81p\xdcl\x00l?@\x82I\x7f\x86M\x835\x05\xb1\x1f_\x8b\x1du\xd0b\r&=LMedz\xa6\x9a\xca\xc8\xb5~\x939\xeaZk+%\x06\x8d\x80.\xd2\xee\xa9\xfdH;<\x1a\xaf\xb5\t_\xa4\xcez\x98ep\x89v\x7f\xbf'
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoding b'\x88_\x8b\x1du\xd0b\r&=LMed'
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded 8, consumed 1 bytes
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded (b':status', b'200'), consumed 1
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded 31, consumed 1 bytes
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded 11, consumed 1 bytes
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded (b'content-type', b'application/grpc'), total consumed 13 bytes, indexed True
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoding b'@\x88\x9a\xca\xc8\xb2\x124\xda\x8f\x81\x07'
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded 8, consumed 1 bytes
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded 1, consumed 1 bytes
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Decoded (b'grpc-status', b'0'), total consumed 12 bytes, indexed True
2024-08-27 15:23:11,187 [DEBUG] - list - Companion at DomainSocketAddress(path='/tmp/idb/FB3F61D1-353F-4467-B01C-EF5C12158879_companion.sock') is local
2024-08-27 15:23:11,187 [DEBUG] - list - Constructed client for companion CompanionInfo(udid='FB3F61D1-353F-4467-B01C-EF5C12158879', is_local=True, pid=7468, address=DomainSocketAddress(path='/tmp/idb/FB3F61D1-353F-4467-B01C-EF5C12158879_companion.sock'), metadata={})
2024-08-27 15:23:11,187 [DEBUG] - idb - crash_list called
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Adding (b':method', b'POST') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Encoding 3 with 7 bits
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Adding (b':scheme', b'http') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,187 [DEBUG] - hpack.hpack - Encoding 6 with 7 bits
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Adding (b':path', b'/idb.CompanionService/crash_list') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Encoding 4 with 6 bits
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Encoding 23 with 7 bits
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Adding (b':authority', b'127.0.0.1:50051') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Encoding 66 with 7 bits
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Adding (b'te', b'trailers') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Encoding 65 with 7 bits
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Adding (b'content-type', b'application/grpc') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Encoding 64 with 7 bits
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Adding (b'user-agent', b'grpc-python-grpclib/0.4.7 (darwin; cpython/3.12.3)') to the header table, sensitive:False, huffman:True
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Encoding 63 with 7 bits
2024-08-27 15:23:11,188 [DEBUG] - hpack.hpack - Encoded header block to b'\x83\x86D\x97`\xd2F\xbd\xe3\xd3X\xea1\xea\xdc[;\x98\x85`\x96\r\x13\xc5A\x90\x9f\xc2\xc1\xc0\xbf'
2024-08-27 15:23:11,400 [DEBUG] - idb - crash_list failed
2024-08-27 15:23:11,401 [DEBUG] - idb - CrashListCommand failed
('Connection lost',)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions