<div dir="ltr">Thank you, Greg.<div><br></div><div>I update libedit to version 3.1 and pull a new snapshot of LLDB source tree, it works well now.</div><div><br></div><div>Regards!</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/11/16 Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Update your libedit to the latest version. The version that is installed by default is very old. Updating this should fix any prompt issues.<br>
<br>
Not sure what is going on with the pthread_join, you will need to debug this or have someone on the linux side help you track this down if it is reproducible.<br>
<br>
A _lot_ of fixes have been made on top of tree LLDB, I would recommend actually building the top of tree:<br>
<br>
<a href="http://lldb.llvm.org/build.html" target="_blank">http://lldb.llvm.org/build.html</a><br>
<br>
<br>
Greg<br>
<div><div class="h5"><br>
On Nov 14, 2013, at 8:27 PM, 杨勇勇 <<a href="mailto:triple.yang@gmail.com">triple.yang@gmail.com</a>> wrote:<br>
<br>
> Hi, all<br>
><br>
> A few days ago I built lldb 3.3 release on our workstation with redhat enterprise linux 6.3 x86_64 (gcc verison 4.8.2). At the very beginning, lldb seemd to work and I debugged small native programs. Still, the bug showed itself randomly as follows:<br>
> 1. at first, "(lldb)" prompt is missing and input from keyboard is not printed out, which means whatever I type, I can not read them on screen. Still, lldb corresponds to the command I type on condition that I input them correctly. lldb gives tips if I type a wrong command string.<br>
> 2. if situation mentioned above appears and I type "quit" to exit lldb, a segmentation fault (core dumped) happen. I debug lldb with gdb-7.6.1, and track the segmentation fault source to a message "Program received signal SIGSEGV, segmentation fault. 0x3b55c07fc3 in pthread_join () from /lib64/libpthread.so.0".<br>
><br>
> Since I am not familiar with multi-thread programming, I can not dig any further. Do you guys have Any clue?<br>
><br>
> Thanks beforehand.<br>
><br>
> --<br>
> 杨勇勇 (Yang Yong-Yong)<br>
</div></div>> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>杨勇勇 (Yang Yong-Yong)
</div>