NetBSD Problem Report #48666

From wiz@yt.nih.at  Wed Mar 19 13:56:17 2014
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EDEF8A409E
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Mar 2014 13:56:16 +0000 (UTC)
Message-Id: <20140319135603.0E9F22AC0DB@yt.nih.at>
Date: Wed, 19 Mar 2014 14:56:03 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: acroread9 core dumps
X-Send-Pr-Version: 3.95

>Number:         48666
>Category:       kern
>Synopsis:       acroread9 core dumps
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 19 14:00:01 +0000 2014
>Last-Modified:  Thu Apr 09 10:45:01 +0000 2015
>Originator:     Thomas Klausner
>Release:        NetBSD 6.99.37
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


System: NetBSD 6.99.37 from Mar 18 2014
Architecture: x86_64
Machine: amd64
>Description:
I've added a pangox package so that acroread9 doesn't complain about
missing shared libraries when using suse-13.1 (will be committed after the freeze)
but there are two cases where it dumps core for me on 6.99.36/amd64
with a slightly older userland.

The first is when I open any document and go to "Document" ->
"Security" -> "Show Security Properties" and then click on the "Fonts"
tab.

The other is when I open a signed document. It says "At least one
signature requires validating". Clicking on "Signature Panel" opens a
tab on the left. Clicking on the plus in that tab gives an option
"Click to view this version". When I do that, it segfaults.

Looks like a linux32 emulation problem.
>How-To-Repeat:
See above.
>Fix:
Please!

>Audit-Trail:
From: Nicolas Joly <njoly@pasteur.fr>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/48666: acroread9 core dumps
Date: Sun, 5 Apr 2015 12:03:15 +0200

 On Wed, Mar 19, 2014 at 02:00:01PM +0000, Thomas Klausner wrote:
 > >Number:         48666
 > >Category:       kern
 > >Synopsis:       acroread9 core dumps
 [...]
 > >Description:
 > I've added a pangox package so that acroread9 doesn't complain about
 > missing shared libraries when using suse-13.1 (will be committed after the freeze)
 > but there are two cases where it dumps core for me on 6.99.36/amd64
 > with a slightly older userland.
 > 
 > The first is when I open any document and go to "Document" ->
 > "Security" -> "Show Security Properties" and then click on the "Fonts"
 > tab.

 Thomas,

 I had a look at this one, and it does not carsh anymore if i manually
 install shared-mime-info-1.1-2.1.3.i586.rpm and execute RPM
 post-install script :

   /emul/linux32/usr/bin/update-mime-database /emul/linux32/usr/share/mime

 Some suse-13.1 package should do this ...

 -- 
 Nicolas Joly

 Biology IT Center
 Institut Pasteur, Paris.

From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48666 CVS commit: pkgsrc/emulators/suse131_gtk2
Date: Thu, 9 Apr 2015 10:40:12 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Thu Apr  9 10:40:12 UTC 2015

 Modified Files:
 	pkgsrc/emulators/suse131_gtk2: DEINSTALL INSTALL Makefile distinfo

 Log Message:
 Add shared-mime-info rpm to gtk2 emulation package. This matches
 what suse121_gtk2 does and fixes the first part of PR 48666, as
 Nicolas Joly found out.

 Run update-mime-database in INSTALL, and add an appropriate cleanup
 rule to DEINSTALL.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/suse131_gtk2/DEINSTALL \
     pkgsrc/emulators/suse131_gtk2/INSTALL
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/emulators/suse131_gtk2/Makefile
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/suse131_gtk2/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: Nicolas Joly <njoly@pasteur.fr>
Subject: Re: kern/48666: acroread9 core dumps
Date: Thu, 9 Apr 2015 12:41:28 +0200

 On Sun, Apr 05, 2015 at 10:05:00AM +0000, Nicolas Joly wrote:
 >  I had a look at this one, and it does not carsh anymore if i manually
 >  install shared-mime-info-1.1-2.1.3.i586.rpm and execute RPM
 >  post-install script :
 >  
 >    /emul/linux32/usr/bin/update-mime-database /emul/linux32/usr/share/mime
 >  
 >  Some suse-13.1 package should do this ...

 Thanks for tracking this down. I've modified suse131_*gtk2 to do this,
 and can confirm that this fixes the first problem for me as well.

 The second problem is still there though.

 Let me know if you need a signed PDF for testing!
  Thomas

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.