Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2006 00:38:22 +0300
From:      "Alex Samorukov" <samm@os2.kiev.ua>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/98994: palm/jpilot crash on startup 
Message-ID:  <1150407502.59944@samm.local>
Resent-Message-ID: <200606152140.k5FLeJfw035418@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98994
>Category:       ports
>Synopsis:       palm/jpilot crash on startup
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 15 21:40:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Samorukov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
Shevchenko Didkovskiy and Partners 
>Environment:


System: FreeBSD 6.1-RELEASE #2: Wed May 17 22:22:18 EEST 2006
    root@samm.local:/usr/obj/usr/src/sys/SAMMKRNL



>Description:


As reported in PR98929 jpilot crash on startup when compiled with latest GTK2. I found that this problem is fixed in the CVS tree and backported fix to release version. This patch will fix PR98929 so i think that it can be closed after commit.


>How-To-Repeat:


upgrade ports tree, and run # portupgrade -R jpilot . Run jpilot and it will crash with core dump.


>Fix:


diff -r --new-file -u jpilot.ori/Makefile jpilot/Makefile
--- jpilot.ori/Makefile	Fri Jun 16 00:23:40 2006
+++ jpilot/Makefile	Fri Jun 16 00:24:21 2006
@@ -8,7 +8,7 @@
 
 PORTNAME=	jpilot
 PORTVERSION=	0.99.8
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES+=	palm comms
 MASTER_SITES=	http://jpilot.org/
 
diff -r --new-file -u jpilot.ori/files/patch-jpilot jpilot/files/patch-jpilot
--- jpilot.ori/files/patch-jpilot	Thu Jan  1 03:00:00 1970
+++ jpilot/files/patch-jpilot	Fri Jun 16 00:23:54 2006
@@ -0,0 +1,18 @@
+diff -u -r1.127 -r1.128
+--- jpilot.c	28 Nov 2005 07:22:22 -0000	1.127
++++ jpilot.c	16 Dec 2005 13:33:27 -0000	1.128
+@@ -1,4 +1,4 @@
+-/* $Id: jpilot.c,v 1.127 2005/11/28 07:22:22 rikster5 Exp $ */
++/* $Id: jpilot.c,v 1.128 2005/12/16 13:33:27 rousseau Exp $ */
+ 
+ /*******************************************************************************
+  * jpilot.c
+@@ -1367,7 +1367,7 @@
+    gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE);
+    data = gdk_pixdata_serialize(pixdata, &len);
+ 
+-   g_free(pixbuf);
++   g_object_unref(pixbuf);
+    g_free(pixdata);
+ 
+    return data;


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1150407502.59944>