Merge lp:~ricardo.teixas/ubuntu/raring/xfce4-session/fix-for-1104435 into lp:ubuntu/raring/xfce4-session

Proposed by Ricardo F. Teixeira
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~ricardo.teixas/ubuntu/raring/xfce4-session/fix-for-1104435
Merge into: lp:ubuntu/raring/xfce4-session
Diff against target: 48 lines (+28/-0)
3 files modified
debian/changelog (+6/-0)
debian/patches/series (+1/-0)
debian/patches/xfsm-startup-random-crash.patch (+21/-0)
To merge this branch: bzr merge lp:~ricardo.teixas/ubuntu/raring/xfce4-session/fix-for-1104435
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Dimitri John Ledkov Approve
Robert Sander (community) Approve
Coya DeBrojara (community) Approve
Kaio Donadelli (community) Approve
Piotr Maliński (community) Approve
Thomas Karcher (community) user experience Approve
Moritz Naumann (community) Approve
Review via email: mp+161735@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Moritz Naumann (mnaumann) wrote :

Thanks for the patch. Is there a chance to have a raring binary package based on it so reviewing can be easier for those affected?

Revision history for this message
Ricardo F. Teixeira (ricardo.teixas) wrote :

Sure. I already created a package recipe. Once the binary packages are built you can
test them using the following PPA: https://launchpad.net/~ricardo.teixas/+archive/xfce4-session

Revision history for this message
Moritz Naumann (mnaumann) wrote :

Works well for me, thanks.

review: Approve
Revision history for this message
Piotr Maliński (riklaunim) wrote :

Fixes the XFCE crash, nice :)

Revision history for this message
Ivica Jovic (ivicajovic) wrote :

This is great. It's working for me.

Revision history for this message
Coya DeBrojara (coyadebrojara) wrote :

Thanks for the excellent work. Everything works fine and no errors appear. :-)

Revision history for this message
Thomas Karcher (thkarcher) wrote :

Worked for me!

review: Approve (user experience)
Revision history for this message
Michael Skolnik (michaelskolnik) wrote :

Works for me!

Revision history for this message
Piotr Maliński (riklaunim) wrote :

approving as it keeps working.

review: Approve
Revision history for this message
Kaio Donadelli (xhikofff) wrote :

Works fine for me!

review: Approve
Revision history for this message
schollsky (schollsky) wrote :

No random crashes here since applying the patch. Thx!

Revision history for this message
Coya DeBrojara (coyadebrojara) wrote :

Therefore, an error occurring, as described herein: https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1104435, after use of the solution described here: https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1104435/comments/19, I can say that after several days use ubuntu, the problem never occurred, meaning that the patch removes the error.

review: Approve
Revision history for this message
Robert Sander (gurubert) wrote :

The patch fixes the crash for me.

review: Approve
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

One thing this fix doesn't say is that it's just a packaging of a fix from upstream
from:
 http://git.xfce.org/xfce/xfce4-session/commit/?id=ab391138cacc62ab184a338e237c4430356b41f9

so, it's a 'fixed upstream'; but I'm a little confused since the comment from Nick Schermer in that bug (who wrote the fix) is that he pushed two fixes in, I don't see the other one linked from the upstream bug report.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Uploaded into saucy.
For upload into raring, somebody needs to update the bug description as per:
https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template

review: Approve
Revision history for this message
Ricardo F. Teixeira (ricardo.teixas) wrote :

Hi Dave,

if you look at the description you will see that I attached the URL for the upstream bug. If you look carefully again you'll see that I mention Nick Shermer as the origin author for this bugfix:

«Origin/Author: Nick Schermer <email address hidden>».

I only saw one commit message mentioning the bug #9709 [1] however if you think that the other one is needed please let me know. Nevertheless, I must say that I've been using this package - with the Nick patch - for more than 3 weeks and it solved my problem.

[1] http://git.xfce.org/xfce/xfce4-session/commit/?id=ab391138cacc62ab184a338e237c4430356b41f9

Hope that it helps.

Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded to raring-proposed queue, for SRU team review. Thanks!

review: Approve
Revision history for this message
robert (ekstraadresse3) wrote :

It seems to be working, but when I try the Log-Out option and then cancels it, Firefox does not work anymore. I cant view recent webpages from the address field anymore. Also, none of the different options of the browser are possible to access.

Revision history for this message
Ricardo F. Teixeira (ricardo.teixas) wrote :

I acknowledge the same problem as Robert. However even with version 4.10.0-2ubuntu1 this behaviour is still present.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Please open new bug reports to track and fix newly discovered bugs. This merge proposal has been merged and is considered complete. Only limited amount of people see updates on completed merge proposals.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-11-09 23:05:01 +0000
3+++ debian/changelog 2013-04-30 23:38:27 +0000
4@@ -1,3 +1,9 @@
5+xfce4-session (4.10.0-2ubuntu2) raring; urgency=low
6+
7+ * debian/patches/xfsm-startup-random-crash.patch: added. Fix random crashes. lp: #1104435
8+
9+ -- Ricardo F. Teixeira <ricardo.teixeira@caixamagica.pt> Wed, 01 May 2013 00:33:42 +0100
10+
11 xfce4-session (4.10.0-2ubuntu1) raring; urgency=low
12
13 * Merge from Debian experimental, remaining Ubuntu changes:
14
15=== modified file 'debian/patches/series'
16--- debian/patches/series 2012-11-09 23:05:01 +0000
17+++ debian/patches/series 2013-04-30 23:38:27 +0000
18@@ -1,3 +1,4 @@
19 0001-Handle-multiple-interactive-session-save-bug-5379.patch
20 xubuntu_ignore-gdm-lang.patch
21 xubuntu_set-xdg-current-desktop.patch
22+xfsm-startup-random-crash.patch
23
24=== added file 'debian/patches/xfsm-startup-random-crash.patch'
25--- debian/patches/xfsm-startup-random-crash.patch 1970-01-01 00:00:00 +0000
26+++ debian/patches/xfsm-startup-random-crash.patch 2013-04-30 23:38:27 +0000
27@@ -0,0 +1,21 @@
28+## Description: Fix random crashes.
29+## Origin/Author: Nick Schermer <nick@xfce.org>
30+## Bug: https://bugzilla.xfce.org/show_bug.cgi?id=9709
31+Index: xfce4-session/xfce4-session/xfsm-startup.c
32+===================================================================
33+--- xfce4-session.orig/xfce4-session/xfsm-startup.c 2013-05-01 00:30:39.772188000 +0100
34++++ xfce4-session/xfce4-session/xfsm-startup.c 2013-05-01 00:33:38.164142830 +0100
35+@@ -918,9 +918,10 @@
36+ child_watch_data = g_new (XfsmStartupData, 1);
37+ child_watch_data->manager = g_object_ref (manager);
38+ child_watch_data->properties = properties;
39+- g_child_watch_add_full (G_PRIORITY_LOW, properties->pid,
40+- xfsm_startup_child_watch, child_watch_data,
41+- (GDestroyNotify) xfsm_startup_data_free);
42++ child_watch_data->properties->child_watch_id =
43++ g_child_watch_add_full (G_PRIORITY_LOW, properties->pid,
44++ xfsm_startup_child_watch, child_watch_data,
45++ (GDestroyNotify) xfsm_startup_data_free);
46+
47+ /* set a timeout -- client must register in a a certain amount of time
48+ * or it's assumed to be broken/have issues. */

Subscribers

People subscribed via source and target branches