<div>And one more backtrace, after I discovered -Xs was being forced upon compiled programs, removing symbols.<br></div><div><br></div><div>Starting program: C:\Users\Matt\Documents\TestCase/project1.exe<br><br>Program received signal SIGSEGV, Segmentation fault.<br>
0x100177b7 in U_SYSINITPAS_ENTRYINFORMATION ()<br>(gdb) backtrace<br>#0 0x100177b7 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#1 0x8c87c83d in ?? ()<br>#2 0x10017af6 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#3 0x100029a0 in U_SYSINITPAS_ENTRYINFORMATION ()<br>
#4 0x1000dffe in U_SYSINITPAS_ENTRYINFORMATION ()<br>#5 0x76e9c8f9 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#6 0x76e9cbc3 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#7 0x76e9ec16 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#8 0x75ed96a8 in ?? ()<br>
#9 0x75ed9738 in ?? ()<br>#10 0x75da08d2 in ?? ()<br>#11 0x75d75151 in ?? ()<br>#12 0x75d74e10 in ?? ()<br>#13 0x75d73f87 in ?? ()<br>#14 0x76eda604 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#15 0x76e9c8f9 in U_SYSINITPAS_ENTRYINFORMATION ()<br>
#16 0x76ea4c41 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#17 0x76ea5ad7 in U_SYSINITPAS_ENTRYINFORMATION ()<br>#18 0x76eaa980 in U_SYSINITPAS_ENTRYINFORMATION ()<br>(gdb) q<br></div><div><br></div><div>So yeah, it dies really early into execution. I'm just going to reinstall Lazarus, as this seems like the best option for me.<br>
</div><div><br></div><div>(Although I still am curious as to why an app segfaults when being debugged, but not when run without a debugger attached...)</div><div><br></div><div class="gmail_quote">On Sat, Mar 27, 2010 at 2:21 PM, Matt Shaffer <span dir="ltr"><<a href="mailto:dazappa.matt@gmail.com">dazappa.matt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I think I'll update this real quick:<br></div><div>1. I'm using GDB 5.2.1</div><div>2. GDB quotes itself as encountering an internal error when I do "gdb project1.exe"</div>
<div>3. I hit no (I don't want to quit) to continue anyway.</div>
<div>4. Run</div><div>5. Segfault! Hey.. I actually didn't expect that.</div><div><br></div><div>The backtrace:</div><div>Program received signal SIGSEGV, Segmentation fault.<br>0x100177b7 in ?? ()<br>(gdb) backtrace<br>
#0 0x100177b7 in ?? ()<br>#1 0x10017af6 in ?? ()<br>#2 0x100029a0 in ?? ()<br>#3 0x1000dffe in ?? ()<br>#4 0x76e9c8f9 in ?? ()<br>#5 0x76e9cbc3 in ?? ()<br>#6 0x76e9ec16 in ?? ()<br>#7 0x75ed96a8 in ?? ()<br>#8 0x75ed9738 in ?? ()<br>
#9 0x75da08d2 in ?? ()<br>#10 0x75d75151 in ?? ()<br>#11 0x75d74e10 in ?? ()<br>#12 0x75d73f87 in ?? ()<br>#13 0x76eda604 in ?? ()<br>#14 0x76e9c8f9 in ?? ()<br>#15 0x76ea4c41 in ?? ()<br>#16 0x76ea5ad7 in ?? ()<br>#17 0x76eaa980 in ?? ()<br>
</div><div><br></div><div>But I've not the slightest idea what to do with it.</div><div><div class="h5"><br><div class="gmail_quote">On Sat, Mar 27, 2010 at 2:09 PM, Matt Shaffer <span dir="ltr"><<a href="mailto:dazappa.matt@gmail.com" target="_blank">dazappa.matt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>>Martin<br></div><div>I had already tried that, to no avail</div><div><br></div><div>>Mattias</div><div>It was my understanding that I had to run my program through a debugger (like GDB) outside of the IDE, in which case the application will work flawlessly. It only manages to crash with F9 -- is there a way to debug through that only? I have -g, -gl, -gw, and -Xg enabled. I have a hunch if I run the program with F9 with -Xg enabled (external file with debugging info), there would be a way to parse the generated file, but I've yet to find out how. </div>
<div><div>
<br><div class="gmail_quote">On Sat, Mar 27, 2010 at 1:22 PM, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Sat, 27 Mar 2010 11:59:05 -0300<br>
Matt Shaffer <<a href="mailto:dazappa.matt@gmail.com" target="_blank">dazappa.matt@gmail.com</a>> wrote:<br>
<br>
> I've noticed an interesting problem I seem to have acquired, and I was<br>
> wondering if anyone has come across it before. I used to have a nice, happy<br>
> installation of lazarus .9.28.2 on Windows Vissta, but I seem to have borked<br>
> it. Now, no matter how simple an application I build is (IE: 1 Form, no LCL,<br>
> etc.), when I run programs through the IDE with F9 (or the button), they<br>
> segfault immediately. I have no idea what the last thing I did was, and I<br>
> have no idea how to remedy the problem.<br>
><br>
> What would be a recommend course of action?<br>
> - I don't know how I caused this, so I'm not sure if this is a bug<br>
> - Is it possible to track down what's causing this?<br>
<br>
</div>Run the program in a debugger and create a backtrace.<br>
<div><br>
<br>
> - Should I reinstall Lazarus? Or should I install an SVN version, for kicks?<br>
<br>
<br>
</div><font color="#888888">Mattias<br>
</font><div><div><br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>