acroread won't start: "/usr/bin/acroread must be executed from the startup script."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Medibuntu |
Invalid
|
Undecided
|
Unassigned | ||
acroread (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
peter@tesla:~$ acroread
/usr/bin/acroread must be executed from the startup script.
peter@tesla:~$ echo $?
1
This is 9.1.0-7jaunty2+
I haven't used acroread for a long time, and this is the first time I've tried since upgrading from v8.something. I don't remember ever seeing this prob. before, though.
ltrace output reveals that acroread prints the error message and exits right after a stat of "/opt/Adobe/
and from
$ ltrace -f -S -o acro.trace /bin/bash /usr/bin/acroread
... startup stuff ...
12596 _ZNSsC1Ev(
12596 __cxa_atexit(
12596 getenv(
12596 XInitThreads(
12596 pthread_
12596 pthread_
12596 pthread_
12596 malloc(88) = 0x0a8e3780
12596 pthread_
12596 pthread_
12596 pthread_
12596 malloc(9160) = 0x0a8e37e0
12596 memset(0x0a8e37e0, '\000', 9160) = 0x0a8e37e0
12596 pthread_
12596 pthread_
12596 pthread_
12596 pthread_
12596 pthread_
12596 pthread_
12596 _Znwj(24, 0xa8e3780, 0xa8e37e0, 0x40000001, 0xffd1eb3c) = 0xa8e5bb0
12596 memcpy(0x0a8e5bb4, "", 16) = 0x0a8e5bb4
12596 pthread_
12596 malloc(172) = 0x0a8e5bd0
12596 memset(0x0a8e5bd0, '\000', 172) = 0x0a8e5bd0
12596 pthread_
12596 _Znwj(28, 0xa8e37e0, 0xa8e37e0, 0xa8e37e0, 0xffd1eb3c) = 0xa8e5c80
12596 pthread_
12596 pthread_
12596 pthread_
12596 pthread_
12596 pthread_
12596 pthread_
12596 pthread_
12596 _Znwj(172, 0xa8e37e0, 0xffd1eb48, 0x8563a8d, 0) = 0xa8e5ca0
12596 memcpy(0x0a8e5ca4, "", 16) = 0x0a8e5ca4
12596 pthread_
12596 _Znwj(16, 0xa8e5ca0, 0xa8e5ca0, 0xffd1eae8, 0x8a0a67b) = 0xa8e5d50
... repeated x 40 or so
12596 _Znwj(16, 0xa8e5ca0, 0xa8e5ca0, 0xffd1eae8, 0x8a0a67b) = 0xa8e6038
**** here's the interesting part ******
12596 getenv("ACRO_ARG0") = "/usr/bin/acroread"
12596 getenv(
12596 getenv(
12596 __xstat(3, "/opt/Adobe/
12596 SYS_stat64(
12596 <... __xstat resumed> ) = -1
12596 fprintf(0xf656b560, "%s must be executed from the sta"..., "/usr/bin/acroread" <unfinished ...>
12596 SYS_write(2, "/usr/bin/acroread must be execut"..., 60) = 60
12596 <... fprintf resumed> ) = 60
12596 exit(1 <unfinished ...>
12596 _ZNSsD1Ev(
... destructors ...
12596 SYS_exit_group(1 <no return ...>
12596 +++ exited (status 1) +++
So maybe there's something wrong with the env vars set by the startup script, and the binary doesn't think it's been run from the script? It bails right after checking a path built from ACRO_* env vars. That directory does exist.
Wait, maybe there's a bug in ia32-libs, since the system call stat64 succeeded (return 0), but the __xstat returned -1. That doesn't look right, if ltrace is correct. Or maybe xstat is checking something in the struct stat.
ProblemType: Bug
Architecture: amd64
CrashDB: medibuntu
DistroRelease: Ubuntu 9.04
Package: acroread 9.1.0-7jaunty2+
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_CA.utf8
LANGUAGE=en_CA:en
SourcePackage: acroread
Uname: Linux 2.6.28-14-tesla x86_64
UnreportableReason: This is not a genuine Ubuntu package
This package is now provided in "Canonical partner" repository, even for amd64. Could you retry with the 9.1.2-3jaunty1 version?