NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-arm/47798: [arm-netbsdelf] /usr/pkgsrc/net/mikutter: core/mui/gtk_web_image_loader.rb:242: [BUG] Segmentation fault
The following reply was made to PR port-arm/47798; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
Subject: Re: port-arm/47798: [arm-netbsdelf] /usr/pkgsrc/net/mikutter:
core/mui/gtk_web_image_loader.rb:242: [BUG] Segmentation fault
Date: Thu, 13 Jun 2013 16:31:40 +0200
--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Can you please try with 1.6.3beta07? Diff attached.
Thomas
On Thu, Jun 13, 2013 at 12:55:01PM +0000, Izumi Tsutsui wrote:
> The following reply was made to PR port-arm/47798; it has been noted by
> GNATS.
>
> From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: tsutsui%ceres.dti.ne.jp@localhost
> Subject: Re: port-arm/47798: [arm-netbsdelf] /usr/pkgsrc/net/mikutter:
> core/mui/gtk_web_image_loader.rb:242:
> [BUG] Segmentation fault
> Date: Thu, 13 Jun 2013 21:50:06 +0900
>
> ruby193.core says it fails in new libpng16:
> ---
> (gdb) bt
> #0 0x203746e0 in _lwp_kill () from /usr/lib/libc.so.12
> #1 0x203728d4 in abort () from /usr/lib/libc.so.12
> #2 0x20080814 in rb_bug () from /usr/pkg/lib/libruby193.so.19
> #3 0x20121bd8 in sigsegv () from /usr/pkg/lib/libruby193.so.19
> #4 0x20304a7c in __gesf2 () from /usr/lib/libc.so.12
> #5 0x228a13fc in png_chunk_warning () from /usr/pkg/lib/libpng16.so.16
> #6 0x228a027c in png_icc_set_sRGB () from /usr/pkg/lib/libpng16.so.16
> #7 0x228b1950 in png_handle_iCCP () from /usr/pkg/lib/libpng16.so.16
> #8 0x228a3b34 in png_push_read_chunk () from /usr/pkg/lib/libpng16.so.16
> #9 0x228a4758 in png_process_data () from /usr/pkg/lib/libpng16.so.16
> #10 0x228a4758 in png_process_data () from /usr/pkg/lib/libpng16.so.16
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> (gdb)
> ---
>
> and building pkgsrc/graphics/png with -O seems to work around.
>
> --- /dev/null 2013-06-13 11:45:22.000000000 +0000
> +++ pkgsrc/graphics/png/hacks.mk
> @@ -0,0 +1,15 @@
> +# $NetBSD$
> +
> +.if !defined(PNG_HACKS_MK)
> +PNG_HACKS_MK= defined
> +
> +.include "../../mk/compiler.mk"
> +
> +### gcc-4.5.3 in NetBSD/arm 6.1 causes SEGV in some png functions.
> +### -O seems to work around.
> +.if !empty(MACHINE_PLATFORM:MNetBSD-*-arm) && !empty(CC_VERSION:Mgcc-4.5.*)
> +PKG_HACKS+= optimisation
> +BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-O
> +.endif
> +
> +.endif # PNG_HACKS_MK
>
> ---
> Izumi Tsutsui
>
>
--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="png-1.6.3beta07.diff"
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/png/Makefile,v
retrieving revision 1.158
diff -u -r1.158 Makefile
--- Makefile 25 Apr 2013 22:01:14 -0000 1.158
+++ Makefile 13 Jun 2013 14:29:40 -0000
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.158 2013/04/25 22:01:14 wiz Exp $
-DISTNAME= libpng-1.6.2
+DISTNAME= libpng-1.6.3beta07
PKGNAME= ${DISTNAME:S/lib//}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/png/PLIST,v
retrieving revision 1.14
diff -u -r1.14 PLIST
--- PLIST 16 Feb 2013 11:16:06 -0000 1.14
+++ PLIST 13 Jun 2013 14:29:40 -0000
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.14 2013/02/16 11:16:06 wiz Exp $
+@comment $NetBSD$
bin/libpng-config
bin/libpng16-config
+bin/png-fix-itxt
+bin/png-fix-too-far-back
include/libpng16/png.h
include/libpng16/pngconf.h
include/libpng16/pnglibconf.h
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/png/distinfo,v
retrieving revision 1.104
diff -u -r1.104 distinfo
--- distinfo 25 Apr 2013 22:01:14 -0000 1.104
+++ distinfo 13 Jun 2013 14:29:40 -0000
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.104 2013/04/25 22:01:14 wiz Exp $
-SHA1 (libpng-1.6.2.tar.xz) = 8820d2741ec2bd75a1ce984e72b56c888037f2db
-RMD160 (libpng-1.6.2.tar.xz) = fbacb6416a3fd648581c956dd89bbdf6723cb3f6
-Size (libpng-1.6.2.tar.xz) = 836536 bytes
+SHA1 (libpng-1.6.3beta07.tar.xz) = 921d45e880f6389244019eb6c1d996b460ac570b
+RMD160 (libpng-1.6.3beta07.tar.xz) = 82b1120a2daf7d3bf1ac02219f3776ad48917733
+Size (libpng-1.6.3beta07.tar.xz) = 846016 bytes
SHA1 (patch-aa) = 080c890ee48923db959fcdeeb12e4a5a27845138
--gBBFr7Ir9EOA20Yy--
Home |
Main Index |
Thread Index |
Old Index