Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-27 Thread Nomis101 
Am 25.08.16 um 19:34 schrieb Nomis101 :
> Am 24.08.16 um 22:49 schrieb Carl Eugen Hoyos:
>> Please test current FFmpeg.
> $ lldb -- ./ffmpeg_g -i /Users/Downloads/Test.mp4
> (lldb) target create "./ffmpeg_g"
> Current executable set to './ffmpeg_g' (x86_64).
> (lldb) settings set -- target.run-args  "-i" "/Users/Downloads/Test.mp4"
> (lldb) run
> Process 83355 launched: './ffmpeg_g' (x86_64)
> ffmpeg version N-81454-gfeb2ea6 Copyright (c) 2000-2016 the FFmpeg
> developers
>   built with Apple LLVM version 8.0.0 (clang-800.0.33.1)
>   configuration: --enable-lto
>   libavutil  55. 29.100 / 55. 29.100
>   libavcodec 57. 54.100 / 57. 54.100
>   libavformat57. 48.100 / 57. 48.100
>   libavdevice57.  0.102 / 57.  0.102
>   libavfilter 6. 55.100 /  6. 55.100
>   libswscale  4.  1.100 /  4.  1.100
>   libswresample   2.  1.100 /  2.  1.100
> Process 83355 stopped
> * thread #1: tid = 0x639aa, 0x000100916541
> ffmpeg_g`ff_mpv_common_init + 1105, queue = 'com.apple.main-thread',
> stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
> frame #0: 0x000100916541 ffmpeg_g`ff_mpv_common_init + 1105
> ffmpeg_g`ff_mpv_common_init:
> ->  0x100916541 <+1105>: movdqa %xmm0, 0xaa8(%rbx)
> 0x100916549 <+1113>: leaq   -0x291eb0(%rip), %rax ;
> put_h264_chroma_mc4_8_c
> 0x100916550 <+1120>: movd   %rax, %xmm0
> 0x100916555 <+1125>: leaq   -0x2923bc(%rip), %rax ;
> put_h264_chroma_mc8_8_c
> (lldb) thread backtrace all
> * thread #1: tid = 0x639aa, 0x000100916541
> ffmpeg_g`ff_mpv_common_init + 1105, queue = 'com.apple.main-thread',
> stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
>   * frame #0: 0x000100916541 ffmpeg_g`ff_mpv_common_init + 1105
> frame #1: 0x000100631ead ffmpeg_g`ff_h263_decode_frame + 4077
> frame #2: 0x000100a9d7ef ffmpeg_g`avcodec_decode_video2 + 383
> frame #3: 0x000100a9f51b ffmpeg_g`do_decode + 107
> frame #4: 0x0001004136ba ffmpeg_g`try_decode_frame + 826
> frame #5: 0x000100411128 ffmpeg_g`avformat_find_stream_info + 3624
> frame #6: 0x00010010e605 ffmpeg_g`open_input_file + 1893
> frame #7: 0x00010010fd74 ffmpeg_g`open_files + 244
> frame #8: 0x00010011b805 ffmpeg_g`main + 3429
> frame #9: 0x7fffc5a09255 libdyld.dylib`start + 1
> (lldb)
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Should I now do something with that output, open a bug ticket or so?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-25 Thread Nomis101 
Am 24.08.16 um 22:49 schrieb Carl Eugen Hoyos:
> Please test current FFmpeg.

$ lldb -- ./ffmpeg_g -i /Users/Downloads/Test.mp4
(lldb) target create "./ffmpeg_g"
Current executable set to './ffmpeg_g' (x86_64).
(lldb) settings set -- target.run-args  "-i" "/Users/Downloads/Test.mp4"
(lldb) run
Process 83355 launched: './ffmpeg_g' (x86_64)
ffmpeg version N-81454-gfeb2ea6 Copyright (c) 2000-2016 the FFmpeg
developers
  built with Apple LLVM version 8.0.0 (clang-800.0.33.1)
  configuration: --enable-lto
  libavutil  55. 29.100 / 55. 29.100
  libavcodec 57. 54.100 / 57. 54.100
  libavformat57. 48.100 / 57. 48.100
  libavdevice57.  0.102 / 57.  0.102
  libavfilter 6. 55.100 /  6. 55.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Process 83355 stopped
* thread #1: tid = 0x639aa, 0x000100916541
ffmpeg_g`ff_mpv_common_init + 1105, queue = 'com.apple.main-thread',
stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x000100916541 ffmpeg_g`ff_mpv_common_init + 1105
ffmpeg_g`ff_mpv_common_init:
->  0x100916541 <+1105>: movdqa %xmm0, 0xaa8(%rbx)
0x100916549 <+1113>: leaq   -0x291eb0(%rip), %rax ;
put_h264_chroma_mc4_8_c
0x100916550 <+1120>: movd   %rax, %xmm0
0x100916555 <+1125>: leaq   -0x2923bc(%rip), %rax ;
put_h264_chroma_mc8_8_c
(lldb) thread backtrace all
* thread #1: tid = 0x639aa, 0x000100916541
ffmpeg_g`ff_mpv_common_init + 1105, queue = 'com.apple.main-thread',
stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
  * frame #0: 0x000100916541 ffmpeg_g`ff_mpv_common_init + 1105
frame #1: 0x000100631ead ffmpeg_g`ff_h263_decode_frame + 4077
frame #2: 0x000100a9d7ef ffmpeg_g`avcodec_decode_video2 + 383
frame #3: 0x000100a9f51b ffmpeg_g`do_decode + 107
frame #4: 0x0001004136ba ffmpeg_g`try_decode_frame + 826
frame #5: 0x000100411128 ffmpeg_g`avformat_find_stream_info + 3624
frame #6: 0x00010010e605 ffmpeg_g`open_input_file + 1893
frame #7: 0x00010010fd74 ffmpeg_g`open_files + 244
frame #8: 0x00010011b805 ffmpeg_g`main + 3429
frame #9: 0x7fffc5a09255 libdyld.dylib`start + 1
(lldb)
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-24 Thread Carl Eugen Hoyos
2016-08-24 20:08 GMT+02:00 Nomis101  :
> //ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers//

Please test current FFmpeg.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-24 Thread Nomis101 
Am 24.08.16 um 20:05 schrieb Carl Eugen Hoyos:
> I suspect (not osx atm):
> $ lldb ffmpeg_g
> and then on the prompt:
> r -i foo.mp4
OK, I found out how it works. I'm getting this output:

/$ lldb -- ./ffmpeg_g -i /Users/Downloads/Test.mp4 //
//(lldb) target create "./ffmpeg_g"//
//Current executable set to './ffmpeg_g' (x86_64).//
//(lldb) settings set -- target.run-args  "-i" "/Users/Downloads/Test.mp4"//
//(lldb) run//
//Process 71377 launched: './ffmpeg_g' (x86_64)//
//ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers//
//  built with Apple LLVM version 8.0.0 (clang-800.0.33.1)//
//  configuration: --enable-lto//
//  libavutil  55. 28.100 / 55. 28.100//
//  libavcodec 57. 48.101 / 57. 48.101//
//  libavformat57. 41.100 / 57. 41.100//
//  libavdevice57.  0.101 / 57.  0.101//
//  libavfilter 6. 47.100 /  6. 47.100//
//  libswscale  4.  1.100 /  4.  1.100//
//  libswresample   2.  1.100 /  2.  1.100//
//Process 71377 stopped//
//* thread #1: tid = 0x39c41, 0x0001008f3df1
ffmpeg_g`ff_mpv_common_init + 1105, queue = 'com.apple.main-thread',
stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)//
//frame #0: 0x0001008f3df1 ffmpeg_g`ff_mpv_common_init + 1105//
//ffmpeg_g`ff_mpv_common_init://
//->  0x1008f3df1 <+1105>: movdqa %xmm0, 0xaa8(%rbx)//
//0x1008f3df9 <+1113>: leaq   -0x28e010(%rip), %rax ;
put_h264_chroma_mc4_8_c//
//0x1008f3e00 <+1120>: movd   %rax, %xmm0//
//0x1008f3e05 <+1125>: leaq   -0x28e51c(%rip), %rax ;
put_h264_chroma_mc8_8_c//
//(lldb)/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-24 Thread Carl Eugen Hoyos
2016-08-24 20:04 GMT+02:00 Nomis101  :
> Am 24.08.16 um 19:53 schrieb Carl Eugen Hoyos:
>> Does lldb show anything useful?
> I don't know. What would be the lldb corresponding of
>
> $ gdb --args ./ffmpeg_g -i foo.mp4

I suspect (not osx atm):
$ lldb ffmpeg_g
and then on the prompt:
r -i foo.mp4

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-24 Thread Nomis101 
Am 24.08.16 um 19:53 schrieb Carl Eugen Hoyos:
> Does lldb show anything useful?
I don't know. What would be the lldb corresponding of

$ gdb --args ./ffmpeg_g -i foo.mp4
?


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-24 Thread Carl Eugen Hoyos
2016-08-24 19:31 GMT+02:00 Nomis101  :
> Yes, I'm also seeing the issue if I'm doing "./configure --enable-lto &&
> make" only.

Does lldb show anything useful?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-24 Thread Nomis101 
Am 24.08.16 um 07:23 schrieb Carl Eugen Hoyos:
>> > OK, I did lots of different builds now. And the suspicious option is
>> > --enable-lto. I can remove all other options, no difference. But if I
>> > remove --enable-lto, than I do not see the Segmentation fault issue
>> > anymore.
> Did you verify that lto alone triggers the issue?
>
> Thank you, Carl Eugen
Yes, I'm also seeing the issue if I'm doing "./configure --enable-lto &&
make" only.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Carl Eugen Hoyos
Hi!

2016-08-23 23:44 GMT+02:00 Nomis101  :
> Am 23.08.16 um 21:11 schrieb Moritz Barsnick:
>> Go into the build directory, and launch your ffmpeg command as:
>>
>> $ gdb --args ./ffmpeg_g -i foo.mp4
> I did this. First, I had to install gdb via Macports, because it gets
> not installed anymore with Apple Developer Tools.

It is called lldb now.

[...]

> OK, I did lots of different builds now. And the suspicious option is
> --enable-lto. I can remove all other options, no difference. But if I
> remove --enable-lto, than I do not see the Segmentation fault issue
> anymore.

Did you verify that lto alone triggers the issue?

Thank you, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Nomis101 
Am 23.08.16 um 21:11 schrieb Moritz Barsnick:
> Go into the build directory, and launch your ffmpeg command as:
>
> $ gdb --args ./ffmpeg_g -i foo.mp4
I did this. First, I had to install gdb via Macports, because it gets
not installed anymore with Apple Developer Tools. But I think the output
is not helpful and unrelated:

/$ ggdb --args ./ffmpeg_g -i /Users/Downloads/Test.mp4 //
//GNU gdb (GDB) 7.9.1//
//Copyright (C) 2015 Free Software Foundation, Inc.//
//License GPLv3+: GNU GPL version 3 or later
//
//This is free software: you are free to change and redistribute it.//
//There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"//
//and "show warranty" for details.//
//This GDB was configured as "x86_64-apple-darwin16.0.0".//
//Type "show configuration" for configuration details.//
//For bug reporting instructions, please see://
//.//
//Find the GDB manual and other documentation resources online at://
//.//
//For help, type "help".//
//Type "apropos word" to search for commands related to "word"...//
//Reading symbols from ./ffmpeg_g...//
//warning: `/tmp/lto.o': can't open to read symbols: No such file or
directory.//
//(no debugging symbols found)...done.//
//(gdb) run//
//Starting program: /Volumes/Developer/ffmpeg-3.1.2/ffmpeg_g -i
/Users/polysom/Downloads/Test.mp4//
//Unable to find Mach task port for process-id 691: (os/kern) failure
(0x5).//
// (please check gdb is codesigned - see taskgated(8))//
//(gdb)/




Am 23.08.16 um 21:48 schrieb Carl Eugen Hoyos:
> You start with removing everything between --enable-avisynth and
> --enable-openssl and confirm that the crash still happens.
> Then you remove --enable-lto (or test with --enable-lto only)
> because this is the most time-consuming of your options.
OK, I did lots of different builds now. And the suspicious option is
--enable-lto. I can remove all other options, no difference. But if I
remove --enable-lto, than I do not see the Segmentation fault issue anymore.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Carl Eugen Hoyos
2016-08-23 21:10 GMT+02:00 Nomis101  :
> Am 23.08.16 um 20:49 schrieb Carl Eugen Hoyos:
>>> What option is most likely to cause this?
>> This is what I would like you to tell us so we can find out if there is a
>> bug that can be fixed within FFmpeg.
> This will mean I need to do several builds and leave out another of my
> options every time. This will take a while...

You start with removing everything between --enable-avisynth and
--enable-openssl and confirm that the crash still happens.
Then you remove --enable-lto (or test with --enable-lto only)
because this is the most time-consuming of your options.

Some of the strange other options you use are probably the culprit
but a bug in lto optimization is always possible.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Carl Eugen Hoyos
2016-08-23 21:11 GMT+02:00 Moritz Barsnick :
> On Tue, Aug 23, 2016 at 20:49:20 +0200, Carl Eugen Hoyos wrote:
>> > What option is most likely to cause this?
>>
>> This is what I would like you to tell us so we can find out if there is a
>> bug that can be fixed within FFmpeg.
>
> And in order to find out, I suggest the following approach:
>
> You built your ffmpeg yourself, you said, right? If you still have the
> build directory (or build the same sources again with the identical
> options), you have a binary ffmpeg_g in that directory after your build
> finished.
>
> Go into the build directory, and launch your ffmpeg command as:
>
> $ gdb --args ./ffmpeg_g -i foo.mp4
>
> Once you get to the gdb prompt, type "r" (or "run") and press return.
> This will run your ffmpeg command within gdb. Hopefully, you get the
> same segmentation fault, but gdb catches it. At that point (after gdb
> says "Program received signal SIGSEGV, Segmentation fault."), you type
> "thread apply all bt full".
>
> Then post the full output (from the launch of gdb to the end of your
> output) here please.

You are right that this is helpful (and wanted).

It will most likely not answer the question which compilation option
either triggers a bug in FFmpeg or a bug in the compiler though;-(

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Carl Eugen Hoyos
Hi!

2016-08-23 21:20 GMT+02:00 Reindl Harald :

>
>
> Am 23.08.2016 um 20:49 schrieb Carl Eugen Hoyos:
>>
>>
>>

> Please understand that all releases contain more bugs and less features
>> than current FFmpeg, limited support for releases exist for distributions
>>
>
> BLA
>

Please understand that this is (unfortunately!) nowadays a reason to get
banned here.


>
> stop to tell the world that ffmpeg is the one and only project on this
> planet where the

current snapshot never has bugs


This is not what I wrote above and it is not true.

If you want to maintain releases please step forward on the developer
mailing list:
This is an important job and we lack volunteers! Our releases are not
sufficiently
maintained and we do need this help!

Thank you, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Reindl Harald



Am 23.08.2016 um 20:49 schrieb Carl Eugen Hoyos:

2016-08-23 20:42 GMT+02:00 Nomis101  :

Am 23.08.16 um 08:56 schrieb Carl Eugen Hoyos:

Please test a current snapshot (I don't think we support
releases on osx) and please test with "./configure && make ffmpeg",
I cannot reproduce on Linux.
In case this hasn't been said: Crashes are always important.


OK, I've tested with the version 3.1.2 from http://evermeet.cx/ffmpeg/


Which as explained there is not supported here.
Please understand that all releases contain more bugs and less features
than current FFmpeg, limited support for releases exist for distributions


BLA

stop to tell the world that ffmpeg is the one and only project on this 
planet where the current snapshot never has bugs and regressions than 
releases just because ffmmpeg developers are perfect and never make 
mistakes - if that wold be true then after ffmpeg 1.0 no uodates would 
have been needed


what you *realy* tell the world is that you *hope* that whatever problem 
someone has is fixed *by luck* in current snapshot while *hope* that it 
does not break other things


that *maybe* will happen becuas eof *luck* but pretend it is that way by 
defintionwas, is and will always be *bullshit*


FACT IS: nobody cares really about releases and versions and hence "try 
the latest snapshot because i don't want to take a look at something 
else" is the daily repeated phrase


NO DMANED - yoftware usually is NOT a daily moving target based on 
"hopefully the issue you see is gone today and other things worked 
yesterday and ar eborken now hopefully het fixed the next day while you 
don't face it now"


STOP SPREAD THIS BULLSHIT BY DEFINITION

you can argue that way if someone comes with a months old arndom bug but 
pretend that only the current snapshot is saint is JUST BULLSHIT - 
common sense man!




signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Moritz Barsnick
On Tue, Aug 23, 2016 at 20:49:20 +0200, Carl Eugen Hoyos wrote:
> > What option is most likely to cause this?
> 
> This is what I would like you to tell us so we can find out if there is a
> bug that can be fixed within FFmpeg.

And in order to find out, I suggest the following approach:

You built your ffmpeg yourself, you said, right? If you still have the
build directory (or build the same sources again with the identical
options), you have a binary ffmpeg_g in that directory after your build
finished.

Go into the build directory, and launch your ffmpeg command as:

$ gdb --args ./ffmpeg_g -i foo.mp4

Once you get to the gdb prompt, type "r" (or "run") and press return.
This will run your ffmpeg command within gdb. Hopefully, you get the
same segmentation fault, but gdb catches it. At that point (after gdb
says "Program received signal SIGSEGV, Segmentation fault."), you type
"thread apply all bt full".

Then post the full output (from the launch of gdb to the end of your
output) here please.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Carl Eugen Hoyos
2016-08-23 20:42 GMT+02:00 Nomis101  :
> Am 23.08.16 um 08:56 schrieb Carl Eugen Hoyos:
>> Please test a current snapshot (I don't think we support
>> releases on osx) and please test with "./configure && make ffmpeg",
>> I cannot reproduce on Linux.
>> In case this hasn't been said: Crashes are always important.
>
> OK, I've tested with the version 3.1.2 from http://evermeet.cx/ffmpeg/

Which as explained there is not supported here.
Please understand that all releases contain more bugs and less features
than current FFmpeg, limited support for releases exist for distributions
(but not osx and Windows).

> and I've build a new own version using "./configure && make ffmpeg".
> Both times I did not see the Segmentation fault: 11 issue. So, this has
> to do with some of my compile options.

> What option is most likely to cause this?

This is what I would like you to tell us so we can find out if there is a
bug that can be fixed within FFmpeg.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Nomis101 
Am 23.08.16 um 08:56 schrieb Carl Eugen Hoyos:
> Please test a current snapshot (I don't think we support
> releases on osx) and please test with "./configure && make ffmpeg",
> I cannot reproduce on Linux.
> In case this hasn't been said: Crashes are always important.
OK, I've tested with the version 3.1.2 from http://evermeet.cx/ffmpeg/
and I've build a new own version using "./configure && make ffmpeg".
Both times I did not see the Segmentation fault: 11 issue. So, this has
to do with some of my compile options. What option is most likely to
cause this?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Carl Eugen Hoyos
2016-08-23 6:29 GMT+02:00 Francois Visagie :
> In that case, compare results with the official
> http://ffmpeg.org/download.html.

(Unrelated:)
The binaries linked there are not official (on the contrary).
Testing them if we cannot reproduce still makes sense.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-23 Thread Carl Eugen Hoyos
2016-08-22 20:31 GMT+02:00 Nomis101  :
> ffmpeg -i /Volumes/Macintosh/Filme/Stromgitarre.mp4
> ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers

Please test a current snapshot (I don't think we support
releases on osx) and please test with "./configure && make ffmpeg",
I cannot reproduce on Linux.
In case this hasn't been said: Crashes are always important.

Thank you, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-22 Thread Francois Visagie
> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
> Nomis101 ??
> Sent: 23 August 2016 00:56
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] What is Segmentation fault: 11 ?
> 
> Am 22.08.16 um 21:22 schrieb Moritz Barsnick:
> > It seems like you may have a bad build of ffmpeg.
> >
> > Can you provide a very small sample of the input to ffmpeg? For example
> here:
> > https://datafilehost.com/
> >
> > Do you have the possibility to try a different build of ffmpeg?
> Its my own build, it works for all other filetypes. I can try a precompiled 
> build
> from the internet.

In that case, compare results with the official http://ffmpeg.org/download.html.

> 
> 
> 
> Am 22.08.16 um 21:16 schrieb Paul B Mahol:
> > I can't reproduce it on ffmpeg master, could you please upload small
> > sample file, the one causing crash, somewhere?
> There you are: http://polysom.verilite.de/tmp/Test.mp4.zip
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org
> with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-22 Thread Cley Faye
2016-08-22 23:56 GMT+02:00 Nomis101  :

> There you are: http://polysom.verilite.de/tmp/Test.mp4.zip
>

​For what it's worth, the issue is not present with the static 64-bit build
from zeranoe (not master but close). There are some messages that might be
related to this issue though:
[mp4 @ 00f17fe0] track 1: codec frame size is not set

Full log:
C>ffmpeg -i Test.mp4 -c copy -map 0 out.mp4
ffmpeg version N-80924-gb450b82 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil  55. 28.100 / 55. 28.100
  libavcodec 57. 48.103 / 57. 48.103
  libavformat57. 41.100 / 57. 41.100
  libavdevice57.  0.102 / 57.  0.102
  libavfilter 6. 47.100 /  6. 47.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Test.mp4':
  Metadata:
major_brand : mp42
minor_version   : 512
compatible_brands: isomiso2mp41
creation_time   : 2016-08-22 21:50:00
encoder : HandBrake 0.10.5 2016021200
  Duration: 00:00:53.66, start: 0.00, bitrate: 1490 kb/s
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
yuv420p, 504x272 [SAR 251:252 DAR 251:136], 206 kb/s, 25.15 fps, 100 tbr,
90k tbn, 42187 tbc (default)
Metadata:
  creation_time   : 2016-08-22 21:50:00
  handler_name: VideoHandler
Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo,
fltp, 640 kb/s (default)
Metadata:
  creation_time   : 2016-08-22 21:50:00
  handler_name: Stereo
Side data:
  audio service type: main
Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo,
fltp, 640 kb/s
Metadata:
  creation_time   : 2016-08-22 21:50:00
  handler_name: Stereo
Side data:
  audio service type: main
[mp4 @ 00f17fe0] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 2 times
[mp4 @ 00f17fe0] track 1: codec frame size is not set
[mp4 @ 00f17fe0] track 2: codec frame size is not set
Output #0, mp4, to 'out.mp4':
  Metadata:
major_brand : mp42
minor_version   : 512
compatible_brands: isomiso2mp41
encoder : Lavf57.41.100
Stream #0:0(und): Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 504x272
[SAR 251:252 DAR 251:136], q=2-31, 206 kb/s, 25.15 fps, 100 tbr, 90k tbn,
90k tbc (default)
Metadata:
  creation_time   : 2016-08-22 21:50:00
  handler_name: VideoHandler
Stream #0:1(und): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz,
stereo, 640 kb/s (default)
Metadata:
  creation_time   : 2016-08-22 21:50:00
  handler_name: Stereo
Side data:
  audio service type: main
Stream #0:2(und): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz,
stereo, 640 kb/s
Metadata:
  creation_time   : 2016-08-22 21:50:00
  handler_name: Stereo
Side data:
  audio service type: main
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame= 1349 fps=0.0 q=-1.0 Lsize=9766kB time=00:00:53.66
bitrate=1490.8kbits/s speed=1.03e+003x
video:1355kB audio:8385kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.265055%
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-22 Thread Nomis101 
Am 22.08.16 um 21:22 schrieb Moritz Barsnick:
> It seems like you may have a bad build of ffmpeg.
>
> Can you provide a very small sample of the input to ffmpeg? For example here:
> https://datafilehost.com/
>
> Do you have the possibility to try a different build of ffmpeg?
Its my own build, it works for all other filetypes. I can try a
precompiled build from the internet.



Am 22.08.16 um 21:16 schrieb Paul B Mahol:
> I can't reproduce it on ffmpeg master, could you please upload small
> sample file, the one causing crash, somewhere?
There you are: http://polysom.verilite.de/tmp/Test.mp4.zip
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-22 Thread Paul B Mahol
On 8/22/16, Nomis101   wrote:
> I always get "Segmentation fault: 11" if I do the following. What does
> "Segmentation fault: 11" mean?
>
> STR:
> 1. Get any movie (some small file from youtube will also do), get
> Handbrake (I'm using version 0.10.5 on Mac OS X).
> 2. Convert this movie with "Format: MP4 File" and "Video Codec: MPEG-4".
> 3. With the converted file do "$ ffmpeg -i foo.mp4"
>
> ffmpeg -i /Volumes/Macintosh/Filme/Stromgitarre.mp4
> ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers
>   built with Apple LLVM version 8.0.0 (clang-800.0.33.1)
>   configuration: --enable-avisynth --enable-fontconfig --enable-gpl
> --enable-libass --enable-libbluray --enable-libfreetype
> --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libsmbclient --enable-libopus
> --enable-libschroedinger --enable-libsoxr --enable-libspeex
> --enable-libtheora --enable-libvorbis --enable-libvpx
> --enable-libwavpack --disable-ffplay --enable-libx264 --enable-libx265
> --enable-libxvid --enable-version3 --disable-indev=qtkit
> --disable-indev=x11grab_xcb --enable-swscale --enable-avfilter
> --enable-avresample --enable-lzma --enable-gnutls --enable-libfribidi
> --enable-vda --enable-videotoolbox --enable-yasm --enable-postproc
> --enable-nonfree --enable-libfdk-aac --enable-libfaac --enable-librtmp
> --enable-opencl --enable-vaapi --enable-openal --enable-libcdio
> --enable-libssh --enable-openssl --enable-lto --enable-pic
> --extra-cflags='-fno-builtin-memset -fstack-protector-strong -fwrapv
> -march=native -mtune=native -fvectorize -fslp-vectorize
> -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -mfpmath=sse'
> --extra-cxxflags='-fno-builtin-memset -fstack-protector-strong -fwrapv
> -march=native -mtune=native -fvectorize -fslp-vectorize
> -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -mfpmath=sse'
> --extra-ldflags=-fstack-protector-strong
>   libavutil  55. 28.100 / 55. 28.100
>   libavcodec 57. 48.101 / 57. 48.101
>   libavformat57. 41.100 / 57. 41.100
>   libavdevice57.  0.101 / 57.  0.101
>   libavfilter 6. 47.100 /  6. 47.100
>   libavresample   3.  0.  0 /  3.  0.  0
>   libswscale  4.  1.100 /  4.  1.100
>   libswresample   2.  1.100 /  2.  1.100
>   libpostproc54.  0.100 / 54.  0.100
> Segmentation fault: 11

I can't reproduce it on ffmpeg master, could you please upload small
sample file, the one causing crash, somewhere?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-22 Thread Moritz Barsnick
On Mon, Aug 22, 2016 at 20:31:14 +0200, Nomis101 ? wrote:
> Segmentation fault: 11

This shouldn't happen.

Peculiar that you can reproduce this with *any* file out of HandBrake.
It seems like you may have a bad build of ffmpeg.

Can you provide a very small sample of the input to ffmpeg? For example here:
https://datafilehost.com/

Do you have the possibility to try a different build of ffmpeg?

Thanks,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] What is Segmentation fault: 11 ?

2016-08-22 Thread Nomis101 
I always get "Segmentation fault: 11" if I do the following. What does
"Segmentation fault: 11" mean?

STR:
1. Get any movie (some small file from youtube will also do), get
Handbrake (I'm using version 0.10.5 on Mac OS X).
2. Convert this movie with "Format: MP4 File" and "Video Codec: MPEG-4".
3. With the converted file do "$ ffmpeg -i foo.mp4"

ffmpeg -i /Volumes/Macintosh/Filme/Stromgitarre.mp4
ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.33.1)
  configuration: --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libass --enable-libbluray --enable-libfreetype
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libsmbclient --enable-libopus
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libwavpack --disable-ffplay --enable-libx264 --enable-libx265
--enable-libxvid --enable-version3 --disable-indev=qtkit
--disable-indev=x11grab_xcb --enable-swscale --enable-avfilter
--enable-avresample --enable-lzma --enable-gnutls --enable-libfribidi
--enable-vda --enable-videotoolbox --enable-yasm --enable-postproc
--enable-nonfree --enable-libfdk-aac --enable-libfaac --enable-librtmp
--enable-opencl --enable-vaapi --enable-openal --enable-libcdio
--enable-libssh --enable-openssl --enable-lto --enable-pic
--extra-cflags='-fno-builtin-memset -fstack-protector-strong -fwrapv
-march=native -mtune=native -fvectorize -fslp-vectorize
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -mfpmath=sse'
--extra-cxxflags='-fno-builtin-memset -fstack-protector-strong -fwrapv
-march=native -mtune=native -fvectorize -fslp-vectorize
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -mfpmath=sse'
--extra-ldflags=-fstack-protector-strong
  libavutil  55. 28.100 / 55. 28.100
  libavcodec 57. 48.101 / 57. 48.101
  libavformat57. 41.100 / 57. 41.100
  libavdevice57.  0.101 / 57.  0.101
  libavfilter 6. 47.100 /  6. 47.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc54.  0.100 / 54.  0.100
Segmentation fault: 11


I can play the movie in Quicktime, Quicklook and VLC player.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".