Dan,
Sorry for delay, but was busy with other problems.  I finally got the stack
trace!  Melted was running for almost two days and almost without action
(only one casual append or clean, but usta every 50 millis) and then I send
circa 30 append commands one after the other. Here is the result:

localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(7) Cleaned playlist
(6) localhost "CLEAN U0" 200
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f6bf0-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f6bf0-b480-11e3-b69c-571b88d3e84a.xml"
200
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f6bf1-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f6bf1-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
(6) localhost "GOTO U0 837 1" 200
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f9300-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f9300-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f9300-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4f9300-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4fba10-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f4fba10-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f520400-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f520400-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f553850-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f553850-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f555f60-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f555f60-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
(6) localhost "GOTO U0 850 1" 200
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f58bac0-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f58bac0-b480-11e3-b69c-571b88d3e84a.xml"
200
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f5c3d30-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f5c3d30-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f6082f0-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f6082f0-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f642c70-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f642c70-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f669d70-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f669d70-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f6a1fe0-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f6a1fe0-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f6edad0-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f6edad0-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
(6) localhost "GOTO U0 861 1" 200
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f732090-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f732090-b480-11e3-b69c-571b88d3e84a.xml"
200
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f75b8a0-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f75b8a0-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f78ecf0-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f78ecf0-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f791400-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f791400-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f7cbd80-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3f7cbd80-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3fad1c50-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3fad1c50-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(7) appended clip
/home/malbec/mbc-mosto/test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3fad4360-b480-11e3-b69c-571b88d3e84a.xml
(6) localhost "APND UO
test/playlists/13288b80-d067-11e3-9a4f-3f18c0b84907$13288b80-d067-11e3-9a4f-3f18c0b84907-3fad4360-b480-11e3-b69c-571b88d3e84a.xml"
200
(6) localhost "usta u0" 202
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2
max_channels 2
(2)
melted experienced a segmentation fault.
Dumping stack from the offending thread


(2) Obtained 10 stack frames.

(2) /home/malbec/melted/20140228/lib/libmelted.so.2(+0x6eea)
[0x7f92ccd47eea]
(2) /lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7f92cc59d4f0]
(2) /lib/x86_64-linux-gnu/libc.so.6(+0x795ae) [0x7f92cc5e45ae]
(2) /lib/x86_64-linux-gnu/libc.so.6(+0x7a89e) [0x7f92cc5e589e]
(2) /lib/x86_64-linux-gnu/libc.so.6(__libc_memalign+0xf6) [0x7f92cc5e7196]
(2) /lib/x86_64-linux-gnu/libc.so.6(posix_memalign+0x39) [0x7f92cc5e7449]
(2) /home/malbec/melted/20140228/lib/libavutil.so.52(av_malloc+0x4a)
[0x7f92c96d378a]
(2) /home/malbec/melted/20140228/lib/libavutil.so.52(av_mallocz+0x16)
[0x7f92c96d3996]
(2) /home/malbec/melted/20140228/lib/libavutil.so.52(av_buffer_ref+0xe)
[0x7f92c96c79ae]
(2) /home/malbec/melted/20140228/lib/libavcodec.so.55(+0x229afb)
[0x7f92c9b32afb]
(2)
Done dumping - exiting.

(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(6) localhost "usta u0" 202
(5) /usr/local/bin/melted version 0.3.11 server terminated.
(7) closing unit...
(6) localhost "usta u0" 202


If you want, I can send you the full log file.

Regards,

Juan Martin


2014-04-24 13:08 GMT-03:00 Dan Dennedy <d...@dennedy.org>:

>
> On Thu, Apr 24, 2014 at 6:16 AM, Juan Martin Runge <jmru...@gmail.com>wrote:
>
>>
>>
>> 2014-04-24 2:43 GMT-03:00 Dan Dennedy <d...@dennedy.org>:
>>
>> On Wed, Apr 23, 2014 at 5:45 AM, Juan Martin Runge <jmru...@gmail.com>wrote:
>>>
>>>> Hi,
>>>> Sorry for waking this thread up, but I've been doing some more testing
>>>> and I can confirm "- test" flag makes melted crash.  If I run melted with
>>>> "- test" I have no problems until I leave it without touching it for 1
>>>> entire day and then try to do a "CLEAR" and then several "APND" to
>>>> completely change the playlist, then melted crashes.  If I do the same
>>>> without "- test", melted handles everything fine.  I know Dan said that "-
>>>> test" only skips the fork() and changes the log level, but I cant get why
>>>> this would make melted crash!  Will look at the code when I get time to...
>>>> Please Markus or Dan, if you have anything new on this issue let me know.
>>>>
>>>>
>>> It sounds like there is an unsafe pointer access during some logging. It
>>> would be great if either your or Markus can generate a backtrace of the
>>> crash. One way is run it in gdb and issue "where" when it crashes, but
>>> another way is to set the environment variable MLT_SIGSEGV=1 and run melted
>>> -test. Then, it is supposed to log the backtrace when it crashes. In the
>>> meantime, Markus made a patch to add option -nodetach, which prevents
>>> background daemon mode but does not increase the log level. That patch has
>>> been merged into our git master.
>>>
>>
>> Thanks for the tips.  Im now running "-test" with MLT_SIGSEGV=1.  One
>> question: Where will it be logged? To syslog (like AS_RUN msgs) or to
>> stdout?  Im asking because Im running this with monit and cant log standard
>> out msgs from melted -test.  Im running it this way:
>>
>> exec 2>&1 melted -test -c melted.conf 1> melted.out
>>
>> But I get nothing on "melted.out".
>>
>>
> It goes to stderr, so try 2>
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to