wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | ^C causes a Core dump (#573)


From: @piotr.zygielo
Subject: Re: wget2 | ^C causes a Core dump (#573)
Date: Wed, 08 Dec 2021 20:24:56 +0000



Piotrek Żygieło commented:


With `libnghttp2-devel` installed I've rebuilt v2.0.0.

It dumps a core for `repo.maven...` link.

I've rebuilt from master - dumps a core as well.

```
$ valgrind wget2-fromgit/bin/wget2 
https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/5.2021.9/payara-5.2021.9.zip
 -O /dev/null 
==571348== Memcheck, a memory error detector
==571348== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==571348== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==571348== Command: wget2-fromgit/bin/wget2 
https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/5.2021.9/payara-5.2021.9.zip
 -O /dev/null
==571348== 
^C^C==571348== 
==571348== Process terminating with default action of signal 6 (SIGABRT): 
dumping core
==571348==    at 0x4E2C89C: __pthread_kill_implementation (pthread_kill.c:44)
==571348==    by 0x4DDF6B5: raise (raise.c:26)
==571348==    by 0x4DC97D2: abort (abort.c:79)
==571348==    by 0x4086C5: nop.cold (wget.c:219)
==571348==    by 0x4DDF75F: ??? (in /usr/lib64/libc.so.6)
==571348==    by 0x4E27779: __futex_abstimed_wait_common64 (futex-internal.c:57)
==571348==    by 0x4E27779: __futex_abstimed_wait_common (futex-internal.c:87)
==571348==    by 0x4E29F28: __pthread_cond_wait_common (pthread_cond_wait.c:504)
==571348==    by 0x4E29F28: pthread_cond_wait@@GLIBC_2.3.2 
(pthread_cond_wait.c:619)
==571348==    by 0x408D06: main (wget.c:1409)
==571348== 
==571348== HEAP SUMMARY:
==571348==     in use at exit: 2,116,709 bytes in 19,252 blocks
==571348==   total heap usage: 116,596 allocs, 97,344 frees, 16,385,256 bytes 
allocated
==571348== 
==571348== LEAK SUMMARY:
==571348==    definitely lost: 32,816 bytes in 1 blocks
==571348==    indirectly lost: 0 bytes in 0 blocks
==571348==      possibly lost: 320 bytes in 1 blocks
==571348==    still reachable: 2,083,573 bytes in 19,250 blocks
==571348==         suppressed: 0 bytes in 0 blocks
==571348== Rerun with --leak-check=full to see details of leaked memory
==571348== 
==571348== For lists of detected and suppressed errors, rerun with: -s
==571348== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Aborted (core dumped)
```

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/573#note_758212729
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]