Package: mc
Version: 1:4.6.1-6
Followup-For: Bug #382206

As the bug is still tagged 'unreproducible', I'd like to confirm that it
does occur in the current version.  As described by John Stamp, mc
crashes when pressing F5 or F6 only if it was started with one panel as
"List" and the other as "Info".

The exact steps to reproduce the bug are:
1. start mc
2. set the left panel as List (F9 / Left / Listing mode / Full)
3. set the right panel as Info (F9 / Right / Info)
4. save the settings (F9 / Options / Save setup )
5. exit (F10)
6. start mc again
7. position the cursor in the left panel on any file or directory
8. press F5 or F6 - mc crashes with a segfault

Stack trace:
(gdb) bt
#0  0x0806e097 in file_mask_dialog ()
#1  0x0806c7ef in panel_operate ()
#2  0x08061194 in copy_cmd ()
#3  0x08098e06 in define_label ()
#4  0x080657b1 in dlg_process_event ()
#5  0x08065b8d in run_dlg ()
#6  0x0807bf01 in init_menu ()
#7  0x0807c94a in main ()


strace output:
2856  select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
2856  rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
2856  select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
2856  select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0})
2856  read(3, "\33", 1)                 = 1
2856  select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0})
2856  read(3, "[", 1)                   = 1
2856  select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0})
2856  read(3, "1", 1)                   = 1
2856  select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0})
2856  read(3, "5", 1)                   = 1
2856  select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0})
2856  read(3, "~", 1)                   = 1
2856  ioctl(0, TIOCLINUX, 0xbfded6ec)   = -1 EINVAL (Invalid argument)
2856  geteuid32()                       = 1002
2856  --- SIGSEGV (Segmentation fault) @ 0 (0) ---


The problem seems to be Debian-specific: I built mc from the original
tarball (mc_4.6.1.orig.tar.gz) and it worked fine.


Regards,
Jacek


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mc depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libglib2.0-0                 2.12.4-2    The GLib library of C routines
ii  libgpmg1                     1.19.6-23   General Purpose Mouse - shared lib
ii  libslang2                    2.0.6-4     The S-Lang programming library - r

mc recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to