[lldb-dev] just me, or lldb 3.4 is very buggy?

Todd Fiala tfiala at google.com
Fri Jan 31 08:19:02 PST 2014


Hi Jun,

Thanks again for the report.

I'm hopping over to Ubuntu 13.10 and will have a look at this.  It would
definitely be helpful to know a few things (which I'm going to have to
guess about here):
* What compiler are you using?  gcc or clang?
* What flags did you pass to the compiler when you compiled? Was it a debug
build? Was it optimized?

I'll file a bug if I'm able to cause a seg fault.  Yesterday I had a
check-in that fixed a seg fault under Linux - not sure if that's something
you were hitting.

I'll post what I see.

-Todd




On Thu, Jan 30, 2014 at 7:00 AM, Jun Koi <junkoi2004 at gmail.com> wrote:

> hi,
>
> i got lldb 3.5 from llvm.org/apt, and it is a bit better: it no longer
> has issue with libedit, it seems.
>
> however, it crashes all the time. you can easily reproduce it like below:
>
> $ lldb-3.5 ./test
> Current executable set to './test' (i386).
> (lldb) b main
> Breakpoint 1: where = test`main, address = 0x0804847d
> (lldb) r
> Segmentation fault (core dumped)
>
>
> "test" can be any program. in my case, it is just a "hello world" program,
> written in C.
>
> again, this is on Ubuntu 13.10 32bit. please try it, and confirm this is
> indeed a bug.
>
> at this current status, lldb is really unusable :-((
>
> thanks.
> Jun
>
>
>
> On Thu, Jan 30, 2014 at 2:06 AM, Todd Fiala <tfiala at google.com> wrote:
>
>> Hi Jun,
>>
>> Could you file a bug here<http://llvm.org/bugs/enter_bug.cgi?product=lldb>and attach your source?  Include how you compile it so we make sure we're
>> all on the same page to reproduce it.  Then we can see what's going on.
>>
>> Thanks for reporting it!
>>
>> Sincerely,
>> Todd Fiala
>>
>>
>> On Wed, Jan 29, 2014 at 6:48 PM, Sylvestre Ledru <sylvestre at debian.org>wrote:
>>
>>> On 29/01/2014 09:42, Greg Clayton wrote:
>>> > You will need to update the installed libedit on your machine.
>>> "libedit" is the line reader program we use to get commands and the default
>>> version on most linux's is quite old and out of date.
>>> >
>>> >
>>> Ubuntu saucy (13.10) has libedit  v3.1-20130712. Not sure it is the
>>> issue here...
>>>
>>> Sylvestre
>>>
>>> _______________________________________________
>>> lldb-dev mailing list
>>> lldb-dev at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>>
>>
>>
>>
>> --
>>  Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>>
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>
>>
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140131/d8b4499d/attachment.html>


More information about the lldb-dev mailing list