[Bug 13262] New: assertion failure when renaming files

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] New: assertion failure when renaming files

bugzilla-daemon
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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]
  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.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

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

--- Comment #1 from Christoph Pfister <[hidden email]> ---
Created attachment 6940
  --> https://bugzilla.xfce.org/attachment.cgi?id=6940&action=edit
stack trace for step 2

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

--- Comment #2 from Christoph Pfister <[hidden email]> ---
Created attachment 6941
  --> https://bugzilla.xfce.org/attachment.cgi?id=6941&action=edit
script for stress testing

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

Skunnyk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Skunnyk <[hidden email]> ---
Can you try with Thunar 1.6.11 ?
(https://mail.xfce.org/pipermail/xfce-announce/2017-February/000495.html) Tons
of bugs has been fixed in this release.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

Skunnyk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

--- Comment #4 from Christoph Pfister <[hidden email]> ---
Created attachment 7154
  --> https://bugzilla.xfce.org/attachment.cgi?id=7154&action=edit
1.6.11git-f5221396 stacktrace A

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

--- Comment #5 from Christoph Pfister <[hidden email]> ---
Created attachment 7155
  --> https://bugzilla.xfce.org/attachment.cgi?id=7155&action=edit
1.6.11git-f5221396 stacktrace B

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

--- Comment #6 from Christoph Pfister <[hidden email]> ---
Created attachment 7156
  --> https://bugzilla.xfce.org/attachment.cgi?id=7156&action=edit
1.6.11git-f5221396 stacktrace C

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

--- Comment #7 from Christoph Pfister <[hidden email]> ---
I've obtained the three attached stacktraces (distinct, but related) with
1.6.11git-f5221396.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13262] assertion failure when renaming files

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13262

Christoph Pfister <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED

--- Comment #8 from Christoph Pfister <[hidden email]> ---
The attached stacktraces for 1.6.11 only exist because g_warning becomes fatal
with '--enable-debug=full'; after removing that warning, I haven't been able to
trigger any issue, so 1.6.11 seems to have fixed this bug.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Loading...