Invalid relocation for xpdf

Tobias Zawada i_inbox@tn-home.de
Fri Apr 15 08:35:00 GMT 2016


Hello all,
first of all thanks for cygwin! It is very useful to me.

I get the runtime errors of the following kind for some time now:

Cygwin runtime failure: /usr/bin/xpdf.exe: Invalid relocation.  Offset
0x2f7fdbad9 at address 0x100494523 doesn't fit into 32 bits

Killing all cygwin processes and running rebaseall from dash does not help.

I've installed the source package for xpdf and compiled it. This version runs
fine (from /usr/local/bin/xpdf). So I have a workaround and it is not a blocker
for me. Thank you for looking at the problem though.

The strace output of the binary shipped with cygwin:

$ strace /usr/bin/xpdf.exe
--- Process 9468 created
--- Process 9468 loaded C:\Windows\System32\ntdll.dll at 0000000077940000
--- Process 9468 loaded C:\Windows\System32\kernel32.dll at 0000000077820000
--- Process 9468 loaded C:\Windows\System32\KernelBase.dll at 000007FEFD890000
--- Process 9468 loaded C:\cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 9468 loaded C:\cygwin64\bin\cygfreetype-6.dll at 00000003F2F60000
--- Process 9468 loaded C:\cygwin64\bin\cygbz2-1.dll at 00000003F4350000
--- Process 9468 loaded C:\cygwin64\bin\cygpng16-16.dll at 00000003E3850000
--- Process 9468 loaded C:\cygwin64\bin\cygz.dll at 00000003E0480000
--- Process 9468 loaded C:\cygwin64\bin\cygpaper-1.dll at 00000003E3E60000
--- Process 9468 loaded C:\cygwin64\bin\cygt1-5.dll at 00000003E1420000
--- Process 9468 loaded C:\cygwin64\bin\cygX11-6.dll at 00000003F89A0000
--- Process 9468 loaded C:\cygwin64\bin\cygxcb-1.dll at 00000003E0730000
--- Process 9468 loaded C:\cygwin64\bin\cygXau-6.dll at 00000003F8970000
--- Process 9468 loaded C:\cygwin64\bin\cygXdmcp-6.dll at 00000003F8860000
--- Process 9468 loaded C:\cygwin64\bin\cygXm-4.dll at 00000003F8550000
--- Process 9468 loaded C:\cygwin64\bin\cygfontconfig-1.dll at 00000003F30D0000
--- Process 9468 loaded C:\cygwin64\bin\cygexpat-1.dll at 00000003F35F0000
--- Process 9468 loaded C:\cygwin64\bin\cyggcc_s-seh-1.dll at 00000003F2F10000
--- Process 9468 loaded C:\cygwin64\bin\cygiconv-2.dll at 00000003EFDB0000
--- Process 9468 loaded C:\cygwin64\bin\cygjpeg-8.dll at 00000003E6E70000
--- Process 9468 loaded C:\cygwin64\bin\cygXext-6.dll at 00000003F8840000
--- Process 9468 loaded C:\cygwin64\bin\cygXft-2.dll at 00000003F87D0000
--- Process 9468 loaded C:\cygwin64\bin\cygXrender-1.dll at 00000003F84A0000
--- Process 9468 loaded C:\cygwin64\bin\cygXmu-6.dll at 00000003F8530000
--- Process 9468 loaded C:\cygwin64\bin\cygXt-6.dll at 00000003F8430000
--- Process 9468 loaded C:\cygwin64\bin\cygICE-6.dll at 00000003FFA60000
--- Process 9468 loaded C:\cygwin64\bin\cygSM-6.dll at 00000003F8B40000
--- Process 9468 loaded C:\cygwin64\bin\cyguuid-1.dll at 00000003E0D80000
--- Process 9468 loaded C:\cygwin64\bin\cygintl-8.dll at 00000003E71D0000
--- Process 9468 loaded C:\cygwin64\bin\cygXpm-4.dll at 00000003F8500000
--- Process 9468 loaded C:\cygwin64\bin\cygstdc++-6.dll at 00000003E1960000
    1       1 [main] xpdf (9468) **********************************************
   64      65 [main] xpdf (9468) Program name: C:\cygwin64\bin\xpdf.exe (windows
pid 9468)
   17      82 [main] xpdf (9468) OS version:   Windows NT-6.1
   13      95 [main] xpdf (9468) **********************************************
  158     253 [main] xpdf (9468) sigprocmask: 0 = sigprocmask (0, 0x0,
0x18031CBA8)
  592     845 [main] xpdf 9468 open_shared: name shared.5, n 5, shared
0x180030000 (wanted 0x180030000), h 0x68, *m 6
   25     870 [main] xpdf 9468 user_heap_info::init: heap base 0x600000000, heap
top 0x600000000, heap size 0x20000000 (536870912)
   25     895 [main] xpdf 9468 open_shared: name
S-1-5-21-3623095068-3907496043-3192980834-2821.1, n 1, shared 0x180020000
(wanted 0x180020000), h 0x64, *m 6
   37     932 [main] xpdf 9468 user_info::create: opening user shared for
'S-1-5-21-3623095068-3907496043-3192980834-2821' at 0x180020000
   15     947 [main] xpdf 9468 user_info::create: user shared version AB1FCCE8
   25     972 [main] xpdf 9468 fhandler_pipe::create: name
\\.\pipe\cygwin-e022582115c10879-9468-sigwait, size 11440, mode
PIPE_TYPE_MESSAGE
   60    1032 [main] xpdf 9468 fhandler_pipe::create: pipe read handle 0x7C
   13    1045 [main] xpdf 9468 fhandler_pipe::create: CreateFile: name
\\.\pipe\cygwin-e022582115c10879-9468-sigwait
   32    1077 [main] xpdf 9468 fhandler_pipe::create: pipe write handle 0x80
   19    1096 [main] xpdf 9468 dll_crt0_0: finished dll_crt0_0 initialization
--- Process 9468 thread 11928 created
 7555    8651 [sig] xpdf 9468 wait_sig: entering ReadFile loop, my_readsig 0x7C,
my_sendsig 0x80
  149    8800 [main] xpdf 9468 time: 1460706888 = time(0x0)
   52    8852 [main] xpdf 9468 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\cygwin64\bin, 0x0, no-add-slash)
   62    8914 [main] xpdf 9468 normalize_win32_path: C:\cygwin64\bin =
normalize_win32_path (C:\cygwin64\bin)
   52    8966 [main] xpdf 9468 mount_info::conv_to_posix_path: /usr/bin =
conv_to_posix_path (C:\cygwin64\bin)
   67    9033 [main] xpdf 9468 sigprocmask: 0 = sigprocmask (0, 0x0,
0x600018128)
  126    9159 [main] xpdf 9468 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\cygwin64\bin\xpdf.exe, 0x10000000, no-add-slash)
   32    9191 [main] xpdf 9468 normalize_win32_path: C:\cygwin64\bin\xpdf.exe =
normalize_win32_path (C:\cygwin64\bin\xpdf.exe)
   14    9205 [main] xpdf 9468 mount_info::conv_to_posix_path: /usr/bin/xpdf.exe
= conv_to_posix_path (C:\cygwin64\bin\xpdf.exe)
   23    9228 [main] xpdf 9468 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\cygwin64\bin\xpdf.exe, 0x10000000, no-add-slash)
   35    9263 [main] xpdf 9468 normalize_win32_path: C:\cygwin64\bin\xpdf.exe =
normalize_win32_path (C:\cygwin64\bin\xpdf.exe)
   22    9285 [main] xpdf 9468 mount_info::conv_to_posix_path: /usr/bin/xpdf.exe
= conv_to_posix_path (C:\cygwin64\bin\xpdf.exe)
Cygwin runtime failure: /usr/bin/xpdf.exe: Invalid relocation.  Offset
0x2f7fdbad9 at address 0x100494523 doesn't fit into 32 bits
   55    9340 [main] xpdf 9468 getpid: 9468 = getpid()
 1021   10361 [main] xpdf 9468 open_shared: name cygpid.8440, n 8440, shared
0x30000 (wanted 0x0), h 0xA4, *m 6
  101   10462 [main] xpdf 9468 open_shared: name cygpid.8656, n 8656, shared
0x30000 (wanted 0x0), h 0xA4, *m 6
   14   10476 [main] xpdf 9468 pinfo::init: execed process windows pid 8656,
cygwin pid 8616
   16   10492 [main] xpdf 9468 open_shared: name cygpid.8616, n 8616, shared
0x30000 (wanted 0x0), h 0xA4, *m 6
  103   10595 [main] xpdf 9468 open_shared: name cygpid.11304, n 11304, shared
0x30000 (wanted 0x0), h 0xA4, *m 6
   84   10679 [main] xpdf 9468 open_shared: name cygpid.3416, n 3416, shared
0x30000 (wanted 0x0), h 0xA4, *m 6
1997014 2007693 [main] xpdf 9468 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\cygwin64\bin\xpdf.exe, 0x0, no-add-slash)
  136 2007829 [main] xpdf 9468 normalize_win32_path: C:\cygwin64\bin\xpdf.exe =
normalize_win32_path (C:\cygwin64\bin\xpdf.exe)
   90 2007919 [main] xpdf 9468 mount_info::conv_to_posix_path: /usr/bin/xpdf.exe
= conv_to_posix_path (C:\cygwin64\bin\xpdf.exe)
--- Process 9468 thread 4516 exited with status 0xe0000269
--- Process 9468 exited with status 0xe0000269


The output of `cygcheck -srv` is attached as "cygcheck.out".

Best regards,
Tobias Zawada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 294443 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160415/f2e5020b/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list