bugtracker icon indicating copy to clipboard operation
bugtracker copied to clipboard

ham (hildon-application-manager) details freeze

Open parazyd opened this issue 5 years ago • 4 comments

HAM bugs/freezes when choosing to list details upon installing a package.

TODO: investigate and fix

The following two can probably be fixed at the same time:

https://github.com/maemo-leste/bugtracker/issues/311 https://github.com/maemo-leste/bugtracker/issues/285

parazyd avatar Jul 02 '20 16:07 parazyd

https://github.com/maemo-leste/bugtracker/issues/365

parazyd avatar Jul 02 '20 16:07 parazyd

I have this issue running the 20200624 image on a pinephone. Running the App manager from the terminal gives:

“hildon-application-manager”` terminated by signal SIGSEGV (Address boundary error)

edwinsage avatar Jul 08 '20 22:07 edwinsage

gdb maemo-summoner
set args /usr/bin/hildon-application-manager.launch
run

Probable cause per gdb:

  • https://github.com/maemo-leste/hildon-application-manager/blob/master/src/details.cc#L935
  • https://github.com/maemo-leste/hildon-application-manager/blob/master/src/main.cc#L498

parazyd avatar May 09 '21 11:05 parazyd

The problem seems to be that the apt worker doesn't manage to do what is asked of it, I'll debug it more later today.

MerlijnWajer avatar Jul 03 '22 09:07 MerlijnWajer

This is what causes it to crash: https://github.com/maemo-leste/hildon-application-manager/blob/927464b6b7aa9656442c638c86dfeadf975d1dde/src/apt-worker.cc#L3498

it seems to delete/free some memory that apt likely uses internally

MerlijnWajer avatar Dec 15 '22 12:12 MerlijnWajer

Fixed via https://github.com/maemo-leste/hildon-application-manager/commit/ed2def0fe7151acb0728a3906f25debd206874f2

MerlijnWajer avatar Dec 15 '22 12:12 MerlijnWajer

(to be clear, in chimaera, not in beowulf, so wait for another week or so)

MerlijnWajer avatar Dec 15 '22 12:12 MerlijnWajer