[Android Software Development] bludragon742:
I'm having a huge problem tonight and I am at the point where I just want to scream. I am writing a small app for my HTC EVO in MotoDev Studio on Win 7 x64. From the start, I have had issues with both MDS and ADB running slow or constantly crashing.(Worst.IDE.ever.) Usually, this can be remedied by either restarting MDS, the computer, the phone, or all of the above and the problem goes away for a short while. (Very annoying and highly detrimental to the development process plus a huge waste of time and $$.) Tonight, however, everytime I start MDS or press "Debug" ADB crashes. Nothing will stop it! This is holding me up and I just want the f'n POS to work!!!:mad::mad::mad: (Sorry, needed to vent.)

Below is a trace. Any idea what is causing this?

to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
_event_socketpair_start: hook 101(pair:100) for 65 wanted=1
_event_socketpair_start: hook 104(pair:105) for 68 wanted=1
adb_win32: waiting for 63 events
adb_win32: got one (index 60)
_event_socket_check 183(accept:102(lo-server:5037)) returns 0
adb_win32: waiting for 63 events
usb_write got: 24, expected: 24
usb_write got: 24, expected: 24, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [59414b4f OKAY] 0000015c 00000042 (0)
usb_read 24
adb_win32: got one (index 61)
_event_socket_check 184(accept:102(lo-server:5037)) returns 0
adb_win32: waiting for 63 events
adb_win32: got one (index 2)
adb_win32: signaling 104(pair:105) for 0
read_packet: 104 ok: [59414b4f OKAY] 0000015c 00000042 (0)
handle_packet() 1497451343
RS(348): created
fdevent_update: add 1 to 186
event_looper_hook: call hook for 186 (new=0, old=1)
Calling remote_socket_enqueue
write_packet: 104 [45545257 WRTE] 00000041 0000015b (61) 00000017400000e500c7014
8454c4f00 ....@......HELO.
fdevent_update: remove 1 from 185
read_packet: 105 ok: [45545257 WRTE] 00000041 0000015b (61) 00000017400000e500c7
0148454c4f00 ....@......HELO.
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
usb_write got: 24, expected: 24, errno: 997
usb_read 247
usb_write got: 24, expected: 24
usb_write 61
usb_write got: 247, expected: 247, errno: 997
usb_write got: 61, expected: 61
Calling remote_socket_enqueue
write_packet: 104 [45545257 WRTE] 00000042 0000015c (33) 4a4457502d48616e6473686
16b650000 JDWP-Handshake..
fdevent_update: remove 1 from 186
read_packet: 105 ok: [45545257 WRTE] 00000042 0000015c (33) 4a4457502d48616e6473
68616b650000 JDWP-Handshake..
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [45545257 WRTE] 0000015a 00000040 (247) 000000e3400000e2800000
4645415400 ....@......FEAT.
usb_read 24
usb_write got: 24, expected: 24
usb_write got: 24, expected: 24, errno: 997
usb_read 20
adb_socket_accept on fd 102 returns fd 187
usb_write 33
usb_write got: 20, expected: 20, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [45545257 WRTE] 0000015b 00000041 (20) 00000014400000e48000005
245415100 ....@......REAQ.
usb_write got: 33, expected: 33
LS(67): created (fd=187)
Connecting to smart socket
Creating smart socket
SS(0): created 00407BE0
fdevent_update: add 1 to 187
event_looper_hook: call hook for 187 (new=0, old=1)
read_packet: 104 ok: [45545257 WRTE] 0000015a 00000040 (247) 000000e3400000e2800
0004645415400 ....@......FEAT.
handle_packet() 1163154007
LS(64): enqueue 247
Enqueue the socket
Calling send_ready
write_packet: 104 [59414b4f OKAY] 00000040 0000015a (0)
read_packet: 105 ok: [59414b4f OKAY] 00000040 0000015a (0)
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
SS(0): enqueue 31
SS(0): len is 27
SS(0): 'host:transport:HT07MHL05447'
usb_write got: 24, expected: 24
usb_read 24
SS(0): okay transport
read_packet: 104 ok: [45545257 WRTE] 0000015b 00000041 (20) 00000014400000e48000
005245415100 ....@......REAQ.
handle_packet() 1163154007
LS(65): enqueue 20
Enqueue the socket
Calling send_ready
write_packet: 104 [59414b4f OKAY] 00000041 0000015b (0)
read_packet: 105 ok: [59414b4f OKAY] 00000041 0000015b (0)
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
SS(0): enqueue 13
SS(0): len is 9
SS(0): 'jdwp:1661'
Connect_to_remote call
LS(67): connect('jdwp:1661')
write_packet: 104 [4e45504f OPEN] 00000043 00000000 (10) 6a6477703a3136363100 j
dwp:1661.
SS(0): closed
fdevent_update: remove 1 from 187
usb_write got: 24, expected: 24
usb_write got: 24, expected: 24, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [59414b4f OKAY] 0000015b 00000041 (0)
usb_read 24
read_packet: 105 ok: [4e45504f OPEN] 00000043 00000000 (10) usb_write got: 24, e
xpected: 24, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [59414b4f OKAY] 0000015c 00000042 (0)
usb_read 24
_event_socketpair_start: hook 101(pair:100) for 65 wanted=1
_event_socketpair_start: hook 104(pair:105) for 68 wanted=1
6a6477703a3136363100 jdwp:1661.
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
adb_win32: waiting for 62 events
adb_win32: got one (index 1)
_event_socket_check 102(lo-server:5037) returns 0
usb_write got: 24, expected: 24
usb_write 10
adb_win32: waiting for 62 events
adb_win32: got one (index 2)
adb_win32: signaling 104(pair:105) for 0
read_packet: 104 ok: [59414b4f OKAY] 0000015b 00000041 (0)
handle_packet() 1497451343
fdevent_update: add 1 to 185
event_looper_hook: call hook for 185 (new=0, old=1)
_event_socket_start: hooking 185(accept:102(lo-server:5037)) for 0 (flags 0)
usb_write got: 10, expected: 10
usb_write got: 24, expected: 24, errno: 997
usb_read 14
read_packet: 104 ok: [59414b4f OKAY] 0000015c 00000042 (0)
handle_packet() 1497451343
fdevent_update: add 1 to 186
event_looper_hook: call hook for 186 (new=0, old=1)
usb_write got: 14, expected: 14, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [45545257 WRTE] 0000015c 00000042 (14) 4a4457502d48616e6473686
16b65 JDWP-Handshake
_event_socketpair_start: hook 101(pair:100) for 65 wanted=1
_event_socketpair_start: hook 104(pair:105) for 68 wanted=1
usb_read 24
_event_socket_start: hooking 185(accept:102(lo-server:5037)) for 1 (flags 41)
_event_socket_start: hooking 186(accept:102(lo-server:5037)) for 1 (flags 41)
adb_win32: waiting for 64 events
adb_win32: got one (index 2)
adb_win32: signaling 104(pair:105) for 0
usb_write got: 24, expected: 24, errno: 997
usb_read 374
read_packet: 104 ok: [45545257 WRTE] 0000015c 00000042 (14) 4a4457502d48616e6473
68616b65 JDWP-Handshake
handle_packet() 1163154007
usb_write got: 374, expected: 374, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [45545257 WRTE] 0000015b 00000041 (374) 0000007f400000e5800000
48454c4f00 ...⌂@......HELO.
usb_read 24
LS(66): enqueue 14
Enqueue the socket
Calling send_ready
write_packet: 104 [59414b4f OKAY] 00000042 0000015c (0)
read_packet: 104 ok: [45545257 WRTE] 0000015b 00000041 (374) 0000007f400000e5800
00048454c4f00 ...⌂@......HELO.
handle_packet() 1163154007
LS(65): enqueue 374
read_packet: 105 ok: [59414b4f OKAY] 00000042 0000015c (0)
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
usb_write got: 24, expected: 24, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [59414b4f OKAY] 0000015d 00000043 (0)
usb_write got: 24, expected: 24
Enqueue the socket
Calling send_ready
write_packet: 104 [59414b4f OKAY] 00000041 0000015b (0)
read_packet: 105 ok: [59414b4f OKAY] 00000041 0000015b (0)
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
read_packet: 104 ok: [59414b4f OKAY] 0000015d 00000043 (0)
handle_packet() 1497451343
usb_write got: 24, expected: 24
usb_read 24
RS(349): created
fdevent_update: add 1 to 187
event_looper_hook: call hook for 187 (new=0, old=1)
Calling remote_socket_enqueue
write_packet: 104 [45545257 WRTE] 00000042 0000015c (61) 00000017400000e900c7014
8454c4f00 ....@......HELO.
fdevent_update: remove 1 from 186
adb_socket_accept on fd 102 returns fd 188
read_packet: 105 ok: [45545257 WRTE] 00000042 0000015c (61) 00000017400000e900c7
0148454c4f00 ....@......HELO.
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
usb_write got: 24, expected: 24, errno: 997
usb_read 20
LS(68): created (fd=188)
Connecting to smart socket
Creating smart socket
SS(0): created 00407BE0
fdevent_update: add 1 to 188
usb_write got: 20, expected: 20, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [45545257 WRTE] 0000015c 00000042 (20) 00000014400000e88000005
245415100 ....@......REAQ.
usb_write got: 24, expected: 24
usb_write 61
usb_read 24
event_looper_hook: call hook for 188 (new=0, old=1)
usb_write got: 61, expected: 61
Calling remote_socket_enqueue
write_packet: 104 [45545257 WRTE] 00000043 0000015d (33) 4a4457502d48616e6473686
16b650000 JDWP-Handshake..
fdevent_update: remove 1 from 187
read_packet: 105 ok: [45545257 WRTE] 00000043 0000015d (33) 4a4457502d48616e6473
68616b650000 JDWP-Handshake..
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
usb_write got: 24, expected: 24, errno: 997
from_remote: received remote packet, sending to transport 005F7138
usb_write got: 24, expected: 24
usb_write 33
write_packet: 105 [59414b4f OKAY] 0000015c 00000042 (0)
usb_write got: 33, expected: 33
read_packet: 104 ok: [45545257 WRTE] 0000015c 00000042 (20) 00000014400000e88000
005245415100 ....@......REAQ.
handle_packet() 1163154007
usb_read 24
LS(66): enqueue 20
Enqueue the socket
Calling send_ready
write_packet: 104 [59414b4f OKAY] 00000042 0000015c (0)
usb_write got: 24, expected: 24, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [59414b4f OKAY] 0000015d 00000043 (0)
usb_read 24
read_packet: 105 ok: [59414b4f OKAY] 00000042 0000015c (0)
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
SS(0): enqueue 31
SS(0): len is 27
SS(0): 'host:transport:HT07MHL05447'
SS(0): okay transport
usb_write got: 24, expected: 24
usb_write got: 24, expected: 24, errno: 997
usb_read 14
read_packet: 104 ok: [59414b4f OKAY] 0000015c 00000042 (0)
handle_packet() 1497451343
fdevent_update: add 1 to 186
event_looper_hook: call hook for 186 (new=0, old=1)
_event_socket_start: hooking 186(accept:102(lo-server:5037)) for 0 (flags 0)
read_packet: 104 ok: [59414b4f OKAY] 0000015d 00000043 (0)
handle_packet() 1497451343
fdevent_update: add 1 to 187
event_looper_hook: call hook for 187 (new=0, old=1)
SS(0): enqueue 13
SS(0): len is 9
SS(0): 'jdwp:1696'
Connect_to_remote call
LS(68): connect('jdwp:1696')
write_packet: 104 [4e45504f OPEN] 00000044 00000000 (10) 6a6477703a3136393600 j
dwp:1696.
SS(0): closed
fdevent_update: remove 1 from 188
_event_socketpair_start: hook 101(pair:100) for 65 wanted=1
_event_socketpair_start: hook 104(pair:105) for 68 wanted=1
_event_socket_start: hooking 186(accept:102(lo-server:5037)) for 1 (flags 41)
_event_socket_start: hooking 187(accept:102(lo-server:5037)) for 1 (flags 41)
adb_win32: waiting for 65 events
handle count 65 exceeds MAXIMUM_WAIT_OBJECTS, aborting!

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
usb_write got: 14, expected: 14, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [45545257 WRTE] 0000015d 00000043 (14) 4a4457502d48616e6473686
16b65 JDWP-Handshake
read_packet: 105 ok: [4e45504f OPEN] 00000044 00000000 (10) 6a6477703a3136393600
jdwp:1696.
to_remote: transport 005F7138 got packet, sending to remote
usb_write 24
usb_read 24
usb_write got: 24, expected: 24
usb_write 10
usb_write got: 24, expected: 24, errno: 997
usb_read 356
usb_write got: 10, expected: 10
usb_write got: 356, expected: 356, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [45545257 WRTE] 0000015c 00000042 (356) 0000006d400000e9800000
48454c4f00 ...m@......HELO.
usb_read 24
usb_write got: 24, expected: 24, errno: 997
from_remote: received remote packet, sending to transport 005F7138
write_packet: 105 [59414b4f OKAY] 0000015e 00000044 (0)
usb_read 24
usb_write got: 0, expected: 24, errno: 121
usb_write got: 0, expected: 24, errno: 121