Bug 722679 - thunar-vcs-plugin makes thunar randomly crash
Summary: thunar-vcs-plugin makes thunar randomly crash
Keywords:
Status: CLOSED DUPLICATE of bug 584455
Alias: None
Product: Fedora
Classification: Fedora
Component: thunar-vcs-plugin
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-16 12:08 UTC by Andrea Santilli
Modified: 2011-07-16 14:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-16 12:51:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
backtrace in daemon mode (9.76 KB, text/plain)
2011-07-16 12:08 UTC, Andrea Santilli
no flags Details
workaround (2.56 KB, patch)
2011-07-16 12:09 UTC, Andrea Santilli
no flags Details | Diff
workaround 2 (2.63 KB, patch)
2011-07-16 14:03 UTC, Andrea Santilli
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Xfce 6404 0 None None None Never

Description Andrea Santilli 2011-07-16 12:08:24 UTC
Created attachment 513480 [details]
backtrace in daemon mode

Description of problem:
With the thunar-vcs-plugin installed, thunar can crash randomly when right-clicking on any spot of its icon view. That can happen at any time, even after a day in which thunar has been working fine.
I'm attaching a backtrace of a crash of thunar running in daemon mode.
From what I can see it crashes when it calls g_quark_from_static_string(). I'm still not sure why that's happening, it probably gets unloaded, and using g_quark_from_string() instead works for me. I'm attaching a patch too.

Version-Release number of selected component (if applicable):
0.1.4-1.fc15

How reproducible:
Sometimes

Steps to Reproduce:
1. install thunar-vcs-plugin
2. run thunar in daemon mode
3. after a while of normal work it can crash when right-clicking on any part of the icon view

Comment 1 Andrea Santilli 2011-07-16 12:09:11 UTC
Created attachment 513481 [details]
workaround

Comment 2 Christoph Wickert 2011-07-16 12:51:35 UTC
Yeah, I am aware of this problem and have already opened a bug report upstream at 
https://bugzilla.xfce.org/show_bug.cgi?id=6404

I have also added your patch to that bug now. Thanks a lot! I will issue an update this weekend for testing.

*** This bug has been marked as a duplicate of bug 584455 ***

Comment 3 Andrea Santilli 2011-07-16 13:37:02 UTC
Great, thanks!

Comment 4 Andrea Santilli 2011-07-16 14:03:19 UTC
Created attachment 513486 [details]
workaround 2

Oh sorry, just an errata: I did a bit of a mess when I recreated the patch and forgot to assign the g_quark_try_string() result. 
There's the fixed patch, now that works :)

Comment 5 Christoph Wickert 2011-07-16 14:27:14 UTC
Thanks, forwarded upstream.


Note You need to log in before you can comment on or make changes to this bug.