The problem is, I can&#39;t get it to segfault when compiled with --compile-type=debug. I&#39;ll see if I can&#39;t add some debugging of my own..<br><br>- Mark.<br><br><div><span class="gmail_quote">On 2/13/07, <b class="gmail_sendername">
Alan Nisota</b> &lt;<a href="mailto:alannisota@gmail.com">alannisota@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Alan Nisota wrote:<br>&gt; It appears that the VirtualAlloc is failing.&nbsp;&nbsp;This has nothing to do<br>&gt; with the # of CPUs but does have to do with your CPU type and compile<br>&gt; options.&nbsp;&nbsp;All I can say is compile with debug enabled, then startup
<br>&gt; mythfrontend inside gdb and set a breakpoint at ext.c:445<br>&gt; Then step through and find out where it fails.&nbsp;&nbsp;If you get a<br>&gt; stack-trace before you get to the breakpoint, give me a &#39;bt&#39; but I&#39;d
<br>&gt; be surprised if that were the case.&nbsp;&nbsp;The VirtualAlloc function changed<br>&gt; significantly between the 1.0 and 1.1 versions of my patch.<br>I forgot to add, you&#39;ll get a break because of the clone() call<br>
(depending on your gdb options, this may not happen).&nbsp;&nbsp;Once you select a<br>recording which starts CoreAVC you should get a break in VirtualAlloc<br>(due to the breakpoint I told you to add).&nbsp;&nbsp;If you can get past that<br>
(which you probably can&#39;t based on the logs), you&#39;ll get a segmentation<br>fault that looks like:<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x100bd887 in ?? ()<br><br>This is normal.&nbsp;&nbsp;you just need to &#39;continue&#39;.&nbsp;&nbsp;This is a triggered
<br>segfault used to swap the compressed image with the uncompressed one,<br>and is one of the nastier sides of PECompact2.&nbsp;&nbsp; The SEGV will be caught<br>and handled properly by the relevant handler in this case so it is a red
<br>herring as far as crashes go.<br><br>_______________________________________________<br>mythtv-dev mailing list<br><a href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a><br></blockquote></div><br>