Menu

#509 Copy -> paste -> rename -> replace -> CRASH!

1.0
closed
PCMan
libfm (316)
5
2012-05-05
2011-12-05
perfwill
No

For example I create 2 files named "name" and "nameB". I want to rename "nameB" to "name", replacing the original "name" file.
I do it like this:
1. Copy the file "nameB"
2. Paste to the same folder -> a "confirm replace files" dialog appears and I change the name to "name" -> click "rename"
3. A new "confirm replace files" dialog appears bcz the "name" file already exists, I click "overwrite"
4. Boom! It closes the window and brings me to the desktop (PCManFM crashed??!!), no action taken (file not replaced), no error messages.
I think it's a bug ;)

Discussion

  • Lonely Stranger

    Lonely Stranger - 2011-12-11

    Program terminated with signal 11, Segmentation fault.
    #0 0x0026f5e6 in _fm_file_ops_job_copy_file (job=0x9917cf8, src=0x994da60, inf=0x0,
    dest=0x994db10) at job/fm-file-ops-job-xfer.c:377
    377 if(err->domain == G_IO_ERROR && err->code == G_IO_ERROR_EXISTS)
    (gdb) print err
    $1 = (GError *) 0x0

     
  • Lonely Stranger

    Lonely Stranger - 2011-12-11

    Look into patches tracker, I've fixed it.

     
  • PCMan

    PCMan - 2012-05-05
    • status: open --> closed
     
  • PCMan

    PCMan - 2012-05-05

    Patch applied.

     
  • PCMan

    PCMan - 2012-05-05

    The bug was already fixed in git.

     

Anonymous
Anonymous

Add attachments
Cancel