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>
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to