[grip] fixed "_IO_fwrite: Process /usr/bin/grip was killed by signal 11" (#653609)

Adrian Reber adrian at fedoraproject.org
Wed Mar 28 08:11:20 UTC 2012


commit 5e45026906b44c1e45bef55d41d5268ab515ed51
Author: Adrian Reber <adrian at lisas.de>
Date:   Wed Mar 28 10:11:15 2012 +0200

    fixed "_IO_fwrite: Process /usr/bin/grip was killed by signal 11" (#653609)

 ..._gdk_window_set_icon_name-segfault-737792.patch |   13 +++++++++++++
 grip.spec                                          |    2 ++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/grip.IA__gdk_window_set_icon_name-segfault-737792.patch b/grip.IA__gdk_window_set_icon_name-segfault-737792.patch
new file mode 100644
index 0000000..81ca077
--- /dev/null
+++ b/grip.IA__gdk_window_set_icon_name-segfault-737792.patch
@@ -0,0 +1,13 @@
+--- grip-3.2.0/src/cdplay.c	2012-03-28 10:08:39.533244139 +0200
++++ grip-3.2.0/src/cdplay.c.new	2012-03-28 10:08:53.557263196 +0200
+@@ -1768,8 +1768,8 @@
+       
+       SetCurrentTrack(ginfo,-1);
+     }
+-
+-    gdk_window_set_icon_name(uinfo->app->window,icon_buf);
++    if(uinfo->app->window)
++      gdk_window_set_icon_name(uinfo->app->window,icon_buf);
+   }
+ }
+ 
diff --git a/grip.spec b/grip.spec
index 203f492..ff4a94f 100644
--- a/grip.spec
+++ b/grip.spec
@@ -20,6 +20,7 @@ Patch10: grip.GripUpdate-728254.patch
 Patch11: grip.no-rip-speed-is-indicated-in-the-application-804180.patch
 Patch12: grip.segfault-if-cd-disappeared.patch
 Patch13: grip.cleanup-warnings.patch
+Patch14: grip.IA__gdk_window_set_icon_name-segfault-737792.patch
 URL: http://www.nostatic.org/grip/
 Requires: vorbis-tools
 BuildRequires: vte-devel cdparanoia-devel
@@ -48,6 +49,7 @@ accessing track information on disc database servers.
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 %build
 


More information about the scm-commits mailing list