Is this a bug with ftpfs ?



I get this when the server closes his connection and I try to upload I file. I tested with 2 different remote servers.

This is using latest CVS but also reproduceable with the version from Slackware 12.0.

Here's a gdb backtrace:

Program terminated with signal 11, Segmentation fault.
#0  0x080be48b in vfs_s_generate_entry (me=0x81025a0, name=0x8150756 "0208",
    parent=0x0, mode=493) at /usr/local/src/links/mc/vfs/direntry.c:179
179         inode = vfs_s_new_inode (me, parent->super, st);
(gdb) where
#0  0x080be48b in vfs_s_generate_entry (me=0x81025a0, name=0x8150756 "0208",
    parent=0x0, mode=493) at /usr/local/src/links/mc/vfs/direntry.c:179
#1  0x080be6c3 in vfs_s_open (me=0x81025a0,
    file=0x8179290 "/#ftp:ftp.byethost13.com/vascoexpresso.net/htdocs/news/0208", flags=577, mode=384) at /usr/local/src/links/mc/vfs/direntry.c:754
#2  0x080c1638 in mc_open (
    filename=0x81533d0 "/#ftp:ftp.byethost13.com/vascoexpresso.net/htdocs/news/0208", flags=577) at /usr/local/src/links/mc/vfs/vfs.c:343
#3  0x08066b7f in copy_file_file (ctx=0x81523f8,
    src_path=0x8166a10 "/www/ve/news/0208/80.html",
    dst_path=0x81533d0 "/#ftp:ftp.byethost13.com/vascoexpresso.net/htdocs/news/0208", ask_overwrite=1, progress_count=0xbfd5c628,
    progress_bytes=0xbfd5c620, is_toplevel_file=1)
    at /usr/local/src/links/mc/src/file.c:614
#4  0x08068c7a in panel_operate (source_panel=0x8144658, operation=OP_COPY,
    force_single=0) at /usr/local/src/links/mc/src/file.c:1887
#5  0x0805db64 in copy_cmd () at /usr/local/src/links/mc/src/cmd.c:310
#6  0x08094154 in buttonbar_call (bb=0x81038c0, i=<value optimized out>)
    at /usr/local/src/links/mc/src/widget.c:2294
#7  0x08094aa9 in buttonbar_callback (w=0x81527a0, msg=WIDGET_HOTKEY,
    parm=1005) at /usr/local/src/links/mc/src/widget.c:2316
---Type <return> to continue, or q <return> to quit---
#8  0x08061e62 in dlg_process_event (h=0x8132fe8, key=1005, event=0xbfd5c6f0)
    at /usr/local/src/links/mc/src/dialog.c:615
#9  0x0806221d in run_dlg (h=0x8132fe8)
    at /usr/local/src/links/mc/src/dialog.c:786
#10 0x08075ea4 in do_nc () at /usr/local/src/links/mc/src/main.c:1672
#11 0x08076825 in main (argc=Cannot access memory at address 0x0
) at /usr/local/src/links/mc/src/main.c:2240


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]