i trace it
it crash in src/network/tcp.c net_Connect function when call poll
do
/* NOTE: timeout screwed up if we catch a signal (EINTR) */
val = poll (ufd, sizeof (ufd) / sizeof (ufd[0]), timeout);
while ((val == -1) && (net_errno == EINTR));
i add a poll function into tcp.c, and comment //# include <poll.h>
and then it crash at modules/access/http.c Request when call
net_Printf( p_access, p_sys->fd, pvs,
"GET %s HTTP/1.%d\r\nHost: %s\r\n",
psz_path, p_sys->i_version, p_sys->url.psz_host );
here is log :
04-20 06:33:16.702: VERBOSE/LibVLC(548): Reading http://forum.ea3w.com/coll_ea3w/attach/ ... 832415.3gp
04-20 06:33:16.763: DEBUG/vlc(548): [0x313c04] main input debug: Creating an input for 'http://forum.ea3w.com/coll_ea3w/attach/ ... 832415.3gp'
04-20 06:33:16.832: DEBUG/vlc(548): [0x313c04] main input debug: thread started
04-20 06:33:16.832: DEBUG/vlc(548): [0x313c04] main input debug: using timeshift granularity of 50 MiB
04-20 06:33:16.832: DEBUG/vlc(548): [0x313c04] main input debug: using timeshift path '/tmp'
04-20 06:33:16.852: DEBUG/vlc(548): [0x313c04] main input debug: `http://forum.ea3w.com/coll_ea3w/attach/ ... 832415.3gp' gives access `http' demux `' path `forum.ea3w.com/coll_ea3w/attach/2008_10/12237832415.3gp'
04-20 06:33:16.852: DEBUG/vlc(548): [0x313c04] main input debug: creating demux: access='http' demux='' location='forum.ea3w.com/coll_ea3w/attach/2008_10/12237832415.3gp' file='(null)'
04-20 06:33:16.892: DEBUG/vlc(548): [0x31b624] main demux debug: looking for access_demux module: 0 candidates
04-20 06:33:16.892: DEBUG/vlc(548): [0x31b624] main demux debug: no access_demux module matched "http"
04-20 06:33:16.911: DEBUG/vlc(548): [0x31b624] main demux debug: TIMER module_need() : 18.531 ms - Total 18.531 ms / 1 intvls (Avg 18.531 ms)
04-20 06:33:16.961: DEBUG/vlc(548): [0x313c04] main input debug: creating access 'http' location='forum.ea3w.com/coll_ea3w/attach/2008_10/12237832415.3gp', path='(null)'
04-20 06:33:17.021: DEBUG/vlc(548): [0x2fb574] main access debug: looking for access module: 2 candidates
04-20 06:33:17.021: DEBUG/vlc(548): [0x2fb574] access_http access debug: http: server='forum.ea3w.com' port=80 file='/coll_ea3w/attach/2008_10/12237832415.3gp'
04-20 06:33:17.052: DEBUG/vlc(548): [0x2fb574] main access debug: net: connecting to forum.ea3w.com port 80
04-20 06:33:17.232: DEBUG/vlc(548): [0x2fb574] main access debug: connection succeeded (socket = 35)
04-20 06:33:17.351: INFO/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-20 06:33:17.361: INFO/DEBUG(31): Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys'
04-20 06:33:17.421: INFO/DEBUG(31): pid: 548, tid: 563 >>> vlc.android <<<
04-20 06:33:17.421: INFO/DEBUG(31): signal 11 (SIGSEGV), fault addr 37eb946c
04-20 06:33:17.453: INFO/DEBUG(31): r0 00000001 r1 00000200 r2 4797c988 r3 00000010
04-20 06:33:17.453: INFO/DEBUG(31): r4 00000023 r5 4797c980 r6 00000001 r7 00000001
04-20 06:33:17.462: INFO/DEBUG(31): r8 829e5d29 r9 4797c950 10 37eb94f4 fp ffffffff
04-20 06:33:17.462: INFO/DEBUG(31): ip f053cba4 sp 4797c7b0 lr 822c47a4 pc 822c4658 cpsr 60000010
04-20 06:33:19.481: INFO/DEBUG(31): #00 pc 002c4658 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.481: INFO/DEBUG(31): #01 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.491: INFO/DEBUG(31): #02 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.521: INFO/DEBUG(31): #03 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.521: INFO/DEBUG(31): #04 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.541: INFO/DEBUG(31): #05 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.541: INFO/DEBUG(31): #06 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.573: INFO/DEBUG(31): #07 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.573: INFO/DEBUG(31): #08 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.602: INFO/DEBUG(31): #09 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.602: INFO/DEBUG(31): #10 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.622: INFO/DEBUG(31): #11 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.622: INFO/DEBUG(31): #12 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.662: INFO/DEBUG(31): #13 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.662: INFO/DEBUG(31): #14 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.702: DEBUG/dalvikvm(66): GC_EXPLICIT freed 496 objects / 22384 bytes in 414ms
04-20 06:33:19.722: INFO/DEBUG(31): #15 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.722: INFO/DEBUG(31): #16 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.722: INFO/DEBUG(31): #17 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.732: INFO/DEBUG(31): #18 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.752: INFO/DEBUG(31): #19 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.752: INFO/DEBUG(31): #20 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.792: INFO/DEBUG(31): #21 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.792: INFO/DEBUG(31): #22 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.812: INFO/DEBUG(31): #23 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.812: INFO/DEBUG(31): #24 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.842: INFO/DEBUG(31): #25 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.842: INFO/DEBUG(31): #26 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.871: INFO/DEBUG(31): #27 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.871: INFO/DEBUG(31): #28 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.891: INFO/DEBUG(31): #29 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.891: INFO/DEBUG(31): #30 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.932: INFO/DEBUG(31): #31 pc 002c47a0 /data/data/vlc.android/lib/libvlcjni.so
04-20 06:33:19.932: INFO/DEBUG(31): code around pc:
04-20 06:33:19.941: INFO/DEBUG(31): 822c4638 e1a0c2c8 13811008 e28d9e1a e1a0c10c
04-20 06:33:19.941: INFO/DEBUG(31): 822c4648 11c210b6 e089a00c e208101f e1a01117
04-20 06:33:19.951: INFO/DEBUG(31): 822c4658 e51aa088 e0852003 e3a09000 e111000a
04-20 06:33:19.962: INFO/DEBUG(31): 822c4668 e2866001 e1c290b6 0affffb8 e3a0a001
04-20 06:33:19.962: INFO/DEBUG(31): 822c4678 e28d9e1a e1c2a0b6 e089a00c e51aa108
04-20 06:33:19.974: INFO/DEBUG(31): code around lr:
04-20 06:33:19.974: INFO/DEBUG(31): 822c4784 eaffff59 e3a0c000 e59d1014 e59d200c
04-20 06:33:19.981: INFO/DEBUG(31): 822c4794 e59d3010 e2840001 e58dc000 ebf6e61d
04-20 06:33:19.991: INFO/DEBUG(31): 822c47a4 eaffff39 000003ff 10624dd3 e92d4ff0
04-20 06:33:19.991: INFO/DEBUG(31): 822c47b4 e28db020 e24dd014 e1a04001 e50b002c
04-20 06:33:20.001: INFO/DEBUG(31): 822c47c4 eb0073cf e3540000 e1a05000 0a00019a
04-20 06:33:20.001: INFO/DEBUG(31): stack:
04-20 06:33:20.031: INFO/DEBUG(31): 4797c770 00000000
04-20 06:33:20.031: INFO/DEBUG(31): 4797c774 00000000
04-20 06:33:20.031: INFO/DEBUG(31): 4797c778 00000000
04-20 06:33:20.031: INFO/DEBUG(31): 4797c77c 00000000
04-20 06:33:20.042: INFO/DEBUG(31): 4797c780 00000000
04-20 06:33:20.042: INFO/DEBUG(31): 4797c784 4797c724
04-20 06:33:20.042: INFO/DEBUG(31): 4797c788 00000000
04-20 06:33:20.042: INFO/DEBUG(31): 4797c78c 00000000
04-20 06:33:20.051: INFO/DEBUG(31): 4797c790 00000000
04-20 06:33:20.051: INFO/DEBUG(31): 4797c794 00000000
04-20 06:33:20.063: INFO/DEBUG(31): 4797c798 4797c7c8
04-20 06:33:20.063: INFO/DEBUG(31): 4797c79c 00000000
04-20 06:33:20.071: INFO/DEBUG(31): 4797c7a0 00000023
04-20 06:33:20.071: INFO/DEBUG(31): 4797c7a4 4797c980
04-20 06:33:20.071: INFO/DEBUG(31): 4797c7a8 df002777
04-20 06:33:20.081: INFO/DEBUG(31): 4797c7ac e3a070ad
04-20 06:33:20.081: INFO/DEBUG(31): #01 4797c7b0 00000000
04-20 06:33:20.081: INFO/DEBUG(31): 4797c7b4 00000000
04-20 06:33:20.091: INFO/DEBUG(31): 4797c7b8 00000000
04-20 06:33:20.091: INFO/DEBUG(31): 4797c7bc 4797c848
04-20 06:33:20.111: INFO/DEBUG(31): 4797c7c0 4797c7c8
04-20 06:33:20.111: INFO/DEBUG(31): 4797c7c4 4797c8c8
04-20 06:33:20.111: INFO/DEBUG(31): 4797c7c8 00000000
04-20 06:33:20.111: INFO/DEBUG(31): 4797c7cc 00000000
04-20 06:33:20.111: INFO/DEBUG(31): 4797c7d0 00000000
04-20 06:33:20.123: INFO/DEBUG(31): 4797c7d4 00000000
04-20 06:33:20.123: INFO/DEBUG(31): 4797c7d8 00000000
04-20 06:33:20.131: INFO/DEBUG(31): 4797c7dc 00000000
04-20 06:33:20.131: INFO/DEBUG(31): 4797c7e0 00000000
04-20 06:33:20.141: INFO/DEBUG(31): 4797c7e4 00000000
04-20 06:33:20.141: INFO/DEBUG(31): 4797c7e8 00000000
04-20 06:33:20.151: INFO/DEBUG(31): 4797c7ec 00000000
04-20 06:33:20.151: INFO/DEBUG(31): 4797c7f0 00000000
04-20 06:33:20.151: INFO/DEBUG(31): 4797c7f4 00000000
04-20 06:33:21.771: DEBUG/Zygote(33): Process 548 terminated by signal (11)
04-20 06:33:21.802: INFO/ActivityManager(66): Process vlc.android (pid 548) has died.
anyone know how to fix?