<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Mark,<br><br>Did you file a bug yet? Filing a bug means that problem gets recorded and is searchable by others.<br><br>Are you running ~ARCH with gentoo or stable?<br><br>With dual core cpus, I have found that PREEMPT, SCHED_MC (multicore scheduler) and NUMA need to be off for stable operation. I only use Voluntary Kernel Preemption and Preempt the big kernel lock. And I have seen the strace magic happen on my machine before, so you are not alone....:-)<br><br>I have been running myth on X2 3800+ for a while in SMP configuration and load both cores all the time without any freezing or hangs. I have had stable operation with last of the 2.6.17, 2.6.18 and now 2.6.19.1; all gentoo-sources patched for reiser4 and suspend2. I run my gentoo
 with ~amd64.<br><br>-devsk<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Mark Knecht &lt;markknecht@gmail.com&gt;<br>To: hah@alumni.rice.edu; Discussion about mythtv &lt;mythtv-users@mythtv.org&gt;<br>Sent: Wednesday, December 27, 2006 9:37:05 AM<br>Subject: Re: [mythtv-users] **Update - FIXED** mythbackend not responding -and even more weirdness<br><br><div>On 12/27/06, Henry A Harper III &lt;hah@alumni.rice.edu&gt; wrote:<br>&gt;<br>&gt;<br>&gt; &gt; -----Original Message-----<br>&gt; &gt; From: mythtv-users-bounces@mythtv.org<br>&gt; &gt; [mailto:mythtv-users-bounces@mythtv.org]On Behalf Of Mark Knecht<br>&gt; &gt; Sent: Wednesday, December 27, 2006 9:48 AM<br>&gt; &gt; To: Discussion about mythtv<br>&gt; &gt; Cc: dusteur@excite.com<br>&gt; &gt; Subject: Re: [mythtv-users] **Update - FIXED** mythbackend not<br>&gt; &gt; responding -and even more weirdness<br>&gt; &gt;<br>&gt; &gt;<br>&gt;
 &gt; On 12/27/06, Bill Arlofski &lt;waa-mythtv@revpol.com&gt; wrote:<br>&gt; &gt; &lt;SNIP&gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Does any of the burden of this problem fall on the mythtv devs? Is it a<br>&gt; &gt; &gt; programming issue with Mythtv and SMP? Is it an AMD Athlon64 X2 SMP<br>&gt; &gt; &gt; issue specific to the CPU I am using? Again, I do not know.<br>&gt; &gt; &gt;<br>&gt; &gt; &lt;SNIP&gt;<br>&gt; &gt;<br>&gt; &gt; Interesting results. It might well be SMP related. I have a P4HT<br>&gt; &gt; machine as the backend server and it's having similar problems.<br>&gt; &gt;<br>&gt; &gt; We are having a lot of problems with mythbackend just shutting off,<br>&gt; &gt; but it seems to only shut off only when there are mythfrontend<br>&gt; &gt; machines that are just finishing watching programs. Over the Christmas<br>&gt; &gt; break we travelled for 4 days. mythbackend recorded everything<br>&gt; &gt; correctly for about 40 hours of material. Lots to watch, so we
 started<br>&gt; &gt; trying to do so. Yesterday mythbackend shut off 3 times. I'd restart<br>&gt; &gt; the backend and it would happen again maybe 1-2 hours later.<br>&gt; &gt;<br>&gt; &gt; Thanks for the SMP idea. I'll look at that and report back.<br>&gt; &gt;<br>&gt;<br>&gt; FYI, my 4600+ x2 w/ 2.6.17 SMP kernel in a FE/BE has been up 97 days with no<br>&gt; backend "weirdness" other than xbox360-caused upnp issues (just 100% core<br>&gt; usage, not unresponsive) until I went to newer svn head last week.<br><br>Good to know and glad it's working for you. We're Gentoo here. HEre's<br>what's installed on the backend machine:<br><br>dragonfly ~ # eix -Ic mythtv<br>[I] media-tv/mythtv (0.20_p11626): Homebrew PVR project<br>[I] x11-themes/mythtv-themes (0.20): A collection of themes for the<br>MythTV project.<br>Found 2 matches.<br>dragonfly ~ # uname -a<br>Linux dragonfly 2.6.17-gentoo-r2 #4 SMP PREEMPT Fri Nov 24 14:20:30<br>PST 2006 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
 GenuineIntel GNU/Linux<br>dragonfly ~ #<br><br>Note that this problem existed before on myth-0.18 and 0.19. It was<br>not changed much by going to gcc-4.1.1. Pretty much the same level of<br>problems.<br><br>Here's an example of something I'm seeing in the log files this<br>morning. I do NOT know if this is a reoccuring problem. It's jsut at<br>the end of my log:<br><br>[mpeg2video @ 0xb7345348]00 motion_type at 0 27<br>[mpeg2video @ 0xb7345348]00 motion_type at 0 28<br>[mpeg2video @ 0xb7345348]00 motion_type at 0 29<br>[mpeg2video @ 0xb7345348]Warning MVs not available<br>*** glibc detected *** /usr/bin/mythbackend: double free or corruption<br>(fasttop): 0xa8605138 ***<br>======= Backtrace:
 =========<br>/lib/libc.so.6[0xb5ea9bab]<br>/lib/libc.so.6(__libc_free+0x79)[0xb5eab0e7]<br>/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZdlPv+0x21)[0xb603a929]<br>/usr/lib/libmythtv-0.20.so.0(_ZNSt6vectorIiSaIiEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPiS1_EERKi+0xfc)[0xb78a1da6]<br>======= Memory map: ========<br>08048000-0812a000 r-xp 00000000 03:08 296515&nbsp;&nbsp;&nbsp;&nbsp; /usr/bin/mythbackend<br>0812a000-0812b000 rw-p 000e2000 03:08 296515&nbsp;&nbsp;&nbsp;&nbsp; /usr/bin/mythbackend<br>0812b000-083cc000 rw-p 0812b000 00:00 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[heap]<br>a8400000-a8460000 rw-p a8400000 00:00 0<br>a8460000-a8500000 ---p a8460000 00:00 0<br>a8600000-a8644000 rw-p a8600000 00:00 0<br>a8644000-a8700000 ---p a8644000 00:00 0<br>a9000000-a9100000 rw-p a9000000 00:00 0<br>a91f4000-a91f5000 ---p a91f4000 00:00 0<br>a91f5000-a99f5000 rw-p a91f5000 00:00 0<br>a99f5000-a99f6000 ---p a99f5000 00:00
 0<br><br>&lt;SNIP&gt;<br>b7ef7000-b7ef8000 rw-p 00000000 03:08 705168<br>/usr/lib/mythtv/filters/libbobdeint.so<br>b7ef8000-b7efa000 r-xp 00000000 03:08 705149<br>/usr/lib/mythtv/filters/libadjust.so<br>b7efa000-b7efb000 rw-p 00001000 03:08 705149<br>/usr/lib/mythtv/filters/libadjust.so<br>b7efb000-b7f03000 r-xp 00000000 03:08 753706&nbsp;&nbsp;&nbsp;&nbsp; /lib/libnss_files-2.4.so<br>b7f03000-b7f05000 rw-p 00007000 03:08 753706&nbsp;&nbsp;&nbsp;&nbsp; /lib/libnss_files-2.4.so<br>b7f05000-b7f0e000 r-xp 00000000 03:08 522754<br>/usr/qt/3/plugins/sqldrivers/libqsqlmysql.so<br>b7f0e000-b7f0f000 rw-p 00009000 03:08 522754<br>/usr/qt/3/plugins/sqldrivers/libqsqlmysql.so<br>b7f0f000-b7f10000 rw-p b7f0f000 00:00 0<br>b7f10000-b7f29000 r-xp 00000000 03:08 753640&nbsp;&nbsp;&nbsp;&nbsp; /lib/ld-2.4.so<br>b7f29000-b7f2a000 r--p 00019000 03:08 753640&nbsp;&nbsp;&nbsp;&nbsp; /lib/ld-2.4.so<br>b7f2a000-b7f2b000 rw-p 0001a000 03:08 753640&nbsp;&nbsp;&nbsp;&nbsp;
 /lib/ld-2.4.so<br>bf9cd000-bf9e3000 rw-p bf9cd000 00:00 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[stack]<br>ffffe000-fffff000 ---p 00000000 00:00 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[vdso]<br>0: start_time: 0.036 duration: 151.976<br>1: start_time: 0.026 duration: 151.954<br>stream: start_time: 0.289 duration: 1688.731 bitrate=5193 kb/s<br>[mpeg2video @ 0xb7345348]ac-tex damaged at 22 6<br>0: start_time: 0.036 duration: 232.471<br>1: start_time: 0.026 duration: 232.444<br>stream: start_time: 0.289 duration: 2583.125 bitrate=7217 kb/s<br>Starting up as the master server.<br><br><br>I don't even know if the Myth developers read this list or want this<br>info. Maybe pass it upstream through Gentoo?<br><br>Thanks,<br>Mark<br>_______________________________________________<br>mythtv-users mailing list<br>mythtv-users@mythtv.org<br><a target="_blank"
 href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></div></div><br></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>