Merge lp:~ivoks/ubuntu/maverick/glib2.0/887946 into lp:ubuntu/maverick-proposed/glib2.0

Proposed by Ante Karamatić
Status: Rejected
Rejected by: Sebastien Bacher
Proposed branch: lp:~ivoks/ubuntu/maverick/glib2.0/887946
Merge into: lp:ubuntu/maverick-proposed/glib2.0
Diff against target: 61 lines (+41/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/90-context-unlock.patch (+33/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~ivoks/ubuntu/maverick/glib2.0/887946
Reviewer Review Type Date Requested Status
Stéphane Graber Approve
Ante Karamatić Needs Resubmitting
Dave Walker (community) Needs Fixing
Ubuntu Sponsors Pending
Review via email: mp+81721@code.launchpad.net

Description of the change

gmain: move finalization of GSource outside of context lock
(LP: #887946)

To post a comment you must log in.
Revision history for this message
Dave Walker (davewalker) wrote :

Hey Ante,

Thanks for the merge proposal. I did have a comment:
 - It seems to edit files directly, when the package already makes use of a patching system. Would you be able to convert this to a standalone patch (using DEP-3 headers, http://dep.debian.net/deps/dep3/)?

Thanks.

review: Needs Fixing
90. By Ante Karamatić

Revert changes on glib/gmain.c

91. By Ante Karamatić

Add patch debian/patch90-context-unlock.patch from upstream commit 1f853c75ccb0a42757c3661ed36427e69e416af3
(LP: #887946)

92. By Ante Karamatić

Fix debian/changelog

Revision history for this message
Ante Karamatić (ivoks) wrote :

Addressed issue mentioned in comment.

review: Needs Resubmitting
Revision history for this message
Stéphane Graber (stgraber) wrote :

Same comment as for the lucid SRU. The packaging looks good, except for the version number that should be -0ubuntu1.1.

I'll let someone familiar with glib do a final review and upload.

Thanks!

review: Approve
Revision history for this message
Sebastien Bacher (seb128) wrote :

setting to rejected, the 10.10 serie is out of support

Unmerged revisions

92. By Ante Karamatić

Fix debian/changelog

91. By Ante Karamatić

Add patch debian/patch90-context-unlock.patch from upstream commit 1f853c75ccb0a42757c3661ed36427e69e416af3
(LP: #887946)

90. By Ante Karamatić

Revert changes on glib/gmain.c

89. By Ante Karamatić

gmain: move finalization of GSource outside of context lock
(LP: #887946)

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 2010-11-15 13:57:47 +0000
3+++ debian/changelog 2011-11-10 20:02:27 +0000
4@@ -1,3 +1,10 @@
5+glib2.0 (2.26.1-0ubuntu2) UNRELEASED; urgency=low
6+
7+ * debian/patches/90-context-unlock.patch (LP: #887946):
8+ - gmain: move finalization of GSource outside of context lock
9+
10+ -- Ante Karamatic <ivoks@ubuntu.com> Wed, 09 Nov 2011 12:51:54 +0100
11+
12 glib2.0 (2.26.1-0ubuntu1) maverick-proposed; urgency=low
13
14 * New upstream release
15
16=== added file 'debian/patches/90-context-unlock.patch'
17--- debian/patches/90-context-unlock.patch 1970-01-01 00:00:00 +0000
18+++ debian/patches/90-context-unlock.patch 2011-11-10 20:02:27 +0000
19@@ -0,0 +1,33 @@
20+commit 1f853c75ccb0a42757c3661ed36427e69e416af3
21+Author: Dan Winship <danw gnome org>
22+Date: Sat Nov 6 09:35:25 2010 -0400
23+
24+ gmain: move finalization of GSource outside of context lock
25+
26+ This avoids ugly deadlock situations such as in
27+ https://bugzilla.gnome.org/show_bug.cgi?id=586432
28+
29+ https://bugzilla.gnome.org/show_bug.cgi?id=626702
30+
31+ glib/gmain.c | 8 +++++++-
32+ 1 files changed, 7 insertions(+), 1 deletions(-)
33+---
34+Index: maverick/glib/gmain.c
35+===================================================================
36+--- maverick.orig/glib/gmain.c 2011-11-10 20:30:25.000000000 +0100
37++++ maverick/glib/gmain.c 2011-11-10 20:29:50.000000000 +0100
38+@@ -1519,7 +1519,13 @@
39+ g_source_list_remove (source, context);
40+
41+ if (source->source_funcs->finalize)
42+- source->source_funcs->finalize (source);
43++ {
44++ if (context)
45++ UNLOCK_CONTEXT (context);
46++ source->source_funcs->finalize (source);
47++ if (context)
48++ LOCK_CONTEXT (context);
49++ }
50+
51+ g_free (source->name);
52+ source->name = NULL;
53
54=== modified file 'debian/patches/series'
55--- debian/patches/series 2010-09-27 22:31:56 +0000
56+++ debian/patches/series 2011-11-10 20:02:27 +0000
57@@ -5,4 +5,5 @@
58 #05_file_size_units.patch
59 60_wait-longer-for-threads-to-die.patch
60 71_gio_launch_handler.patch
61+90-context-unlock.patch
62

Subscribers

People subscribed via source and target branches