Opened 4 years ago
Closed 4 years ago
#16201 closed bug (invalid)
wget crash during Haiku build
Reported by: | bitigchi | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Please see this ticket: https://github.com/haikuports/haikuports/issues/5057
Attachments (1)
Change History (9)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
I now see that all three of these crashes are at the exact same point in memset() with very similar call stacks. It seems unlikely to be a Haiku bug then, especially if wget was recently updated.
comment:3 by , 4 years ago
FYI, only three downloads fail, the rest downloads fine. And if I don't interact with the crash window, it still continues to compile fine in the background (but hangs at the end eventually).
comment:5 by , 4 years ago
It varies -- sometimes they crash, sometimes they do not. I could say in around 3/5 attempts they crash.
comment:6 by , 4 years ago
Please run the following in a Terminal:
MALLOC_DEBUG=g LD_PRELOAD=/system/lib/libroot_debug.so wget <ARGS>
and keep doing this until it crashes. If it does not after a reasonable number of attempts, report that; otherwise, upload a crash report.
comment:7 by , 4 years ago
additional output from terminal
lags: used guard allocation size: 179 allocation base: 0x1730ff95f40 alignment: 16 allocating thread: 835 freeing thread: -1
comment:8 by , 4 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
According to mmlr, this is indeed an issue with the port:
<mmlr> it is a port issue <mmlr> it overwrites opt.homedir for a temporary variable
Do you have any particular reason to suspect a Haiku bug here?