[Pkg-mc-devel] Bug#524868: mc crashes when trying to overwrite a file, in a nonexistent folder, on a ftp server
mhanor at yahoo.com
mhanor at yahoo.com
Mon Apr 20 12:40:43 UTC 2009
Package: mc
Version: 2:4.6.2~git20080311-4
Severity: normal
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-custom (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages mc depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libglib2.0-0 2.16.6-1+lenny1 The GLib library of C routines
ii libgpm2 1.20.4-3.1 General Purpose Mouse - shared lib
ii libslang2 2.1.3-3 The S-Lang programming library - r
mc recommends no packages.
Versions of packages mc suggests:
pn arj <none> (no description available)
ii bzip2 1.0.5-1 high-quality block-sorting file co
pn dbview <none> (no description available)
ii file 4.26-1 Determines file type using "magic"
ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
pn odt2txt <none> (no description available)
ii perl 5.10.0-19 Larry Wall's Practical Extraction
ii unzip 5.52-12 De-archiver for .zip files
ii w3m 0.5.2-2+b1 WWW browsable pager with excellent
pn xpdf <none> (no description available)
ii zip 2.32-1 Archiver for .zip files
-- no debconf information
Steps to reproduce the crash:
1. create a local folder (eg testdir), containing a file (testfile)
2. connect to the ftp server and upload the testdir (containing testfile)
3. delete testdir and testfile on the ftp server using other means, without affecting the current mc ftp session (no refreshing, no nothing)
4. try again to upload testdir, using the first mc ftp session used to upload the first time
Backtrace:
#0 0x080b3d7b in vfs_s_generate_entry (me=0x80dd340, name=0x88df798 "testfile", parent=0x0, mode=493) at direntry.c:179
#1 0x080b4335 in vfs_s_open (me=0x80dd340, file=0x88df730 "/#ftp:user at 192.168.0.2:21/testdir/testfile", flags=577, mode=384)
at direntry.c:766
#2 0x080b7898 in mc_open (filename=0x88df4e8 "/#ftp:user at 192.168.0.2:21/testdir/testfile", flags=577) at vfs.c:348
#3 0x0805e583 in copy_file_file (ctx=0x8901620, src_path=0x88df670 "/home/someuser/somepath/testdir/testfile",
dst_path=0x88df4e8 "/#ftp:user at 192.168.0.2:21/testdir/testfile", ask_overwrite=1, progress_count=0xbfa11078,
progress_bytes=0xbfa11070, is_toplevel_file=0) at file.c:625
#4 0x0805f37b in copy_dir_dir (ctx=0x8901620, s=0x8900448 "/home/someuser/somepath/testdir",
d=0x8900ac8 "/#ftp:user at 192.168.0.2:21/testdir", toplevel=1, move_over=0, delete=0, parent_dirs=0x0,
progress_count=0xbfa11078, progress_bytes=0xbfa11070) at file.c:999
#5 0x08060d83 in panel_operate (source_panel=0x88e53b0, operation=OP_COPY, force_single=0) at file.c:1918
#6 0x080548b8 in copy_cmd () at cmd.c:314
#7 0x08091eb3 in buttonbar_call (bb=0x80de660, i=<value optimized out>) at widget.c:2567
#8 0x080926f3 in buttonbar_callback (w=0x88f73e8, msg=WIDGET_HOTKEY, parm=1005) at widget.c:2589
#9 0x080593f5 in dlg_process_event (h=0x88e3fe8, key=1005, event=0xbfa11154) at dialog.c:615
#10 0x080596df in run_dlg (h=0x88e3fe8) at dialog.c:786
#11 0x0807123d in main (argc=Cannot access memory at address 0x0) at main.c:1690
More information about the Pkg-mc-devel
mailing list