#18487 closed bug (invalid)

diff --strip-trailing-cr produces stack trace on haiku nightly

Reported by: hoanga Owned by: nobody
Priority: low Milestone: Unscheduled
Component: - General Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

not sure this is a bug and if it is a bug if the bug should be in haikuports or here but creating an issue here for starters. i have noticed this occurring on nightlies and have been able to get the reproduce steps to the following (last checked on hrev57122):

steps to reproduce:

> touch a.txt b.txt

> diff --strip-trailing-cr a.txt b.txt

Attachments (2)

diff-4662-debug-01-07-2023-17-40-51.report (7.5 KB ) - added by hoanga 10 months ago.
strace-diff.log (25.0 KB ) - added by hoanga 10 months ago.
strace log

Download all attachments as: .zip

Change History (5)

by hoanga, 10 months ago

Attachment: strace-diff.log added

strace log

comment:1 by pulkomandy, 10 months ago

It looks like no Haiku code is directly involved (the crashing function, rawmemchr, is not written by Haiku). So I think this should be reported at github.com/haikuports/haikuports instead of here.

comment:2 by hoanga, 10 months ago

i have created a ticket at haikuports here. this ticket can be closed when it is convenient. thanks!

comment:3 by waddlesplash, 10 months ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.