[Lldb-commits] [lldb] r219102 - Call SBDebugger::Initialize/Terminate from within Create/Destroy.

Matthew Gardiner mg11 at csr.com
Tue Oct 7 06:34:35 PDT 2014


Ok, Thanks Ed,

I've just installed FreeBSD-10.0 (amd64) on VirtualBox. Have installed
virtualbox-ose-additions, and gnome2.

Unfortunately X (i.e. gnome) freezes on startup (i.e. won't accept kdb
or mouse input). Perhaps I should just struggle on with just running in
text mode, but having makes one so much more productive...

Matt


On Tue, 2014-10-07 at 09:21 -0400, Ed Maste wrote:
> On 7 October 2014 02:18, Matthew Gardiner <mg11 at csr.com> wrote:
> > Hi Ed,
> >
> > Which test was the first to segfault in the suite. I've looked at the stdio
> > page from the check-lldb target from the attached link, and it looks like
> > it's this statement which indicates the bot failure:
> >
> > FAIL: LLDB (suite) :: TestFormattersSBAPI.py (FreeBSD
> > llvm-amd64.freebsd.your.org 10.1-STABLE FreeBSD 10.1-STABLE #0 r272281M: Mon
> > Sep 29 14:19:16 UTC 2014
> > root at llvm-amd64.freebsd.your.org:/data/obj/usr/src/sys/GENERIC amd64 amd64)
> 
> Yes, that's the first failure. Unfortunately it seems the segfault is
> hidden by the test suite, so it's not that obvious from the log where
> it happens.
> 
> I reproduce it with:
> python dotest.py --executable /.path.to./lldb -C /usr/bin/clang -v -t
> -p TestFormattersSBAPI
> 
> The Linux and OS X thread libraries are more forgiving of invalid use
> than FreeBSD's, which may explain differences in the test results.
> For example when I started working on LLDB there were a few instances
> of calling _unlock() on an unlocked mutex, or from a thread other than
> that which called _lock().  That seemed to work on OS X and Linux, but
> crashed on FreeBSD.
> 
> > I'm keen to know as I'd like to set up a freebsd system to replicate this
> > type of failure.
> 
> Excellent, let me know if you need anything.  I have some instructions
> for setting up a FreeBSD VM and building LLDB here:
> https://wiki.freebsd.org/lldb
> 
> 
>  To report this email as spam click https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== .




Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube, www.youtube.com/user/CSRplc, Facebook, www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at www.twitter.com/CSR_plc.
New for 2014, you can now access the wide range of products powered by aptX at www.aptx.com.



More information about the lldb-commits mailing list