Files crashes if a paste operation is cancelled.

Bug #1464695 reported by Jeremy Wootten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Files
Fix Released
High
Jeremy Wootten

Bug Description

(Freya 64-bit) If you paste a file into a folder that either has insufficient space or already has a file of the same name and choose "Cancel" from the dialog, Files crashes.

backtrace:

Program received signal SIGSEGV, Segmentation fault.
__lambda121_ (_data29_=0xa39440) at /media/jeremy/Shared/shared_data/Vala/Elementary/pantheon-files-branches/Loki/pantheon-files/src/View/AbstractDirectoryView.vala:1122
1122 view.select_glib_files (pasted_files_list, pasted_files_list.first ().data);
(gdb) bt
#0 __lambda121_ (_data29_=0xa39440) at /media/jeremy/Shared/shared_data/Vala/Elementary/pantheon-files-branches/Loki/pantheon-files/src/View/AbstractDirectoryView.vala:1122
#1 ___lambda121__gsource_func (self=0xa39440) at AbstractDirectoryView.c:6131
#2 0x00007ffff523fab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff523fe18 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ffff523febc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff5a5644c in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007ffff76fd5e0 in granite_application_run () from /usr/lib/x86_64-linux-gnu/libgranite.so.2
#7 0x0000000000438110 in _vala_main (args=0x7fffffffdea8, args_length1=2)
    at /media/jeremy/Shared/shared_data/Vala/Elementary/pantheon-files-branches/Loki/pantheon-files/src/main.vala:30
#8 0x00007ffff4994ec5 in __libc_start_main (main=0x427e20 <main>, argc=2, argv=0x7fffffffdea8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffde98) at libc-start.c:287
#9 0x0000000000427e55 in _start ()

Related branches

Changed in pantheon-files:
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in pantheon-files:
milestone: none → freya-0.3.1
status: In Progress → Fix Committed
Changed in pantheon-files:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.