[mythtv-users] mythpreviewgen segfault.
Michael T. Dean
mtdean at thirdcontact.com
Sat Dec 7 07:33:19 UTC 2013
On 12/06/2013 12:17 AM, Andrew C. Stadt wrote:
> Ok, I'm having a complete brain fart today. After doing some updates
> on the OS last week (at least I think that is when it started, I only
> keep logs for a week), I've been getting lots of messages like:
>
> Dec 5 23:39:14 snoopy mythbackend[30368]: E HttpServer82
> previewgenerator.cpp:270 (Run) Preview: Encountered problems running
> '/usr/local/bin/mythpreviewgen --size 0x0 --chanid 6602 --starttime
> 20131206043000 --outfile
> /mnt/video/drive3/videos/6602_20131206043000.mpg.png' - (140)
>
> Running the command directly gives me:
>
> 2013-12-06 00:12:58.894407 C mythpreviewgen version: master
> [v0.28-pre-595-ga0104e0] www.mythtv.org
> 2013-12-06 00:12:58.894427 C Qt version: compile: 4.8.6, runtime: 4.8.6
> 2013-12-06 00:12:58.894429 N Enabled verbose msgs: general
> 2013-12-06 00:12:58.894440 N Setting Log Level to LOG_INFO
> 2013-12-06 00:12:58.894649 I Added logging to the console
> 2013-12-06 00:12:58.894926 I Setup Interrupt handler
> 2013-12-06 00:12:58.894933 I Setup Terminated handler
> 2013-12-06 00:12:58.894938 I Setup Segmentation fault handler
> 2013-12-06 00:12:58.894941 I Setup Aborted handler
> 2013-12-06 00:12:58.894945 I Setup Bus error handler
> 2013-12-06 00:12:58.894949 I Setup Floating point exception handler
> 2013-12-06 00:12:58.894953 I Setup Illegal instruction handler
> 2013-12-06 00:12:58.894958 I Setup Real-time signal 0 handler
> 2013-12-06 00:12:58.895004 N Using runtime prefix = /usr/local
> 2013-12-06 00:12:58.895007 N Using configuration directory =
> /root/.mythtv
> 2013-12-06 00:12:58.895045 I Assumed character encoding: en_CA.UTF-8
> 2013-12-06 00:12:58.895628 N Empty LocalHostName.
> 2013-12-06 00:12:58.895635 I Using localhost value of snoopy
> 2013-12-06 00:12:58.902276 N Setting QT default locale to en_CA
> 2013-12-06 00:12:58.902321 I Current locale en_CA
> 2013-12-06 00:12:58.902352 N Reading locale defaults from
> /usr/local/share/mythtv//locales/en_ca.xml
> 2013-12-06 00:12:58.907744 I Preview at calculated offset (600 seconds)
> 2013-12-06 00:12:58.959792 I MythCoreContext: Connecting to backend
> server: xxx.xxx.xx.x:6543 (try 1 of 1)
> 2013-12-06 00:12:58.965280 I Using protocol version 79
> 2013-12-06 00:12:58.996862 I AFD: codec AC3 has 6 channels
> 2013-12-06 00:12:58.997149 I AFD: Opened codec 0x12d5f40, id(AC3)
> type(Audio)
> 2013-12-06 00:12:58.998654 I AFD: Opened codec 0x12dcf00, id(H264)
> type(Video)
> 2013-12-06 00:12:59.118056 I Added logging to mythlogserver at TCP:35327
> Handling Segmentation fault
> Segmentation fault
>
> Now for my brainfart: I can't remember how to generate a meaningfull
> backtrace, whenever I run gdb on the core file, I get a message:
>
> warning: Could not load shared library symbols for linux-vdso.so.1.
> Do you need "set solib-search-path" or "set sysroot"?
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `/usr/local/bin/mythpreviewgen --size 0x0
> --chanid 6602 --starttime 201312060430'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x00007f7f08df4938 in RemoteEncoder::GetRecorderNumber (this=0x0)
> at remoteencoder.cpp:71
> 71 return recordernum;
>
> Anyone give me a hand here?
http://www.mythtv.org/wiki/Debugging
Mike
More information about the mythtv-users
mailing list