SHARE
TWEET

Untitled

a guest Oct 31st, 2016 299 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # gdb ffmpeg_g GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
  2. Copyright (C) 2016 Free Software Foundation, Inc.
  3. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  4. This is free software: you are free to change and redistribute it.
  5. There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  6. and "show warranty" for details.
  7. This GDB was configured as "x86_64-linux-gnu".
  8. Type "show configuration" for configuration details.
  9. For bug reporting instructions, please see:
  10. <http://www.gnu.org/software/gdb/bugs/>.
  11. Find the GDB manual and other documentation resources online at:
  12. <http://www.gnu.org/software/gdb/documentation/>.
  13. For help, type "help".
  14. Type "apropos word" to search for commands related to "word"...
  15. Reading symbols from ffmpeg_g...done.
  16. (gdb) r -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i ../original.ts -vf 'format=nv12|vaapi,hwupload' -c:v h264_vaapi -an ../encoded.mp4
  17. Starting program: /root/ffmpeg_build/ffmpeg/ffmpeg_g -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i ../original.ts -vf 'format=nv12|vaapi,hwupload' -c:v h264_vaapi -an ../encoded.mp4
  18. [Thread debugging using libthread_db enabled]
  19. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  20. ffmpeg version n3.1.5 Copyright (c) 2000-2016 the FFmpeg developers
  21.   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
  22.   configuration: --prefix=/usr/local --enable-pic --enable-gpl --enable-version3 --enable-nonfree --enable-static --disable-shared --disable-ffplay --disable-doc --extra-cflags=--static --extra-libs='-static -lva -ldl -ldrm -lm' --enable-debug
  23.   libavutil      55. 28.100 / 55. 28.100
  24.   libavcodec     57. 48.101 / 57. 48.101
  25.   libavformat    57. 41.100 / 57. 41.100
  26.   libavdevice    57.  0.101 / 57.  0.101
  27.   libavfilter     6. 47.100 /  6. 47.100
  28.   libswscale      4.  1.100 /  4.  1.100
  29.   libswresample   2.  1.100 /  2.  1.100
  30.   libpostproc    54.  0.100 / 54.  0.100
  31. libva info: VA-API version 0.39.0
  32. libva info: va_getDriverName() returns 0
  33. libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
  34.  
  35. Program received signal SIGSEGV, Segmentation fault.
  36. 0x0000000000000000 in ?? ()
  37. (gdb) bt
  38. #0  0x0000000000000000 in ?? ()
  39. #1  0x00007ffff7a27ff9 in __pthread_initialize_minimal_internal ()
  40.     at nptl-init.c:471
  41. #2  0x00007ffff7a275d1 in _init () at ../sysdeps/x86_64/crti.S:72
  42. #3  0x00007ffff7c46050 in ?? ()
  43.    from /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
  44. #4  0x00000000010cc6fa in call_init.part ()
  45. #5  0x00000000010cc8b5 in _dl_init ()
  46. #6  0x00000000010a1175 in dl_open_worker ()
  47. #7  0x000000000109f284 in _dl_catch_error ()
  48. #8  0x00000000010a0ad9 in _dl_open ()
  49. #9  0x0000000001039287 in dlopen_doit ()
  50. #10 0x000000000109f284 in _dl_catch_error ()
  51. #11 0x00000000010396b2 in _dlerror_run ()
  52. #12 0x00000000010392de in __dlopen ()
  53. #13 0x0000000000fa9f31 in va_openDriver ()
  54. #14 0x0000000000faacbd in vaInitialize ()
  55. #15 0x0000000000f8a7b2 in vaapi_device_create (ctx=0x1f6f020,
  56.     device=0x7fffffffe8e8 "/dev/dri/renderD128", opts=<optimized out>,
  57.     flags=<optimized out>) at libavutil/hwcontext_vaapi.c:938
  58. #16 0x0000000000f88c3d in av_hwdevice_ctx_create (
  59.     pdevice_ref=0x1e23cd0 <hw_device_ctx>,
  60.     type=type@entry=AV_HWDEVICE_TYPE_VAAPI,
  61.     device=0x7fffffffe8e8 "/dev/dri/renderD128", opts=opts@entry=0x0,
  62.     flags=flags@entry=0) at libavutil/hwcontext.c:475
  63. #17 0x000000000040089f in vaapi_device_init (device=<optimized out>)
  64.     at ffmpeg_vaapi.c:530
  65. #18 0x000000000047f70c in opt_vaapi_device (optctx=<optimized out>,
  66.     opt=<optimized out>, arg=<optimized out>) at ffmpeg_opt.c:456
  67. #19 0x000000000047dfb7 in write_option (
  68.     arg=0x7fffffffe8e8 "/dev/dri/renderD128", opt=<optimized out>,
  69.     po=0x17b5b98 <options+6680>, optctx=0x0) at cmdutils.c:330
  70. #20 parse_optgroup (optctx=optctx@entry=0x0, g=g@entry=0x7fffffffdfc0)
  71.     at cmdutils.c:431
  72. #21 0x0000000000485b55 in ffmpeg_parse_options (argc=argc@entry=15,
  73.     argv=argv@entry=0x7fffffffe688) at ffmpeg_opt.c:3066
  74. #22 0x0000000000477ee1 in main (argc=15, argv=0x7fffffffe688) at ffmpeg.c:4330
  75. (gdb) disass $pc-32,$pc+32
  76. Dump of assembler code from 0xffffffffffffffe0 to 0x20:
  77. End of assembler dump.
  78. (gdb) info all-registers
  79. rax            0x1f6c810        32950288
  80. rbx            0x1f6c810        32950288
  81. rcx            0x800000 8388608
  82. rdx            0x800fff 8392703
  83. rsi            0x1      1
  84. rdi            0x3      3
  85. rbp            0x7ffff6d1a040   0x7ffff6d1a040 <_rtld_global>
  86. rsp            0x7fffffffd5b8   0x7fffffffd5b8
  87. r8             0x1000   4096
  88. r9             0x0      0
  89. r10            0x8      8
  90. r11            0x206    518
  91. r12            0x7ffff6d1a948   140737334323528
  92. r13            0x7fffffffe708   140737488348936
  93. r14            0x1f6f950        32962896
  94. r15            0x0      0
  95. rip            0x0      0x0
  96. eflags         0x10203  [ CF IF RF ]
  97. cs             0x33     51
  98. ss             0x2b     43
  99. ds             0x0      0
  100. es             0x0      0
  101. fs             0x63     99
  102. gs             0x0      0
  103. st0            0        (raw 0x00000000000000000000)
  104. st1            0        (raw 0x00000000000000000000)
  105. st2            0        (raw 0x00000000000000000000)
  106. st3            0        (raw 0x00000000000000000000)
  107. st4            0        (raw 0x00000000000000000000)
  108. st5            0        (raw 0x00000000000000000000)
  109. st6            0        (raw 0x00000000000000000000)
  110. st7            0        (raw 0x00000000000000000000)
  111. fctrl          0x37f    895
  112. fstat          0x0      0
  113. ftag           0xffff   65535
  114. fiseg          0x0      0
  115. fioff          0x0      0
  116. foseg          0x0      0
  117. fooff          0x0      0
  118. fop            0x0      0
  119. mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
  120. ymm0           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  121.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  122.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  123.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  124.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  125. ymm1           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  126.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  127.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  128.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  129.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  130. ymm2           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  131.   v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
  132.     0xff <repeats 14 times>, 0x0, 0xff, 0x0 <repeats 16 times>}, v16_int16 = {
  133.     0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xff00, 0x0, 0x0,
  134.     0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xffffffff, 0xffffffff,
  135.     0xffffffff, 0xff00ffff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
  136.     0xffffffffffffffff, 0xff00ffffffffffff, 0x0, 0x0}, v2_int128 = {
  137.     0xff00ffffffffffffffffffffffffffff, 0x00000000000000000000000000000000}}
  138. ymm3           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  139.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0xff,
  140.     0x0 <repeats 29 times>}, v16_int16 = {0x0, 0xff, 0x0 <repeats 14 times>},
  141.   v8_int32 = {0xff0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {
  142.     0xff0000, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000000000000000ff0000,
  143.     0x00000000000000000000000000000000}}
  144. ymm4           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  145.   v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
  146.     0x6e, 0x74, 0x65, 0x6c, 0x5f, 0x62, 0x6f, 0x5f, 0x65, 0x6d, 0x69, 0x74,
  147.     0x5f, 0x72, 0x65, 0x6c, 0x0 <repeats 16 times>}, v16_int16 = {0x746e,
  148.     0x6c65, 0x625f, 0x5f6f, 0x6d65, 0x7469, 0x725f, 0x6c65, 0x0, 0x0, 0x0,
  149.     0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x6c65746e, 0x5f6f625f, 0x74696d65,
  150.     0x6c65725f, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x5f6f625f6c65746e,
  151.     0x6c65725f74696d65, 0x0, 0x0}, v2_int128 = {
  152.     0x6c65725f74696d655f6f625f6c65746e, 0x00000000000000000000000000000000}}
  153. ymm5           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  154.   v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
  155.     0x65, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x6c, 0x6f, 0x63, 0x0, 0x64,
  156.     0x72, 0x6d, 0x5f, 0x69, 0x0 <repeats 16 times>}, v16_int16 = {0x6d65,
  157.     0x7469, 0x725f, 0x6c65, 0x636f, 0x6400, 0x6d72, 0x695f, 0x0, 0x0, 0x0,
  158.     0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x74696d65, 0x6c65725f, 0x6400636f,
  159.     0x695f6d72, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x6c65725f74696d65,
  160.     0x695f6d726400636f, 0x0, 0x0}, v2_int128 = {
  161.     0x695f6d726400636f6c65725f74696d65, 0x00000000000000000000000000000000}}
  162. ymm6           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  163.   v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {
  164.     0x6e, 0x6b, 0x0, 0x64, 0x72, 0x6d, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6c,
  165.     0x5f, 0x62, 0x6f, 0x5f, 0x0 <repeats 16 times>}, v16_int16 = {0x6b6e,
  166.     0x6400, 0x6d72, 0x695f, 0x746e, 0x6c65, 0x625f, 0x5f6f, 0x0, 0x0, 0x0,
  167.     0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x64006b6e, 0x695f6d72, 0x6c65746e,
  168.     0x5f6f625f, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x695f6d7264006b6e,
  169.     0x5f6f625f6c65746e, 0x0, 0x0}, v2_int128 = {
  170.     0x5f6f625f6c65746e695f6d7264006b6e, 0x00000000000000000000000000000000}}
  171. ymm7           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  172.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  173.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  174.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  175.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  176. ymm8           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  177.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  178.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  179.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  180.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  181. ymm9           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  182.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  183.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  184.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  185.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  186. ymm10          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  187.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  188.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  189.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  190.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  191. ymm11          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  192.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  193.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  194.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  195.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  196. ymm12          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  197.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  198.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  199.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  200.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  201. ymm13          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  202.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  203.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  204.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  205.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  206. ymm14          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  207.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  208.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  209.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  210.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
  211. ymm15          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  212.   v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>},
  213.   v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0,
  214.     0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
  215.     0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top