Ticket #3558 (closed defect: invalid)

Opened 8 years ago

Last modified 7 years ago

F5/F6/F7/F8 often doesn't report proper error

Reported by: egmont Owned by:
Priority: critical Milestone:
Component: mc-core Version: 4.8.15
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Try to perform a copy, move, mkdir or delete operation that you do not have permission to.

The reason in the error dialog box is sometimes correct (e.g. "Permission denied", "File exists" etc.), but often is a literal "(null)", or the empty string, or some other garbage (e.g. a previous file name you operated on); followed by the numeric error code.

Looks like some serious memory corruption going on, which can potentially lead to other problems (e.g. crash) as well.

This is on Mac 10.10.5, I'll try on Linux as soon as I can.

Dates back at least to 4.7.5, haven't tried older versions.

Change History

comment:1 Changed 8 years ago by egmont

Works correctly in Linux.

comment:2 Changed 8 years ago by egmont

glib's g_strerror() implementation is buggy, it mangles the string. Even immediately wrapping it in a strdup() doesn't help. So I'm afraid there's nothing we can do here.

Reported upstream: https://bugzilla.gnome.org/show_bug.cgi?id=758194

comment:3 Changed 8 years ago by zaytsev-work

Oh, awesome work! So on our side, it's a wontfix?

comment:4 Changed 8 years ago by egmont

  • Status changed from new to closed
  • Resolution set to invalid

Yup.

(There's no "not mc" resolution, "invalid" sounds more appropriate to me than "wontfix".)

comment:5 Changed 7 years ago by andrew_b

  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.