[Xfce-bugs] [Bug 13262] New: assertion failure when renaming files

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Dec 29 18:08:01 CET 2016


https://bugzilla.xfce.org/show_bug.cgi?id=13262

            Bug ID: 13262
           Summary: assertion failure when renaming files
    Classification: Xfce
           Product: Thunar
           Version: 1.6.10
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: general
          Assignee: xfce-bugs at xfce.org
          Reporter: christophpfister at gmail.com
        QA Contact: nick at xfce.org
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.0

Created attachment 6939
  --> https://bugzilla.xfce.org/attachment.cgi?id=6939&action=edit
gdb stacktrace

(Thunar 1.6.10git-45fb3a15)

An assertion failure (stack trace attached) can be triggered reliably by
navigating thunar to a folder containing the script 'exercise.py' and running
that script (which randomly creates and renames files to check whether file
system events are handled correctly).

Error analysis (thunar-folder.c):

1) thunar_folder_reload starts a new job and returns

2) thunar_folder_content_type_loader is called from a different context and
sets content_type_idle_id

3) thunar_folder_finished is called when the job finishes and causes the
failure because content_type_idle_id != 0

Goodie:

I will also attach a stack trace for step 2 in case this helps (obtained by
adding a check for folder->job == NULL in thunar_folder_content_type_loader).

It's certainly easy to provide workarounds but I don't understand the logic
well enough to provide a proper fix.

Cheers,

Christoph

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list