[lldb-dev] [Bug 17477] lldb doesn't report line number for NULL function pointer crash

via lldb-dev lldb-dev at lists.llvm.org
Fri Jul 19 09:19:57 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=17477

Jonas Devlieghere <jdevlieghere at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jdevlieghere at apple.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Jonas Devlieghere <jdevlieghere at apple.com> ---
(lldb) r
Process 12820 launched: '/tmp/a.out' (x86_64)
Process 12820 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x0000000100000faa a.out`main at main.cpp:10:5
    frame #2: 0x00007fff70342c49 libdyld.dylib`start + 1
    frame #3: 0x00007fff70342c49 libdyld.dylib`start + 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190719/10ad2f97/attachment.html>


More information about the lldb-dev mailing list