On 1/31/19 2:09 PM, Sebastian Reitenbach wrote:
It seems that to get debug symbols in curl, you need to modify the Makefile to add --enable-debugYou might get some more clues from building curl with debug symbols.I have this in my /etc/.mk.conf: DEBUG=-g -O0 which usually does the ticket.
(gdb) run Starting program: /usr/ports/pobj/esniper-2.35.0/esniper-2-35-0/esniper -m Program received signal SIGSEGV, Segmentation fault. strlen () at /usr/src/lib/libc/arch/amd64/string/strlen.S:125125 /usr/src/lib/libc/arch/amd64/string/strlen.S: No such file or directory.
in /usr/src/lib/libc/arch/amd64/string/strlen.S
Current language: auto; currently asm
(gdb) bt
#0 strlen () at /usr/src/lib/libc/arch/amd64/string/strlen.S:125
#1 0x000004a2edf3e9e5 in Curl_pretransfer (data=0x4a270901008) at
transfer.c:1406
#2 0x000004a2edf4eb9a in multi_runsingle (multi=0x4a2b2eb7808,
now={tv_sec = 96041, tv_usec = 578763},
data=0x4a270901008) at multi.c:1441
#3 0x000004a2edf4e3ca in curl_multi_perform (multi=0x4a2b2eb7808,
running_handles=0x7f7ffffdc48c) at multi.c:2214
#4 0x000004a2edf41d25 in easy_transfer (multi=0x4a2b2eb7808) at easy.c:686#5 0x000004a2edf4074e in easy_perform (data=0x4a270901008, events=false) at easy.c:780 #6 0x000004a2edf40563 in curl_easy_perform (data=0x4a270901008) at easy.c:799
#7 0x000004a0606dae68 in httpRequest (url=0x4a343e38880 "https://my.ebay.com/ws/eBayISAPI.dll?MyeBay&CurrentPage=MyeBayWatching", logUrl=0x0,
data=0x4a0606c9a49 "", logData=0x0, rt=GET) at http.c:177
#8 0x000004a0606dab7a in httpGet (
url=0x4a343e38880
"https://my.ebay.com/ws/eBayISAPI.dll?MyeBay&CurrentPage=MyeBayWatching",
logUrl=0x0)
at http.c:79
#9 0x000004a0606cfdec in printMyItems () at auction.c:1217
#10 0x000004a0606d4df2 in main (argc=0, argv=0x7f7ffffdc858) at
esniper.c:850
smime.p7s
Description: S/MIME Cryptographic Signature
