Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2005 11:13:34 +0200 (CEST)
From:      Frank Altpeter <frank.altpeter@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79550: print/acroread7 fails to open files when $PWD is $HOME
Message-ID:  <200504050913.j359DYgD001684@pegasus.dyndns.info>
Resent-Message-ID: <200504050920.j359K2cL069433@freefall.freebsd.org>

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

>Number:         79550
>Category:       ports
>Synopsis:       print/acroread7 fails to open files when $PWD is $HOME
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 05 09:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Frank Altpeter
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:
	System: FreeBSD pegasus.dyndns.info 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #28: Fri Feb 11 17:26:41 CET 2005 root@pegasus.default.local:/usr/obj/usr/src/sys/kernconf.pegasus i386
	Shell: zsh-4.2.4
	Acroread: acroread7-7.0.0


>Description:
	I just hit a very strange bug ... when trying to open any PDF
	document with acroread7 from the homedirectory, it fails with an
	error message 'No such file or directory'. If changing the
	working directory to somewhere else and calling the same file,
	it works fine.
	
	Example:

	freddy@pegasus:~ 0% /usr/local/bin/acroread7 cvs/data/acroread/ds_networker.pdf
	(acroread:1527): GLib-CRITICAL **: file gconvert.c: line 498 (g_convert): assertion `str != NULL' failed

	==> fails

	freddy@pegasus:~ 0% cd cvs
	freddy@pegasus:~/cvs 0% /usr/local/bin/acroread7 data/acroread/ds_networker.pdf
	==> works

	Tested with almost any current PDF document format (i.e. 1.3, 1.4, 1.5).

>How-To-Repeat:
	Install print/acroread7, then chdir to $HOME, fetch some PDF
	file and try to open from $HOME as "acroread filename", create
	$HOME/tmp, chdir to tmp and try to open same file as "acroread ../filename".
	
>Fix:

	


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



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