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

Subscribers

People subscribed via source and target branches