Ticket #1870 (new bug)

Opened 2 years ago

Last modified 12 months ago

Expander - unzipping on full volume hangs

Reported by: stippi Owned by: korli
Priority: low Milestone: R1
Component: Applications/Expander Version: R1/pre-alpha1
Keywords: Cc: adek336@…
Blocked By: Platform: All
Blocking:

Description

If you try to unzip something on an already full volume, the process will just "hang" in Expander. I am not sure, I think you can just stop the operation and close the window. If you try to unzip in the Terminal, you will see that unzip is asking what it should do about the error that the device is full. Maybe unzip can be started in "non-interactive" mode? Otherwise it looks like there should be parsing of the pipe output for some known tools and error conditions at least.

Attachments

expanderHang.diff Download (1.2 KB) - added by pfoetchen_ 12 months ago.

Change History

Changed 2 years ago by korli

Expander should set something like /dev/null as stdin.

Changed 14 months ago by Adek336

  • cc adek336@… added

Changed 12 months ago by franxico

Still present in r29603.

Changed 12 months ago by pfoetchen_

I wrote a patch but I can't test it now since I have no working buildsystem for X86 now ;)

Changed 12 months ago by pfoetchen_

Changed 12 months ago by stippi

Nice one! I am going to try on a too small QEMU image. Hopefully Expander becomes aware that something went wrong (additionally to not hanging that is). If that doesn't work, maybe unzip needs to grow a "non-interactive" command line option...

Changed 12 months ago by korli

This patch maybe fixes the hang, but does Expander show an error after the extraction ? If not, it should.

Changed 12 months ago by stippi

Ok, finally got around to testing this. Yes, Expander will now simply quit and there is no error message. So while it does fix the hang, I think it wouldn't be good to apply this patch. A more general solution that would also work for other extractors and then actually displays an error would be preferred.

Note: See TracTickets for help on using tickets.