Opened 5 years ago

Closed 5 years ago

#15389 closed bug (fixed)

[HaikuDepot] crashes in MainWindow::_UpdateAuthorization()

Reported by: diver Owned by: apl-haiku
Priority: normal Milestone: R1/beta2
Component: Applications/HaikuDepot Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev53523 x86_64.

Double clicking a local package (while being logged in) crashes HD.

Attachments (1)

HaikuDepot-6605-debug-05-10-2019-02-16-09.report (16.8 KB ) - added by diver 5 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by apl-haiku, 5 years ago

Double clicking a local package (while being logged in) crashes HD.

To me your description of "local package" is ambiguous. Do you mean a package visible in the HD desktop interface which you have already installed or do you mean that you double click on an "hpkg" file on your desktop computer using Tracker? Could you please supply a set of steps to reproduce the error.

comment:2 by diver, 5 years ago

  • login to HDS
  • double click any hpkg file in Tracker

comment:3 by apl-haiku, 5 years ago

I followed the following steps;

  1. Open HaikuDepot desktop application
  2. Choose "Logout" from top right menu
  3. Close HaikuDepot desktop application
  4. Open HaikuDepot desktop application
  5. Choose "Login..." from the top right menu
  6. Provide username + password and authenticate successfully
  7. Double-click on a HPKG file in the Tracker

A window now opens showing the details of the package that I double-clicked on. I do not seem to be getting a crash or other problem.

  • Do the steps listed above correlate with your test steps?
  • Is there anything in the HaikuDepot desktop application stdio log that would indicate a problem?
  • Is the problem able to be reproduced reliably?
  • Please try performing these steps with English locale set in case Locale is a factor.

in reply to:  3 comment:4 by diver, 5 years ago

Replying to apl-haiku:

  • Do the steps listed above correlate with your test steps?

Exactly. Also crashes if I open any package in HD from cli.

  • Is there anything in the HaikuDepot desktop application stdio log that would indicate a problem?
HaikuDepot /system/packages/haiku-r1~beta1_hrev53523-1-x86_64.hpkg 
PackageContentsView::_PopuplatePackageContens(): failed parse package contents: General system error
Kill Thread
  • Is the problem able to be reproduced reliably?

Yes

  • Please try performing these steps with English locale set in case Locale is a factor.

Same crash with English locale

comment:5 by apl-haiku, 5 years ago

  • Does this happen with a number of "hpkg" files or just one specific one?
  • Does the error shown above from the console log occur immediately prior to the crash or is that appearing earlier?

comment:6 by diver, 5 years ago

It happens with any package.

Weirdly enough this error appears after the crash:

PackageContentsView::_PopuplatePackageContens(): failed parse package contents: General system error

And it doesn't appear when I logged out.

comment:7 by BlueSky, 5 years ago

I have exactly the same problem as diver reported. Can reproduce it reliably following the specified steps

comment:8 by diver, 5 years ago

Fixed in hrev53535, thanks!

comment:9 by diver, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.