Opened 4 years ago

Closed 3 years ago

#16565 closed bug (fixed)

Debugger CLI crashes trying to save a report

Reported by: waddlesplash Owned by: anevilyak
Priority: normal Milestone: R1/beta4
Component: Applications/Debugger Version: R1/beta2
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Run:

Debugger -s HEALTHY_TEAM_ID

Instead of saving a report, Debugger crashes.

Attachments (1)

Debugger-32905-debug-10-10-2020-21-02-15.report.txt (14.8 KB ) - added by waddlesplash 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by waddlesplash, 4 years ago

Ah, I didn't realize the syntax is "--team <TEAM_ID>". That does not crash.

comment:2 by anevilyak, 4 years ago

-s takes an optional argument to specify a report path rather than autogenerate it, so the above would actually have told it to specify a report in the cwd named for the team ID. The actual crash culprit appears to be https://git.haiku-os.org/haiku/tree/src/apps/debugger/user_interface/report/ReportUserInterface.cpp#n41

Which is actually entirely unnecessary.

comment:3 by waddlesplash, 3 years ago

Milestone: UnscheduledR1/beta4
Resolution: fixed
Status: newclosed

Fixed in hrev55857.

Note: See TracTickets for help on using tickets.