[Libav-user] Problems decoding mp3 files
b.mcdonagh at sky.com
b.mcdonagh at sky.com
Tue Apr 29 00:26:48 CEST 2014
Carl, sorry about this but i'm about to complicate things a little bit more - when i started weeks ago I had a problem with mp3 as stated but the problem was a little different - avformat_find_stream_info wasn't returning - it just hung. Now since adding more and more argument to my configure line it seems it went to a instant crash instead but i didn't notice this at the time as i had avformat_find_stream_info commented out whilst working on alternatives. Now I have just added a different build with --disable-stripping --enable-debug=3 --extra-cflags="-gstabs+" --enable-extra-warnings removed and it's gone back to hanging at avformat_find_stream_info instead of crashing.
btw - Is this a backtrace?
256,920 2-environment-cd C:/Users/chris2/ndk-10.0.9-workspacenew/EnhancedVideo
256,927 2^done
256,928 (gdb)
256,928 3-gdb-set breakpoint pending on
256,937 3^done
256,937 (gdb)
256,938 4-enable-pretty-printing
256,947 4^done
256,947 (gdb)
256,948 5-gdb-set print object on
256,957 5^done
256,957 (gdb)
256,958 6-gdb-set print sevenbit-strings on
256,968 6^done
256,968 (gdb)
256,968 7-gdb-set charset ISO-8859-1
256,978 7^error,msg="Cannot convert between character sets `ASCII' and `ISO-8859-1'"
256,978 (gdb)
256,979 8source .gdbinit
256,988 &"source .gdbinit\n"
256,988 &".gdbinit: No such file or directory.\n"
256,988 8^error,msg=".gdbinit: No such file or directory."
256,989 (gdb)
256,990 9-file-exec-and-symbols C:/Users/chris2/ndk-10.0.9-workspacenew/EnhancedVideo/arm/o.le-v7-g/\
EnhancedVideo
257,050 9^done
257,050 (gdb)
379,451 10-list-thread-groups
379,451 11-target-select qnx 169.254.0.1:8000
379,453 10^done,groups=[{id="i1",type="process",executable="C:/Users/chris2/ndk-10.0.9-workspacenew/\
EnhancedVideo/arm/o.le-v7-g/EnhancedVideo"}]
379,454 (gdb)
379,481 ~"MsgNak received - resending\n"
379,499 ~"Remote target is little-endian\n"
379,506 11^connected
379,506 (gdb)
379,507 12attach 1569403134
379,516 &"attach 1569403134\n"
379,517 ~"Attaching to pid 1569403134\n"
379,521 =thread-group-started,id="i1",pid="1569403134"
379,521 13-list-thread-groups --available
379,527 =thread-created,id="1",group-id="i1"
379,527 ~"[New pid 1569403134 tid 1]\n"
379,812 14-list-thread-groups
379,950 &"warning: Unable to find dynamic linker breakpoint function.\nGDB will be unable to debug s\
hared library initializers\nand track explicitly loaded dynamic code."
379,950 &"\n"
379,954 ~"0x019e46bc in ?? ()\n"
379,954 *stopped,frame={addr="0x019e46bc",func="??",args=[]},thread-id="1",stopped-threads="all"
379,954 12^done
379,955 (gdb)
379,955 13^error,msg="Can not fetch data now."
379,955 (gdb)
379,968 14^done,groups=[{id="i1",type="process",pid="1569403134",executable="C:/Users/chris2/ndk-10.\
0.9-workspacenew/EnhancedVideo/arm/o.le-v7-g/EnhancedVideo"}]
379,968 (gdb)
379,985 15handle SIGTERM nostop noprint
379,988 &"handle SIGTERM nostop noprint\n"
379,988 ~"Signal Stop\tPrint\tPass to program\tDescription\n"
379,988 ~"SIGTERM No\tNo\tYes\t\tTerminated\n"
379,988 15^done
379,988 (gdb)
379,989 16-gdb-set auto-solib-add on
380,080 16^done
380,080 (gdb)
380,091 17-gdb-set solib-search-path C:\\bbndk10new\\runtime_10_2_1_2141\\target-override\\armle-v7\\
\lib;C:\\bbndk10new\\runtime_10_2_1_2141\\target-override\\armle-v7\\usr\\lib;C:\\bbndk10new\\runtim\
e_10_2_1_2141\\target-override\\armle-v7\\usr\\lib\\qt4\\lib;C:\\bbndk10new\\runtime_10_2_1_2141\\qn\
x6\\armle-v7\\lib;C:\\bbndk10new\\runtime_10_2_1_2141\\qnx6\\armle-v7\\usr\\lib;C:\\bbndk10new\\runt\
ime_10_2_1_2141\\qnx6\\armle-v7\\usr\\lib\\qt4\\lib
380,181 18-list-thread-groups i1
380,188 &"warning: Unable to find dynamic linker breakpoint function.\nGDB will be unable to debug s\
hared library initializers\nand track explicitly loaded dynamic code."
380,188 &"\n"
380,236 17^done
380,236 (gdb)
380,239 19-gdb-set --thread-group i1 args
380,266 &"Cannot access memory at address 0x0\n"
380,266 18^done,threads=[{id="1",target-id="pid 1569403134 tid 1",details="STOPPED",frame={level="0"\
,addr="0x019e46bc",func="??",args=[]},state="stopped"}]
380,267 (gdb)
380,267 19^done
380,267 (gdb)
380,271 20-stack-info-depth --thread 1 11
380,274 21-exec-continue --thread-group i1
380,284 20^done,depth="3"
380,285 (gdb)
380,299 21^running
380,299 *running,thread-id="all"
380,300 (gdb)
383,062 =thread-created,id="2",group-id="i1"
383,062 ~"[New pid 1569403134 tid 2]\n"
383,078 *running,thread-id="all"
383,090 =thread-created,id="3",group-id="i1"
383,090 ~"[New pid 1569403134 tid 3]\n"
383,104 *running,thread-id="all"
383,199 =thread-created,id="4",group-id="i1"
383,199 ~"[New pid 1569403134 tid 4]\n"
383,213 *running,thread-id="all"
383,213 =thread-created,id="5",group-id="i1"
383,213 ~"[New pid 1569403134 tid 5]\n"
383,229 *running,thread-id="all"
383,229 =thread-created,id="6",group-id="i1"
383,229 ~"[New pid 1569403134 tid 6]\n"
383,242 *running,thread-id="all"
383,245 =thread-created,id="7",group-id="i1"
383,245 ~"[New pid 1569403134 tid 7]\n"
383,261 *running,thread-id="all"
383,285 =thread-exited,id="7",group-id="i1"
383,286 =thread-created,id="7",group-id="i1"
383,286 ~"[New pid 1569403134 tid 7]\n"
383,308 *running,thread-id="all"
383,331 =thread-created,id="8",group-id="i1"
383,332 ~"[New pid 1569403134 tid 8]\n"
383,346 *running,thread-id="all"
383,372 =thread-created,id="9",group-id="i1"
383,372 ~"[New pid 1569403134 tid 9]\n"
383,386 *running,thread-id="all"
383,393 =thread-created,id="10",group-id="i1"
383,393 ~"[New pid 1569403134 tid 10]\n"
383,408 *running,thread-id="all"
383,420 =thread-created,id="11",group-id="i1"
383,420 ~"[New pid 1569403134 tid 11]\n"
383,438 *running,thread-id="all"
383,441 =thread-created,id="12",group-id="i1"
383,441 ~"[New pid 1569403134 tid 12]\n"
383,457 *running,thread-id="all"
387,659 =thread-created,id="13",group-id="i1"
387,659 ~"[New pid 1569403134 tid 13]\n"
387,673 *running,thread-id="all"
387,675 =thread-created,id="14",group-id="i1"
387,676 ~"[New pid 1569403134 tid 14]\n"
387,690 *running,thread-id="all"
387,692 =thread-created,id="15",group-id="i1"
387,692 ~"[New pid 1569403134 tid 15]\n"
387,706 *running,thread-id="all"
This is what's in a log called gdb trace when avformat_find_stream_info is called and (now) hangs..
>You don't agree that compiling the code that does not
>work on your blackberry on your pc to test it is much,
>much simpler?
Yes - I will look into building and testing for x86.
I'm pretty sure I seen a thread once whilst searching about someone showing off being able to use gcc on Blackberry 10 platform so I think if I can find that it will confirm native compilation is possible. I will keep searching for it.
Regards
Bradley
More information about the Libav-user
mailing list