Can't run adobe-reader

I am able to install adobe-reader through the nixpkgs 22.05 release flake, and the acroread application launches just fine, but when I try to load a PDF to view, it crashes immediately.

Has anyone run into this? Any ideas on how to fix it?

UPDATE: I forgot to explain why I am trying to use Adobe Reader rather than one of the other excellent available solutions. I have one of these obnoxious “If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document” PDF files which can be opened by Adobe Reader but not much else. So I may be inside an XY problem: X is “I want to run Adobe Reader” and Y is “I need to open one of these dumb PDF files”.

Can you run it from a terminal and see if it prints some error?

Great idea, but sadly… no output at all on the command line, and there’s no verbose flag either :confused:

Then try strace. Maybe you/we can make something out of that.

1 Like

Here are the last few lines of the output from strace:

mmap2(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xedc54000
mremap(0xedc54000, 528384, 1052672, MREMAP_MAYMOVE) = 0xedb53000
mremap(0xedb53000, 1052672, 2101248, MREMAP_MAYMOVE) = 0xed952000
mremap(0xed952000, 2101248, 4198400, MREMAP_MAYMOVE) = 0xed0d1000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x18} ---
getpid()                                = 743001
rt_sigaction(SIGABRT, {sa_handler=SIG_DFL, sa_mask=[ABRT], sa_flags=SA_RESTART}, {sa_handler=0x850aafa, sa_mask=[], sa_flags=0}, 8) = 0
exit_group(1)                           = ?
+++ exited with 1 +++

A segfault via an (almost certainly illegal) access at 0x18? That sounds pretty bad.

The full log is 30k lines long, but the first reference to the file I wanted to open occurs ~27k lines in. Let me know if you’d like to see more of this log and I can try to post it somewhere.

I thought it fails at something easy like accessing a path or something.