<div dir="ltr">Hey Eran,<div><br></div><div>Thanks for the update on 14.04! Glad to hear the real machine install is working. It might be worth you filing the protection error bug with the VirtualBox folks.</div><div><br>
</div><div>I expect sometime soonish we'll be upgrading to Ubuntu 14.04 over here, in which case that'll be where I spend much of my time.</div><div><br></div><div>Sincerely,</div><div>Todd Fiala</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Apr 19, 2014 at 3:26 AM, Eran Ifrah <span dir="ltr"><<a href="mailto:eran.ifrah@gmail.com" target="_blank">eran.ifrah@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 dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">An update:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
I have installed Ubuntu 14.04 on a _real_ machine and it is working flawlessly (that is, lldb is working flawlessly)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">So my guess is that this issue is somehow related to the fact that my previous test was done in a VirtualBox</div>
<span class="HOEnZb"><font color="#888888">
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Eran</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 19, 2014 at 10:30 AM, Eran Ifrah <span dir="ltr"><<a href="mailto:eran.ifrah@gmail.com" target="_blank">eran.ifrah@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 dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="verdana, sans-serif">Hi,</font></div>
<div class="gmail_default">
<font face="verdana, sans-serif"><br></font></div><div class="gmail_default">
<font face="verdana, sans-serif">I am not sure if there anything you guys can do about this, but I have just installed VirtualBox with Ubuntu 14.04/64 and tried the lldb-3.4-dev and lldb-3.5-dev packages they offer (both installs a development package + lldb command line tool), in both cases lldb could not debug a simple program (both from command line and from my IDE)</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">It often (but not always) complained about "</font><b style="font-family:verdana,sans-serif">address access protected" </b></div>
<div class="gmail_default"><span style="font-family:verdana,sans-serif">See below (the code snippet is the entire test program):</span></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div>
<div class="gmail_default"><font face="verdana, sans-serif">(lldb) </font></div><div class="gmail_default"><font face="verdana, sans-serif">Process 6655 stopped</font></div><div class="gmail_default"><font face="verdana, sans-serif">* thread #1: tid = 6655, 0x000000000040054f TestLLDB`main(argc=1, argv=0x00007fffbfab5338) + 34 at main.cpp:6, name = 'TestLLDB', stop reason = <b>address access protected (fault address: 0x4004b0)</b></font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> frame #0: 0x000000000040054f TestLLDB`main(argc=1, argv=0x00007fffbfab5338) + 34 at main.cpp:6</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 3 <span style="white-space:pre-wrap"> </span>int main(int argc, char **argv)</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> 4 <span style="white-space:pre-wrap"> </span>{</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 5 <span style="white-space:pre-wrap"> </span> for(size_t i=0; i<5; ++i) {</font></div>
<div class="gmail_default"><font face="verdana, sans-serif">-> 6 <span style="white-space:pre-wrap"> </span> printf("message\n");</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 7 <span style="white-space:pre-wrap"> </span> //getc( stdin );</font></div>
<div class="gmail_default"><font face="verdana, sans-serif"> 8 <span style="white-space:pre-wrap"> </span> }</font></div><div class="gmail_default"><font face="verdana, sans-serif"> 9 <span style="white-space:pre-wrap"> </span> return 0;</font></div>
<div style="font-family:verdana,sans-serif;font-size:small"><br></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I am going to try this on a real machine (i.e. no VirtualBox)</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">P.S: I would have try lldb head from svn, but its broken (as Todd already reported to this list)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
</div></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Thanks,</div><span><font color="#888888"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div>-- <br><div dir="ltr">
Eran Ifrah<br>Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br><div>wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></div>
</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Eran Ifrah<br>Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br>
<div>wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></div></div>
</div>
</div></div><br>_______________________________________________<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><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>