cmiller@cmiller-MacBook:~/Downloads/nfcpy-fuzz-connect/examples$ sudo ./fuzz_information_nosu.py 
RESETING SERVICES
just got mypid and its 5445

--jacking---------5445
just got mypid and its 5445

5445
 ... 5445

searching for a usable reader
searching for a usb bus reader
chipset is a PN533 version 2.7
using SCM Micro SCL3711-NFC&RW at usb:001:122
activated as p2p target in 424 kbps passive mode
LLCP Link established, I'm the DEP Target
Local LLCP Settings
  LLCP Version: 1.1
  Link Timeout: 1000 ms
  Max Inf Unit: 1024 octet
  Service List: 0000000000000011
Remote LLCP Settings
  LLCP Version: 1.0
  Link Timeout: 1500 ms
  Max Inf Unit: 128 octet
  Service List: 0000000000000001
shutdown on link disruption
I was the Target
CRASH
--------- beginning of /dev/log/main
D/NFC JNI ( 5445): Start Initialization
W/NFC_i2c ( 5445): sleeping a little longer...
D/NFC JNI ( 5445): NFC capabilities: HAL = 8150100, FW = a76d0c, HW = 620003, Model = 0, HCI = 1, Full_FW = 109, FW Update Info = 5
D/NFC JNI ( 5445): Download new Firmware
W/NFC_i2c ( 5445): sleeping a little longer...
D/NFC JNI ( 5445): phLibNfc_SE_GetSecureElementList()
D/NFC JNI ( 5445): 
D/NFC JNI ( 5445): > Number of Secure Element(s) : 1
D/NFC JNI ( 5445): phLibNfc_SE_GetSecureElementList(): SMX detected, handle=0xabcdef
D/NFC JNI ( 5445): phLibNfc_SE_SetMode() returned 0x000d[NFCSTATUS_PENDING]
I/NFC JNI ( 5445): NFC Initialized
D/NdefPushServer( 5445): start, thread = null
D/NdefPushServer( 5445): starting new server thread
D/NdefPushServer( 5445): about create LLCP service socket
D/NdefPushServer( 5445): created LLCP service socket
D/NdefPushServer( 5445): about to accept
D/NFC JNI ( 5445): Discovered P2P Target
D/NfcService( 5445): LLCP Activation message
I/NFC JNI ( 5445): LLCP Link activated (LTO=100, MIU=1021, OPTION=0x03, WKS=0x03)
D/NdefPushClient( 5445): LLCP connection up and running
D/NdefPushClient( 5445): no tags set, bailing
D/NdefPushServer( 5445): accept returned com.android.internal.nfc.LlcpSocket@40585cf8
D/NdefPushServer( 5445): about to accept
D/NdefPushServer( 5445): starting connection thread
D/NdefPushServer( 5445): read 33 bytes
D/NFC JNI ( 5445): Socket Disconnected
D/NdefPushServer( 5445): connection broken by IOException
D/NdefPushServer( 5445): java.io.IOException
D/NdefPushServer( 5445): 	at com.android.internal.nfc.LlcpSocket.receive(LlcpSocket.java:193)
D/NdefPushServer( 5445): 	at com.android.nfc.ndefpush.NdefPushServer$ConnectionThread.run(NdefPushServer.java:70)
D/dalvikvm( 5445): GC_FOR_MALLOC freed 432K, 54% free 2602K/5639K, external 1625K/2137K, paused 28ms
I/dalvikvm-heap( 5445): Grow heap (frag case) to 12.725MB for 6357011-byte allocation
D/dalvikvm( 5445): GC_FOR_MALLOC freed 17K, 27% free 8793K/11911K, external 1625K/2137K, paused 15ms
D/dalvikvm( 5445): GC_CONCURRENT freed 8K, 27% free 8784K/11911K, external 1625K/2137K, paused 2ms+2ms
D/dalvikvm( 5445): GC_FOR_MALLOC freed <1K, 27% free 8784K/11911K, external 1625K/2137K, paused 19ms
I/dalvikvm-heap( 5445): Forcing collection of SoftReferences for 25427996-byte allocation
D/dalvikvm( 5445): GC_FOR_MALLOC freed <1K, 27% free 8783K/11911K, external 1625K/2137K, paused 14ms
E/dalvikvm-heap( 5445): Out of memory on a 25427996-byte allocation.
I/dalvikvm( 5445): "NdefPushServer" prio=5 tid=12 RUNNABLE
I/dalvikvm( 5445):   | group="main" sCount=0 dsCount=0 obj=0x405862e0 self=0x2b5ca8
I/dalvikvm( 5445):   | sysTid=5480 nice=0 sched=0/0 cgrp=default handle=2842080
I/dalvikvm( 5445):   at com.android.nfc.ndefpush.NdefPushProtocol.<init>(NdefPushProtocol.java:~98)
I/dalvikvm( 5445):   at com.android.nfc.ndefpush.NdefPushServer$ConnectionThread.run(NdefPushServer.java:86)
I/dalvikvm( 5445): 
D/NdefPushServer( 5445): about to close
W/dalvikvm( 5445): threadid=12: thread exiting with uncaught exception (group=0x40015560)
--------- beginning of /dev/log/system
E/AndroidRuntime( 5445): FATAL EXCEPTION: NdefPushServer
E/AndroidRuntime( 5445): java.lang.OutOfMemoryError
E/AndroidRuntime( 5445): 	at com.android.nfc.ndefpush.NdefPushProtocol.<init>(NdefPushProtocol.java:98)
E/AndroidRuntime( 5445): 	at com.android.nfc.ndefpush.NdefPushServer$ConnectionThread.run(NdefPushServer.java:86)
D/NdefPushServer( 5445): stop, thread = Thread[Thread-12,5,main]
D/NdefPushServer( 5445): shuting down server thread
D/NFC JNI ( 5445): Terminating client thread...
W/NFC_i2c ( 5445): sleeping a little longer...
D/NFC JNI ( 5445): phLibNfc_Mgt_UnConfigureDriver() returned 0x0000[NFCSTATUS_SUCCESS]
I/DEBUG   ( 4810): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 4810): Build fingerprint: 'generic/full_crespo/crespo:2.3.3/GRI40/eng.charlie.20120418.233340:eng/test-keys'
I/DEBUG   ( 4810): pid: 5445, tid: 5446  >>> com.android.nfc <<<
I/DEBUG   ( 4810): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG   ( 4810):  r0 00000027  r1 deadbaad  r2 a0000000  r3 00000000
I/DEBUG   ( 4810):  r4 00000001  r5 00000000  r6 4050a018  r7 00010000
I/DEBUG   ( 4810):  r8 40009280  r9 00000000  10 00000000  fp acaa4d38
I/DEBUG   ( 4810):  ip afd46668  sp 100ffdf0  lr afd19a81  pc afd16550  cpsr 60000030
I/DEBUG   ( 4810):  d0  0000000000821796  d1  0000004900000031
I/DEBUG   ( 4810):  d2  4e56ae4d4293a333  d3  42c8000000ba1f37
I/DEBUG   ( 4810):  d4  0000000000896550  d5  0000000000000000
I/DEBUG   ( 4810):  d6  0000000000000000  d7  0000000000000000
I/DEBUG   ( 4810):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 4810):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 4810):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 4810):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 4810):  d16 0000000000105b6d  d17 3ff0000000000000
I/DEBUG   ( 4810):  d18 42eccefa43de3400  d19 3fbc71c71c71c71c
I/DEBUG   ( 4810):  d20 4008000000000000  d21 3fd99a27ad32ddf5
I/DEBUG   ( 4810):  d22 3fd24998d6307188  d23 3fcc7288e957b53b
I/DEBUG   ( 4810):  d24 3fc74721cad6b0ed  d25 3fc39a09d078c69f
I/DEBUG   ( 4810):  d26 0000000000000000  d27 0000000000000000
I/DEBUG   ( 4810):  d28 0000000000000000  d29 0000000000000000
I/DEBUG   ( 4810):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   ( 4810):  scr 80000012
I/DEBUG   ( 4810): 
I/DEBUG   ( 4810):          #00  pc 00016550  /system/lib/libc.so
I/DEBUG   ( 4810):          #01  pc 00007192  /system/lib/libcutils.so
I/DEBUG   ( 4810):          #02  pc 00007262  /system/lib/libcutils.so
I/DEBUG   ( 4810):          #03  pc 000072f6  /system/lib/libcutils.so
I/DEBUG   ( 4810):          #04  pc 0006a534  /system/lib/libdvm.so
I/DEBUG   ( 4810):          #05  pc 0005018a  /system/lib/libdvm.so
I/DEBUG   ( 4810):          #06  pc 0004e0ce  /system/lib/libdvm.so
I/DEBUG   ( 4810):          #07  pc 00011904  /system/lib/libc.so
I/DEBUG   ( 4810):          #08  pc 000114d0  /system/lib/libc.so
I/DEBUG   ( 4810): 
I/DEBUG   ( 4810): code around pc:
I/DEBUG   ( 4810): afd16530 2c006824 e028d1fb b13368db c064f8df 
I/DEBUG   ( 4810): afd16540 44fc2401 4000f8cc 49124798 25002027 

RESETING SERVICES
searching for a usable reader
searching for a usb bus reader
chipset is a PN533 version 2.7
using SCM Micro SCL3711-NFC&RW at usb:001:122
activated a p2p target in 424 kbps active mode
LLCP Link established, I'm the DEP Initiator
Local LLCP Settings
  LLCP Version: 1.1
  Link Timeout: 1000 ms
  Max Inf Unit: 1024 octet
  Service List: 0000000000000011
Remote LLCP Settings
  LLCP Version: 1.0
  Link Timeout: 1500 ms
  Max Inf Unit: 128 octet
  Service List: 0000000000000001
>> [2]
0x0 0x0 
>> [19]
0x5 0x20 0x6 0xf 0x63 0x6f 0x6d 0x2e 0x61 0x6e 0x64 0x72 0x6f 0x69 0x64 0x2e 0x6e 0x70 0x70 
shutdown on link disruption
Exception: pop from an empty deque
I was the Initiator
Unexpected response shutting down NFC on phone
RESETING SERVICES
failed! |22869660|28010497|
SERVICE DOWN!!!
RESETING SERVICES
^CTraceback (most recent call last):
