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

Attachments (1)

wget-835-debug-03-06-2020-18-29-35.report (33.0 KB ) - added by bitigchi 4 years ago.
crash report

Download all attachments as: .zip

Change History (9)

comment:1 by waddlesplash, 4 years ago

Do you have any particular reason to suspect a Haiku bug here?

comment:2 by waddlesplash, 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 bitigchi, 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:4 by waddlesplash, 4 years ago

Do those downloads fail when run outside the build process?

comment:5 by bitigchi, 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 waddlesplash, 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.

by bitigchi, 4 years ago

crash report

comment:7 by bitigchi, 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 waddlesplash, 4 years ago

Resolution: invalid
Status: newclosed

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
Note: See TracTickets for help on using tickets.