[Pkg-mc-devel] Bug#589273: mcview segfaults in expand_format()

Piotr Lewandowski piotr.lewandowski at gmail.com
Fri Jul 16 09:44:52 UTC 2010


Package: mc
Version: 3:4.7.0.6-1
Severity: normal

$ mcview apt-move.8
Segmentation fault

$ gdb -q --args mcview apt-move.8
Reading symbols from /usr/bin/mcview...Reading symbols from /usr/lib/debug/usr/bin/mc...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/mcview apt-move.8
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
expand_format (edit_widget=0x0, c=100 'd', do_quote=1) at user.c:204
204             fname = panel->dir.list[panel->selected].fname;
(gdb) bt
#0  expand_format (edit_widget=0x0, c=100 'd', do_quote=1) at user.c:204
#1  0x000000000043d98c in exec_extension (filename=<value optimized out>, action=<value optimized out>, move_dir=<value optimized out>) at ext.c:193
#2  regex_command (filename=<value optimized out>, action=<value optimized out>, move_dir=<value optimized out>) at ext.c:613
#3  0x0000000000437a53 in view_file_at_line (filename=0x7c2070 "/tmp/mc-4.7.0.6/src/apt-move.8", plain_view=<value optimized out>,
    internal=<value optimized out>, start_line=0) at cmd.c:158
#4  0x000000000044f29a in mc_maybe_editor_or_viewer (argc=2, argv=0x7fffffffe5c8) at main.c:1815
#5  do_nc (argc=2, argv=0x7fffffffe5c8) at main.c:1875
#6  main (argc=2, argv=0x7fffffffe5c8) at main.c:2203
(gdb) print panel
$1 = (WPanel *) 0x0
(gdb) print current_panel
$2 = (WPanel *) 0x0

-- System Information:
Debian Release: squeeze/sid

Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.24.1-1   The GLib library of C routines
ii  libgpm2                       1.20.4-3.3 General Purpose Mouse - shared lib
ii  libslang2                     2.2.2-4    The S-Lang programming library - r

Versions of packages mc recommends:
ii  mime-support                  3.48-1     MIME files 'mime.types' & 'mailcap

Versions of packages mc suggests:
pn  arj                           <none>     (no description available)
ii  bzip2                         1.0.5-4    high-quality block-sorting file co
pn  catdvi                        <none>     (no description available)
pn  dbview                        <none>     (no description available)
pn  djvulibre-bin                 <none>     (no description available)
ii  epdfview [pdf-viewer]         0.1.7-2    Lightweight pdf viewer based on po
ii  file                          5.04-2     Determines file type using "magic"
pn  gv                            <none>     (no description available)
pn  imagemagick                   <none>     (no description available)
pn  links | w3m | lynx            <none>     (no description available)
pn  odt2txt                       <none>     (no description available)
ii  perl                          5.10.1-13  Larry Wall's Practical Extraction 
ii  python                        2.6.5-5    An interactive high-level object-o
pn  python-boto                   <none>     (no description available)
pn  python-tz                     <none>     (no description available)
ii  unzip                         6.0-4      De-archiver for .zip files
pn  zip                           <none>     (no description available)

-- no debconf information

-- 
Piotr Lewandowski





More information about the Pkg-mc-devel mailing list