Operating System - HP-UX
1748123 Members
3411 Online
108758 Solutions
New Discussion юеВ

pdftk coredump on Itanium 11v3

 
Burnyo
Regular Visitor

pdftk coredump on Itanium 11v3

Dear community,

I have the following error on a hp 11v3 itanium server running pdftk:

hpproba:/work #/usr/local/bin/pdftk test1.pdf test2.pdf output test3.pdf
[HP ARIES32]: Core file for 32-bit PA-RISC application
[HP ARIES32]: /usr/local/bin/pdftk saved to /work/core.pdftk

Memory fault(coredump)

It seems to me that there is a problem with libgcj.sl. Please advise some solution how can I solve this problem!

 

I installed requlired softwares. I found some earlier posts but without usable solution. I run some programs to gather more information from the error:

hpproba:/work #gdb /usr/local/bin/pdftk -c /work/core.pdftk
Detected PA executable.
Invoking /usr/ccs/bin/gdbpa.
HP gdb 6.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11i
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2011 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 6.2 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
warning: Load module /usr/local/bin/pdftk has been stripped

(no debugging symbols found)...
Core was generated by `pdftk'.
Program terminated with signal 11, Segmentation fault.
SEGV_UNKNOWN - Unknown Error
(no debugging symbols found)...
warning: Load module /usr/local/lib/libgcj.sl has been stripped

(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
#0 0xd0bf4578 in <unknown_procedure> + 0x78 () from /usr/local/lib/libgcj.sl

warning: core file might be corrupted.


hpproba:/work #uname -a
HP-UX hpproba B.11.31 U ia64 3226170911 unlimited-user license


hpproba:/work #SDKROOT=/usr/ccs/pa chatr /usr/local/bin/pdftk
/usr/local/bin/pdftk:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path disabled second Not Defined
shared library list:
dynamic /usr/local/lib/libgcj.sl
dynamic /usr/lib/libc.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
explicit unloading enabled
runtime checks disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references enabled
shared library private mapping disabled
shared library text merging disabled

hpproba:/work #swlist | grep libgcc
libgcc 4.2.3 libgcc
hpproba:/work #swlist | grep libiconv
libiconv 1.14 libiconv
hpproba:/work #swlist | grep zlib
zlib 1.2.8 zlib
hpproba:/work #swlist | grep gettext
gettext 0.19.7 gettext

Thank you for your attention,

Imre

 

 

 

 

 

 

8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: pdftk coredump on Integrity 11.31

>I found some earlier posts but without usable solution.

 

Where?

 

>#0 0xd0bf4578 in <unknown_procedure> + 0x78 /usr/local/lib/libgcj.sl

 

Not much you can do about it since it is stripped.

You need to build it from source and port it to Integrity and compile with -g.

Burnyo
Regular Visitor

Re: pdftk coredump on Integrity 11.31

Dear Dennis,

Thank you for your quick answer! I've found the following links with exactly the same problem :

  http://unix.ittoolbox.com/groups/technical-functional/unixadmin-l/pdftk-running-issue-in-hpux-5169387

  https://scn.sap.com/thread/3425436

I downloaded libgcj from here:

  http://hpux.connect.org.uk/hppd/hpux/Gnu/libgcc-4.2.3/

I suspect now that this source damaged somehow (it's a gzipped depot and I could unzip it without any problem). I try to analyse this library.

Regards,

Imre

Burnyo
Regular Visitor

Re: pdftk coredump on Integrity 11.31

Dear Dennis,

Thank you for  your quick answer! I've found these posts:

http://unix.ittoolbox.com/groups/technical-functional/unixadmin-l/pdftk-running-issue-in-hpux-5169387

https://scn.sap.com/thread/3425436

 

I downloaded libgcj from this link:

http://hpux.connect.org.uk/hppd/hpux/Gnu/libgcc-4.2.3/

I try to analyse this library.

Regards,

Imre

 

 

Burnyo
Regular Visitor

Re: pdftk coredump on Integrity 11.31

Dear Dennis,

Thank you for your answer! I run tusc to trace the program. Does it suggest anything to you?

sigprocmask(SIG_SETMASK, 0x7fffdf80, NULL) ............................................................................................................................................................................ = 0
sigprocmask(SIG_SETMASK, 0x7fffdf40, NULL) ............................................................................................................................................................................ = 0
sigprocmask(SIG_SETMASK, 0x7fffdf50, NULL) ............................................................................................................................................................................ = 0
sigprocmask(SIG_SETMASK, 0x7fffdf70, NULL) ............................................................................................................................................................................ = 0
sigprocmask(SIG_SETMASK, 0x7fffdf80, NULL) ............................................................................................................................................................................ = 0
  Received signal 11, SIGSEGV, in user mode, [caught], partial siginfo
    Siginfo: si_code: SEGV_MAPERR, faulting address: 0x20000000400f0000, si_errno: 0
     PC: 00000001000000a0.0             break.m 0x16000
mprotect(0x400f0000, 0, 0x10) ......................................................................................................................................................................................... ERR#12 ENOMEM
mmap(0x7f63a000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED_ARIES, -1, 0) ....................................................................................................................... = 0x7f63a000
sigprocmask(SIG_SETMASK, 0x7fffdff0, NULL) ............................................................................................................................................................................ = 0
sigaction(SIGSEGV, 0x7fffdf80, NULL) .................................................................................................................................................................................. = 0
sigprocmask(SIG_SETMASK, 0x7fffdf90, NULL) ............................................................................................................................................................................ = 0
utssys(0x7feb4590, 60, 0) ............................................................................................................................................................................................. = 0
utssys(0x7feb45d0, 2056, 8) ........................................................................................................................................................................................... = 0
coreadm(1, 0, NULL, 0x7fffd770) ....................................................................................................................................................................................... = 0
coreadm(1, 24504, NULL, 0x7fffdb80) ................................................................................................................................................................................... = 0
sysfs(GETFSIND, 0xc1a67af8, 0x1227) ................................................................................................................................................................................... = 7
lstat64(".", 0x7fffa5b0) .............................................................................................................................................................................................. = 0
open("../", O_RDONLY|0x200000, 0) ..................................................................................................................................................................................... = 4
fstat64(4, 0x7fffa630) ................................................................................................................................................................................................ = 0
fcntl(4, F_SETFD, 0) .................................................................................................................................................................................................. = 0
getdents(4, 0x7b02c040, 8192) ......................................................................................................................................................................................... = 664
close(4) .............................................................................................................................................................................................................. = 0
open("../../", O_RDONLY|0x200000, 0) .................................................................................................................................................................................. = 4
fstat64(4, 0x7fffa630) ................................................................................................................................................................................................ = 0
fcntl(4, F_SETFD, 0) .................................................................................................................................................................................................. = 0
close(4) .............................................................................................................................................................................................................. = 0
getrlimit(RLIMIT_CORE, 0x7fffd760) .................................................................................................................................................................................... = 0
ulimit(UL_GETFSIZE, 0) ................................................................................................................................................................................................ = 4194303
open("/work/core.pdftk", O_RDWR|O_CREAT|O_TRUNC, 0600) .................................................................................

 

Regards,

Imre

Dennis Handly
Acclaimed Contributor

Re: pdftk coredump on Integrity 11.31

> Thank you for  your quick answer! I've found these posts:

 

Yes, looks like the same problem.

 

>I run tusc to trace the program. Does it suggest anything to you?

 

No, it has even less info.

ranganath ramachandra
Esteemed Contributor

Re: pdftk coredump on Itanium 11v3

An IA64 native version of pdftk is available from the porting center here, you should try running that instead.

 
--
ranga
[i work for hpe]

Accept or Kudo

villium
New Member

Re: pdftk coredump on Itanium 11v3

Hi All,

Sorry to bump up this old thread. I face the same problem and same error message too in my server even after using depot file for itanium referred by Ranganath above (http://hpux.connect.org.uk/hppd/hpux/Text/pdftk-2.02/).

Anyone here has solved the solution and mind sharing it? I am quite new in unix/linux.

Thank you.

Burnyo
Regular Visitor

Re: pdftk coredump on Itanium 11v3

Hi,

I started this thread but unfortunately don't have solution yet to this problem. I tried it on PA-RISC too (it is originally a PA-RISC package and runs under ARIES emulation on Itanium), but it produces the same error so I think it is a corrupted program.