<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SIGALRM prevents tracing"
   href="https://bugs.llvm.org/show_bug.cgi?id=36593">36593</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SIGALRM prevents tracing
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stsp@list.ru
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello.

Attached is a fully automated test-case.
Unpack tst.tar.gz and run "make lldb".
It will compile the binary and run lldb
with the custom .lldbinit script.
It will stop at the break-point.
Then you can press "n" to step, but nothing
happens:

---
(lldb) n
Process 9843 stopped
* thread #1, name = 'tst', stop reason = breakpoint 1.1 -4.1
    frame #0: 0x00007ffff6cea9c4 libfdpp.so`DynAlloc(what="dosobj", num=1,
size=512) at dyninit.cc:59
   56   
   57   __FAR(void)DynAlloc(const char *what, unsigned num, unsigned size)
   58   {
-> 59     if (size != 512)
   60       printf("TEST FAILED! size=%i\n", size);
   61     else
   62       printf("TEST PASSED! size=%i\n", size);
(lldb) n
Process 9843 stopped
* thread #1, name = 'tst', stop reason = breakpoint 1.1 -6.1
    frame #0: 0x00007ffff6cea9c4 libfdpp.so`DynAlloc(what="dosobj", num=1,
size=512) at dyninit.cc:59
   56   
   57   __FAR(void)DynAlloc(const char *what, unsigned num, unsigned size)
   58   {
-> 59     if (size != 512)
   60       printf("TEST FAILED! size=%i\n", size);
   61     else
   62       printf("TEST PASSED! size=%i\n", size);
(lldb) n
Process 9843 stopped
* thread #1, name = 'tst', stop reason = breakpoint 1.1 -8.1
    frame #0: 0x00007ffff6cea9c4 libfdpp.so`DynAlloc(what="dosobj", num=1,
size=512) at dyninit.cc:59
   56   
   57   __FAR(void)DynAlloc(const char *what, unsigned num, unsigned size)
   58   {
-> 59     if (size != 512)
   60       printf("TEST FAILED! size=%i\n", size);
   61     else
   62       printf("TEST PASSED! size=%i\n", size);
(lldb)  
---

Its always at the same line.
Disabling SIGALRM in tst.cc makes it to work, so
it seems lldb doesn't handle signals.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>