[Pkg-mc-devel] Bug#698936: mc: segfault in gslice.c deleting file

Dominique Brazziel dbrazziel at snet.net
Fri Jan 25 13:15:05 UTC 2013


Package: mc
Version: 3:4.8.3-10
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   Trying to delete some cruft files in a directory, most of
   which were 0 bytes long
   
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   Highlight file, press F8
   
   * What was the outcome of this action?
   Segmentation fault 11 core dumped
   
   * What outcome did you expect instead?
    File(s) to be deleted
    
    Attached is a core dump and backtrace taken 
from a gdb run after 'mc-dbg' package installed.

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.35-interatom (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  e2fslibs      1.42.5-1
ii  libc6         2.13-37
ii  libcomerr2    1.42.5-1
ii  libglib2.0-0  2.33.12+really2.32.4-3
ii  libgpm2       1.20.4-6
ii  libslang2     2.2.4-15
ii  mc-data       3:4.8.3-10

Versions of packages mc recommends:
ii  mime-support  3.52-1
ii  perl          5.14.2-16
ii  unzip         6.0-8

Versions of packages mc suggests:
ii  acroread [pdf-viewer]  9.2-0.1
pn  arj                    <none>
ii  bzip2                  1.0.6-4
pn  catdvi                 <none>
pn  dbview                 <none>
pn  djvulibre-bin          <none>
ii  evince [pdf-viewer]    3.4.0-3.1
ii  file                   5.11-2
pn  gv                     <none>
ii  imagemagick            8:6.7.7.10-5
pn  odt2txt                <none>
ii  python                 2.7.3~rc2-1
pn  python-boto            <none>
pn  python-tz              <none>
ii  w3m                    0.5.3-8
ii  zip                    3.0-6

-- no debconf information
-------------- next part --------------
gdb /usr/bin/mc ./core.mc.11059
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mc...Reading symbols from /usr/lib/debug/.build-id/18/d20c0bd819e1c970a6d901840a3bb417b1244a.debug...done.
done.
[New LWP 11059]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/bin/mc'.
Program terminated with signal 11, Segmentation fault.
#0  magazine_chain_pop_head (magazine_chunks=<synthetic pointer>)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gslice.c:532
532	/build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gslice.c: No such file or directory.
(gdb) bt
#0  magazine_chain_pop_head (magazine_chunks=<synthetic pointer>)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gslice.c:532
#1  magazine_cache_trim (stamp=1909302334, ix=0, allocator=<optimized out>)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gslice.c:671
#2  magazine_cache_push_magazine (ix=ix at entry=0, magazine_chunks=<optimized out>, count=51)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gslice.c:703
#3  0xb7d470d2 in thread_memory_magazine2_unload (ix=ix at entry=0, tmem=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gslice.c:802
#4  0xb7d942f8 in g_slice_free1 (mem_size=mem_size at entry=8, mem_block=mem_block at entry=0x801a7440)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gslice.c:1093
#5  0xb7d6eed3 in g_key_file_key_value_pair_free (pair=pair at entry=0x801a7440)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gkeyfile.c:3725
#6  0xb7d6f383 in g_key_file_remove_key_value_pair_node (pair_node=0x801aba20, group=<error reading variable: Unhandled dwarf expression opcode 0xfa>, 
    key_file=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gkeyfile.c:3752
#7  0xb7d6f44a in g_key_file_remove_group_node (key_file=key_file at entry=0x80198a78, group_node=0x801ab9c0)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gkeyfile.c:3813
#8  0xb7d6f5c2 in g_key_file_clear (key_file=key_file at entry=0x80198a78)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gkeyfile.c:607
#9  0xb7d70de5 in g_key_file_free (key_file=0x80198a78)
    at /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/gkeyfile.c:1122
#10 0x80037f83 in mc_config_deinit (mc_config=0x801bd470) at common.c:149
#11 0x8004a952 in dlg_read_history (h=<optimized out>) at dialog.c:175
#12 init_dlg (h=h at entry=0x801bdaa8) at dialog.c:1220
#13 0x8004afee in run_dlg (h=h at entry=0x801bdaa8) at dialog.c:1282
#14 0x8005255c in query_dialog (header=0x800c4854 "Delete", text=text at entry=0xbfffed5c "Delete file \"this.\"?", flags=flags at entry=1, count=count at entry=2)
    at wtools.c:379
#15 0x80072400 in panel_operate (source_panel=0x801b1200, operation=operation at entry=OP_DELETE, force_single=force_single at entry=0) at file.c:2742
#16 0x80067924 in delete_cmd () at cmd.c:996
#17 0x80080c12 in midnight_execute_cmd (sender=0x801aab00, command=23) at midnight.c:1135
#18 0x80048a3b in buttonbar_call (bb=0x801ae150, i=1, i at entry=7) at buttonbar.c:153
#19 0x80048af3 in buttonbar_callback (w=0x801aab00, msg=WIDGET_HOTKEY, parm=1008) at buttonbar.c:175
#20 0x8004adb2 in send_message (msg=WIDGET_HOTKEY, parm=1008, w=<optimized out>) at ../../lib/widget/widget-common.h:136
#21 dlg_try_hotkey (d_key=1008, h=0x801abb00) at dialog.c:458
#22 dlg_key_event (d_key=1008, h=0x801abb00) at dialog.c:503
#23 dlg_process_event (h=h at entry=0x801abb00, key=1008, event=event at entry=0xbffff0d4) at dialog.c:1251
#24 0x8004b0cd in frontend_run_dlg (h=0x801abb00) at dialog.c:562
#25 run_dlg (h=0x801abb00) at dialog.c:1283
#26 0x8008239a in create_panels_and_run_mc () at midnight.c:922
#27 do_nc () at midnight.c:1696
#28 0x80011ec0 in main (argc=1, argv=0xbffff324) at main.c:567
(gdb) 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: core.mc.11059
Type: application/x-coredump
Size: 1953792 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20130125/88befb6e/attachment-0001.bin>


More information about the Pkg-mc-devel mailing list