From nobody@FreeBSD.org  Mon Sep 12 22:09:48 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AE5DB1065677
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2011 22:09:48 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9E22F8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2011 22:09:48 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8CM9m86016777
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2011 22:09:48 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8CM9mfT016776;
	Mon, 12 Sep 2011 22:09:48 GMT
	(envelope-from nobody)
Message-Id: <201109122209.p8CM9mfT016776@red.freebsd.org>
Date: Mon, 12 Sep 2011 22:09:48 GMT
From: Root User <leftfoot@siu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: print/acroread9 runtime fails with "failed to load module  canberra-gtk-module"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160688
>Category:       ports
>Synopsis:       print/acroread9 runtime fails with "failed to load module  canberra-gtk-module"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    hrs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 12 22:10:11 UTC 2011
>Closed-Date:    
>Last-Modified:  Tue Sep 13 03:20:07 UTC 2011
>Originator:     Root User
>Release:        AMD-64
>Organization:
>Environment:
FreeBSD localhost 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Sep  2 14:24:35 CDT 2011     root@localhost:/usr/obj/usr/src/sys/GENERIC  amd64

linux-f10-atk-1.24.0
linux-f10-cairo-1.8.0_1
linux-f10-expat-2.0.1
linux-f10-fontconfig-2.6.0
linux-f10-gdk-pixbuf-0.22.0
linux-f10-gtk2-2.14.7_3
linux-f10-jpeg-6b
linux-f10-libxml2-2.7.3_2
linux-f10-pango-1.28.3
linux-f10-png-1.2.37_1
linux-f10-tiff-3.8.2
linux-f10-xorg-libs-7.4_1
linux-libgtkembedmoz-0.0.20100806
linux_base-f10-10_4


>Description:
Execute acroread (from command line):

1) acroread window comes up and shortly goes away
2) following messages are displayed

Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: No such file or directory
terminate called after throwing an instance of 'RSException'


- - - - -

ktrace on acroread9 shows:

 66672 acroread STRU  struct stat {dev=86, ino=3866252, mode=drwxr-xr-x , nlink=2, uid=0, gid=0, rdev=15456117, atime=1315863581, stime=1315862481, ctime=1315862481, birthtime=1315862481, size=512, blksize=16384, blocks=4, flags=0x0 }
 66672 acroread RET   linux_stat64 0
 66672 acroread CALL  linux_open(0xffffc210,0,0)
 66672 acroread NAMI  "/compat/linux/usr/lib/libcanberra-gtk-module.so"
 66672 acroread NAMI  "/usr/lib/libcanberra-gtk-module.so"
 66672 acroread RET   linux_open -1 errno 2 No such file or directory
 66672 acroread CALL  linux_stat64(0xffffc210,0xffffc2c4,0x2973bfd0)
 66672 acroread NAMI  "/compat/linux/usr/lib"
 66672 acroread NAMI  "/compat/linux"
 66672 acroread NAMI  "/compat/linux/usr/lib"
 66672 acroread STRU  struct stat {dev=86, ino=3866248, mode=drwxr-xr-x , nlink=15, uid=0, gid=0, rdev=15461632, atime=1315863692, stime=1315862764, ctime=1315862764, birthtime=1315862481, size=6656, blksize=16384, blocks=16, flags=0x0 }
 66672 acroread RET   linux_stat64 0
 66672 acroread CALL  munmap(0x2c0a9000,0x3011)
 66672 acroread RET   munmap 0
 66672 acroread CALL  linux_open(0x9802fd0,0x8000,0x1b6)
 66672 acroread NAMI  "/compat/linux/usr/lib/charset.alias"
 66672 acroread NAMI  "/usr/lib/charset.alias"
 66672 acroread RET   linux_open -1 errno 2 No such file or directory
 66672 acroread CALL  linux_brk(0x9836000)
 66672 acroread RET   linux_brk 159604736/0x9836000
 66672 acroread CALL  linux_brk(0x982e000)
 66672 acroread RET   linux_brk 159571968/0x982e000
 66672 acroread CALL  write(0x2,0x9801be0,0x8f)
 66672 acroread GIO   fd 2 wrote 143 bytes
       "Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-m\
	odule.so: cannot open shared object file: No such file or directory
       "

---

followed by gobs of "No such file or directory" search responses for "/compat/linux/usr/lib/gtk-2.0/2.10.0/modules/libgnomesegvhandler.so" (and derivatives).


- - - - -

http://www.archlinux.org/packages/extra/x86_64/libcanberra/

has an x86-64 version of Linux libcanberra that includes a "canberra-gtk-module.so", but

a) it lists two optional pre-reqs for two different sound drivers
b) I do not know how to proceed from here (partly as I was unable to connect to their mirror download site)
c) there is no Linux "libcanberra" FBSD port

>How-To-Repeat:

>Fix:
Install x85-64 Linux libcanberra package?

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->hrs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 12 22:10:22 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160688 

From: Hiroki Sato <hrs@FreeBSD.org>
To: leftfoot@siu.edu
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/160688: print/acroread9 runtime fails with "failed to
 load module canberra-gtk-module"
Date: Tue, 13 Sep 2011 12:13:27 +0900 (JST)

 ----Security_Multipart(Tue_Sep_13_12_13_27_2011_208)--
 Content-Type: Text/Plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Root User <leftfoot@siu.edu> wrote
   in <201109122209.p8CM9mfT016776@red.freebsd.org>:
 
 le> Execute acroread (from command line):
 le>
 le> 1) acroread window comes up and shortly goes away
 le> 2) following messages are displayed
 le>
 le> Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
 le> Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: No such file or directory
 
  I think these have nothing to do with the acroread9 crash.
 
 le> terminate called after throwing an instance of 'RSException'
 
  Did you do the following (this should be displayed after the
  installation)?
 
 ----
 Before using Adobe Reader 9, linux_adobe.ko kernel module has to be loaded.
 It is automatically loaded by /usr/local/etc/rc.d/linux_adobe script on
 boot time.  You can manually load it by
 
  # /usr/local/etc/rc.d/linux_adobe start
 
 without rebooting.
 ----
 
 -- Hiroki
 
 ----Security_Multipart(Tue_Sep_13_12_13_27_2011_208)--
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (FreeBSD)
 
 iEYEABECAAYFAk5uylcACgkQTyzT2CeTzy0b4gCfeC8qW+yR0tDM30HBuJVTPqih
 kuEAoIizVSQHkqP0s1fs3WqKXzDeAESS
 =Ex0w
 -----END PGP SIGNATURE-----
 
 ----Security_Multipart(Tue_Sep_13_12_13_27_2011_208)----
>Unformatted:
