Post Reply 
libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
12-24-2013, 09:17 AM
Post: #35
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library
I could use lldb to debug it and get this info

Enter input filename: MandA.hpprgm
Input file has size 1254 (4e6)
Process 51083 stopped
* thread #1: tid = 0x2e2aa, 0x00007fff8721e3b6 libsystem_c.dylib`strrchr + 10, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x2001600)
frame #0: 0x00007fff8721e3b6 libsystem_c.dylib`strrchr + 10
libsystem_c.dylib`strrchr + 10:
-> 0x7fff8721e3b6: movsbl (%rdi), %edx
0x7fff8721e3b9: cmpl %ecx, %edx
0x7fff8721e3bb: cmoveq %rdi, %rax
0x7fff8721e3bf: incq %rdi
(lldb) bt
* thread #1: tid = 0x2e2aa, 0x00007fff8721e3b6 libsystem_c.dylib`strrchr + 10, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x2001600)
frame #0: 0x00007fff8721e3b6 libsystem_c.dylib`strrchr + 10
frame #1: 0x00000001000099df libhpcalcs.0.dylib`prime_parsefilename(filepath=<unavailable>, out_type=0x00007fff5fbffa8f, out_calcfilename=0x00007fff5fbffa80) + 47 at typesprime.c:132
frame #2: 0x0000000100000e00 test_hpcalcs`send_file(handle=0x000000010010faf0) + 235 at test_hpcalcs.c:263
frame #3: 0x0000000100000a36 test_hpcalcs`main(argc=<unavailable>, argv=<unavailable>) + 375 at test_hpcalcs.c:583
frame #4: 0x00007fff8e43e5fd libdyld.dylib`start + 1
frame #5: 0x00007fff8e43e5fd libdyld.dylib`start + 1
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: libhpcalcs: portable (Windows / MacOS X / Linux) connectivity kit library - LarsF - 12-24-2013 09:17 AM



User(s) browsing this thread: 1 Guest(s)