Fixed
Status Update
Comments
sh...@google.com <sh...@google.com>
sh...@google.com <sh...@google.com> #2
Thank you for this feedback. The team may reach out for more information on triaging or reproducing this issue.
ki...@gmail.com <ki...@gmail.com> #3
pallavi@ - Have we done any testing on Win7? Looks like this issue should be easily reproducible.
di...@gmail.com <di...@gmail.com> #4
a.sworowska: could you click the "view problem details" button and send us what that shows?
zyy: is there any other useful information about a crash on Windows that's easily available?
zyy: is there any other useful information about a crash on Windows that's easily available?
ag...@gmail.com <ag...@gmail.com> #5
Problem signature:
Problem Event Name: APPCRASH
Application Name: adb.exe
Application Version: 0.0.0.0
Application Timestamp: 34f534d5
Fault Module Name: adb.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 34f534d5
Exception Code: 40000015
Exception Offset: 00016717
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 7763
Additional Information 2: 7763cd91f17ba1394e15130ad28436a8
Additional Information 3: 622c
Additional Information 4: 622c3aed538ac58f09882fe423edc57a
Also there's a console output: (for adb devices)
List of devices attached
* daemon not running. starting it now at tcp:5037 *
error: cannot open transport registration socketpair: Input/output error
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Problem Event Name: APPCRASH
Application Name: adb.exe
Application Version: 0.0.0.0
Application Timestamp: 34f534d5
Fault Module Name: adb.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 34f534d5
Exception Code: 40000015
Exception Offset: 00016717
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 7763
Additional Information 2: 7763cd91f17ba1394e15130ad28436a8
Additional Information 3: 622c
Additional Information 4: 622c3aed538ac58f09882fe423edc57a
Also there's a console output: (for adb devices)
List of devices attached
* daemon not running. starting it now at tcp:5037 *
error: cannot open transport registration socketpair: Input/output error
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
nh...@gmail.com <nh...@gmail.com> #6
We have the same problem at my workplace (computers running with the same configuration).
Changing the port (5037) didn't solve.
We were thinking about a conflict with the company's proxy but we gave up to find a solution as soon as we downgrade to 25.0.3 and understood that the update was responsible of the crash.
Changing the port (5037) didn't solve.
We were thinking about a conflict with the company's proxy but we gave up to find a solution as soon as we downgrade to 25.0.3 and understood that the update was responsible of the crash.
nh...@gmail.com <nh...@gmail.com> #7
>zyy: is there any other useful information about a crash on Windows that's easily available?
One can generate a minidump file on crash, here's instructions (WER part):https://blogs.msdn.microsoft.com/chaun/2013/11/12/steps-to-catch-a-simple-crash-dump-of-a-crashing-process/
Other option would be to integrate Breakpad (https://chromium.googlesource.com/breakpad/breakpad/ ); it will take much longer but would allow for automatic / user-initiated crash information submission
One can generate a minidump file on crash, here's instructions (WER part):
Other option would be to integrate Breakpad (
ba...@gmail.com <ba...@gmail.com> #8
I did the WER method and generate a dmp file (2 in fact because of the DumpCount set to 2... Should I set it higher ?)
But it is a 40MB file which I can't upload. Any suggestion ?
But it is a 40MB file which I can't upload. Any suggestion ?
am...@gmail.com <am...@gmail.com> #9
Thank you so much! You can either archive the dump with 7zip or plain Zip - .dmp files pack really well. Or you could upload it to some file share, e.g. Google Drive, and give a link here. Anything would work
to...@gmail.com <to...@gmail.com> #10
the stack overflow match for "Exception Code: 40000015" says it's what happens when you call abort(3).
that combined with the error message points to this:
if (adb_socketpair(s)) {
fatal_errno("cannot open transport registration socketpair");
unfortunately adb_socketpair only writes its failures to the debug log.
i don't think we need a dmp file, but can someone run adb with the ADB_TRACE environment variable set to "all" so we can see the underlying error? we're looking for an error that starts "adb_socketpair:". (and our QA folks did test on Windows 7 but didn't hit this.)
(i'm being deliberately vague about how to set an environment variable on Windows because i assume everyone reading this knows better than i do!)
that combined with the error message points to this:
if (adb_socketpair(s)) {
fatal_errno("cannot open transport registration socketpair");
unfortunately adb_socketpair only writes its failures to the debug log.
i don't think we need a dmp file, but can someone run adb with the ADB_TRACE environment variable set to "all" so we can see the underlying error? we're looking for an error that starts "adb_socketpair:". (and our QA folks did test on Windows 7 but didn't hit this.)
(i'm being deliberately vague about how to set an environment variable on Windows because i assume everyone reading this knows better than i do!)
kn...@gmail.com <kn...@gmail.com> #11
Output for adb devices (with ADB_TRACE set to "all")
adb I 03-23 09:00:57 3852 6096 adb_trace.cpp:178] Android Debug Bridge version 1.0.39
adb I 03-23 09:00:57 3852 6096 adb_trace.cpp:178] Revision 5943271ace17-android
adb I 03-23 09:00:57 3852 6096 adb_trace.cpp:178]
List of devices attached
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:271] adb_query: host:devices
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:124] _adb_connect: host:version
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:750] port 5037 type tcp => fd 2048
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:101] writex: fd=2048 len=16 30303063686f73743a76657273696f6e 000chost:version
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 4f4b4159 OKAY
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:157] _adb_connect: return fd 2048
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:165] adb_connect: service host:devices
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 30303034 0004
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 30303234 0024
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:475] adb_close: 2048(lo-client:5037)
adb server version (36) doesn't match this client (39); killing...
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:124] _adb_connect: host:kill
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:750] port 5037 type tcp => fd 2048
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:101] writex: fd=2048 len=13 30303039686f73743a6b696c6c 0009host:kill
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 4f4b4159 OKAY
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:157] _adb_connect: return fd 2048
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:475] adb_close: 2048(lo-client:5037)
adb I 03-23 09:00:59 7704 6108 adb_trace.cpp:178] Android Debug Bridge version 1.0.39
adb I 03-23 09:00:59 7704 6108 adb_trace.cpp:178] Revision 5943271ace17-android
adb I 03-23 09:00:59 7704 6108 adb_trace.cpp:178]
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:827] port 0 type tcp => fd 2048
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:1060] adb_socketpair: bound on port 57887
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:750] port 57887 type tcp => fd 2049
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:945] adb_socket_accept on fd 2048 returns fd 2050
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:1087] adb_socketpair: client and peer sockaddrs don't match
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:475] adb_close: 2048(lo-server:0)
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:475] adb_close: 2049(lo-client:57887)
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:475] adb_close: 2050(accept:2048(lo-server:0))
error: cannot open transport registration socketpair: Input/output error
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Is this what you wanted?
adb I 03-23 09:00:57 3852 6096 adb_trace.cpp:178] Android Debug Bridge version 1.0.39
adb I 03-23 09:00:57 3852 6096 adb_trace.cpp:178] Revision 5943271ace17-android
adb I 03-23 09:00:57 3852 6096 adb_trace.cpp:178]
List of devices attached
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:271] adb_query: host:devices
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:124] _adb_connect: host:version
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:750] port 5037 type tcp => fd 2048
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:101] writex: fd=2048 len=16 30303063686f73743a76657273696f6e 000chost:version
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 4f4b4159 OKAY
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:157] _adb_connect: return fd 2048
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:165] adb_connect: service host:devices
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 30303034 0004
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 30303234 0024
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:475] adb_close: 2048(lo-client:5037)
adb server version (36) doesn't match this client (39); killing...
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:124] _adb_connect: host:kill
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:750] port 5037 type tcp => fd 2048
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:101] writex: fd=2048 len=13 30303039686f73743a6b696c6c 0009host:kill
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:75] readx: fd=2048 wanted=4
adb I 03-23 09:00:57 3852 6096 adb_io.cpp:91] readx: fd=2048 wanted=4 got=4 4f4b4159 OKAY
adb I 03-23 09:00:57 3852 6096 adb_client.cpp:157] _adb_connect: return fd 2048
adb I 03-23 09:00:57 3852 6096 sysdeps_win32.cpp:475] adb_close: 2048(lo-client:5037)
adb I 03-23 09:00:59 7704 6108 adb_trace.cpp:178] Android Debug Bridge version 1.0.39
adb I 03-23 09:00:59 7704 6108 adb_trace.cpp:178] Revision 5943271ace17-android
adb I 03-23 09:00:59 7704 6108 adb_trace.cpp:178]
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:827] port 0 type tcp => fd 2048
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:1060] adb_socketpair: bound on port 57887
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:750] port 57887 type tcp => fd 2049
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:945] adb_socket_accept on fd 2048 returns fd 2050
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:1087] adb_socketpair: client and peer sockaddrs don't match
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:475] adb_close: 2048(lo-server:0)
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:475] adb_close: 2049(lo-client:57887)
adb I 03-23 09:00:59 7704 6108 sysdeps_win32.cpp:475] adb_close: 2050(accept:2048(lo-server:0))
error: cannot open transport registration socketpair: Input/output error
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Is this what you wanted?
Description
(adb shell sleep 60 && echo this shouldn't happen) & sleep 1; adb tcpip 5555
returns zero instead of failure (ssh returns 255 in this scenario, I think).