Running lli under gdb gives Program received signal SIGSEGV, Segmentation fault. [address] in ?? () (gdb) bt #0 [address] in ?? () Cannot access memory at address [address2] Was sqlite3 part of the llvm-2.6 test suite? If so, it is likely there's a workaround for 2.6. On 8/10/10 2:25 PM, "Eric Christopher" <echristo at apple.com> wrote: On Aug 10, 2010, at 1:09 PM, Bueno, Denis wrote:> I'm trying to get a stacktrace, so I can't provide one. >There should be at least something unless it's trashing the stack so much that it can't get anything.> I'm trying llvm 2.7 right now. I'm hoping there's a 2.6 workaround, though.Unlikely. -eric -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100810/66bd1764/attachment.html>
On Aug 10, 2010, at 1:30 PM, Bueno, Denis wrote:> Running lli under gdb gives > > Program received signal SIGSEGV, Segmentation fault. > [address] in ?? () > (gdb) bt > #0 [address] in ?? () > Cannot access memory at address [address2] > >Wow. Something has really trashed your stack.> Was sqlite3 part of the llvm-2.6 test suite? If so, it is likely there’s a workaround for 2.6.It may have been, that's been a while. It is now for sure and was at the 2.7 time frame. We don't keep release branches around so ... -eric
What environment is this? Some JITs work better than others. On Aug 10, 2010, at 1:35 PMPDT, Eric Christopher wrote:> On Aug 10, 2010, at 1:30 PM, Bueno, Denis wrote: > >> Running lli under gdb gives >> >> Program received signal SIGSEGV, Segmentation fault. >> [address] in ?? () >> (gdb) bt >> #0 [address] in ?? () >> Cannot access memory at address [address2] >> >> Wow. Something has really trashed your stack. > >> Was sqlite3 part of the llvm-2.6 test suite? If so, it is likely >> there’s a workaround for 2.6. > > It may have been, that's been a while. It is now for sure and was > at the 2.7 time frame. We don't keep release branches around so ...sqlite3 was added to the testsuite in March 2008. When was 2.6?
On Tue, Aug 10, 2010 at 1:35 PM, Eric Christopher <echristo at apple.com> wrote:> > On Aug 10, 2010, at 1:30 PM, Bueno, Denis wrote: > >> Running lli under gdb gives >> >> Program received signal SIGSEGV, Segmentation fault. >> [address] in ?? () >> (gdb) bt >> #0 [address] in ?? () >> Cannot access memory at address [address2] >> >> > > Wow. Something has really trashed your stack.No, he's just on linux x86_64 using JITed frames with no unwind information. That was the whole point of adding the support here: http://llvm.org/docs/DebuggingJITedCode.html See if you can get a stack trace using the directions there. Reid