[rtmpdump] rtmpsuck Segmentation Fault

Francisco Legaspi silverbolt28 at ignmail.com
Tue Feb 16 02:33:51 CET 2010


> From: "Howard Chu" <hyc at highlandsun.com>
> If you get a segfault, you should get a core file and get a gdb 
> stack trace from the core file. Without a stack trace we have 
> nothing to analyze and no way to help you. Also, make sure you 
> compiled with full debug (-g) and no optimization, otherwise the 
> trace will be unreliable.
> 
> I was able to connect once, and saw the same as you did - only 
> 128KB saved - but I haven't been able to get anything at all since 
> then. So I have no way to track down any of that behavior...

I've never done this before, so I hope I did this correctly:

#0  0x002fd4b1 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
#1  0x0031cea0 in vsnprintf () from /lib/tls/i686/cmov/libc.so.6
#2  0x08049f5a in AMF_Log (level=4, 
    format=0x8059ae8 "%s, string reference, index: %d, not supported, ignoring!") at log.c:97
#3  0x08052b56 in AMF3ReadString (
    data=0x90b55f5 "\021userName\006\n\021videoUri\006\201G/uliza1.0.3/5//13_4163_4163000361_KWHMVWAQICNYMIBDFREJ_22968_2000000_1280_720_11_20091128033956.mp4\023episodeId\006\025\064\061\066\063\060\060\060\063\066\061\021duration\005 at N\b\223t\274j\177\017videoId\006)KWHMVWAQICNYMIBDFREJ\001", str=0xb6eeff78)
    at amf.c:436
#4  0x08052cfb in AMF3Prop_Decode (prop=0xb6eeff6c, 
    pBuffer=0x90b55f4 "\016\021userName\006\n\021videoUri\006\201G/uliza1.0.3/5//13_4163_4163000361_KWHMVWAQICNYMIBDFREJ_22968_2000000_1280_720_11_20091128033956.mp4\023episodeId\006\025\064\061\066\063\060\060\060\063\066\061\021duration\005 at N\b\223t\274j\177\017videoId\006)KWHMVWAQICNYMIBDFREJ\001", nSize=194, 
    bDecodeName=1) at amf.c:521
#5  0x08053ac1 in AMF3_Decode (obj=0xb6ef0068, 
    pBuffer=0x90b55f0 "\005os\006\016\021userName\006\n\021videoUri\006\201G/uliza1.0.3/5//13_4163_4163000361_KWHMVWAQICNYMIBDFREJ_22968_2000000_1280_720_11_20091128033956.mp4\023episodeId\006\025\064\061\066\063\060\060\060\063\066\061\021duration\005 at N\b\223t\274j\177\017videoId\006)KWHMVWAQICNYMIBDFREJ\001", 
    nSize=198, bAMFData=1) at amf.c:1017
---Type <return> to continue, or q <return> to quit---
#6  0x08053298 in AMFProp_Decode (prop=0xb6ef005c, 
    pBuffer=0x90b5500 "\n\v\001\021clientId\006\003\065\021playerId\006\005\071\070\acpu\006\003-\vosVer\006/Linux 2.6.31-19-generic\ttime\006\003\060\021serverIp\006\037stream.uliza.jp\025fileLength\004\377\377\377\377\023mediaName\006\201\061mp4:13_4163_4163000361_KWHMVWAQICNYMIBDFREJ_22968_2000000_1280_720_11_2"..., nSize=438, bDecodeName=0) at amf.c:739
#7  0x08053ba9 in AMF_Decode (obj=0xb6ef00ec, 
    pBuffer=0x90b54ff "\021\n\v\001\021clientId\006\003\065\021playerId\006\005\071\070\acpu\006\003-\vosVer\006/Linux 2.6.31-19-generic\ttime\006\003\060\021serverIp\006\037stream.uliza.jp\025fileLength\004\377\377\377\377\023mediaName\006\201\061mp4:13_4163_4163000361_KWHMVWAQICNYMIBDFREJ_22968_2000000_1280_720_11_"..., nSize=439, bDecodeName=0) at amf.c:1062
#8  0x08053f7f in ServeInvoke (server=0xb6ef1008, which=0, pack=0xb6ef0244, 
    body=0x90b54eb "\002") at rtmpsuck.c:176
#9  0x08054ded in ServePacket (server=0xb6ef1008, which=0, packet=0xb6ef0244)
    at rtmpsuck.c:491
#10 0x0805592f in doServe (server=0xb6ef1008, sockfd=4) at rtmpsuck.c:862
#11 0x0805600a in serverThread (arg=0xb6ef1008) at rtmpsuck.c:1011
#12 0x00bd980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0x003898de in clone () from /lib/tls/i686/cmov/libc.so.6

If you need anything else, just let me know.


-- 
_______________________________________________
http://www.ign.com
Upgrade to Premium IGN Email
- 15MB of space
- No ads!
- Pop3 Downloads


More information about the rtmpdump mailing list