Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2009 11:37:58 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: [not completely SOLVED] acroread8 does not print any more
Message-ID:  <49FAC2F6.9070901@gwdg.de>
In-Reply-To: <78462917@bb.ipt.ru>
References:  <49E98C97.9080602@gwdg.de> <10766735@ipt.ru>	<49EB8968.3040004@gwdg.de> <91071496@serv3.int.kfs.ru>	<49F4A031.5010500@gwdg.de> <67783565@ipt.ru>	<49F6122A.7010704@gwdg.de> <01698759@ipt.ru>	<49F75EFC.1020300@gwdg.de> <67754344@h30.sp.ipt.ru>	<49F8AA25.9080400@gwdg.de> <92717594@h30.sp.ipt.ru>	<49F8B7FD.4080304@gwdg.de> <78462917@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Just for the record: This thread was started on freebsd-current@, then 
after a few private mails Boris asked me to proceed on freebsd-emulation@


For this list I will repeat the original error message, which appears, 
when I try to print with acroread8 unter 8.0-CURRENT:

---------------------------------------------------------------
Beim Drucken ist folgender Fehler aufgetreten...
'/libexec/ld-elf.so.1: /usr/local/lib/compat/libc.so.6: version
GLIBC_2.2.4 required by /usr/local/Adobe/Reader8/DEU/
Adobe/Reader8/Reader/intellinux/lib/libgcc_s.so.1 not
defined'
---------------------------------------------------------------


On 30.04.2009 09:00 (UTC+2), Boris Samorodov wrote:
> On Wed, 29 Apr 2009 22:26:37 +0200 Rainer Hurling wrote:
>> On 29.04.2009 21:47 (UTC+2), Boris Samorodov wrote:
>>> On Wed, 29 Apr 2009 21:27:33 +0200 Rainer Hurling wrote:
>>>
>>>> Now I have two file 'ktrace.out'. A diff of the linux_kdump's of this
>>>> files gives me about 1.5 million lines of text. I have no experience
>>>> with reading such files and don't know where to look, sorry.
>>>> Do you have any hints?
>>> You should look at the difference for searching linux libraries.
>>> Particularly the one you can't get through.
>>> Do a "linux_kdump <args> | less", search for (was it you who
>>> had a problem with libc.so.6) libc.so.6 (press "/" at less output
>>> and type a string to search).
> 
>> Ok, but the usage of piping and less is well known ;-)
> 
>> I produced two textfiles with linux_kdump from ktrace.out files (first
>> one with printing ok and second one with printing failing).
> 
> 
>> 'diff ktrace_print_ok.txt ktrace_print_fails.txt | grep libc.so.6'
> 
>> gives 522 hits. Every hit exists in two lines and in two files, the
>> right count should be about 130 places. It is hard to find the right
>> one.
> 
> 
>> 'diff ktrace_print_ok.txt ktrace_print_fails.txt | grep libgcc_s.so.1'
> 
>> gives 40 hits. Some of them have double lines, about 15 places should
>> be right.
> 
>> For libgcc_s.so.1 there are much more hits in the second ktrace
>> file. This is the file with the error message I posted (see below):
> 
>> -----------------------------------------------------------------
>>>   2627 lpr      RET   read 4096/0x1000
>>>   2627 lpr      CALL  [477](0,0xe7000,0,0x21002,0xffffffff,0,0)
>>>   2627 lpr      RET   [477] 872767488/0x34056000
>>>   2627 lpr      CALL  [477](0x34056000,0xcb000,0x5,0x20012,0x3,0,0)
>>>   2627 lpr      RET   [477] 872767488/0x34056000
>>>   2627 lpr      CALL  linux_sethostname(0x34120000,0x1000,0x7)
>>>   2627 lpr      RET   linux_sethostname 0
>>>   2627 lpr      CALL  linux_sethostname(0x34120000,0x1000,0x5)
>>>   2627 lpr      RET   linux_sethostname 0
>>>   2627 lpr      CALL  [477](0x34121000,0x6000,0x3,0x12,0x3,0xcb000,0)
>>>   2627 lpr      RET   [477] 873598976/0x34121000
>>>   2627 lpr      CALL  linux_sethostname(0x34127000,0x16000,0x3)
>>>   2627 lpr      RET   linux_sethostname 0
>>>   2627 lpr      CALL  close(0x3)
>>>   2627 lpr      RET   close 0
>>>   2627 lpr      CALL  write(0x2,0xbfbfd620,0x16)
>>>   2627 lpr      GIO   fd 2 wrote 22 bytes
>>>        "/libexec/ld-elf.so.1: "
>>>   2627 lpr      RET   write 22/0x16
>>>   2627 lpr      CALL  write(0x2,0xbfbfd650,0x9b)
>>>   2627 lpr      GIO   fd 2 wrote 155 bytes
>>>        "/usr/local/lib/compat/libc.so.6: version GLIBC_2.2.4
>>> required 
>> by /usr/local/Adobe/Reader8/DEU/Adobe/Reader\
>>>       8/Reader/intellinux/lib/libgcc_s.so.1 not defined"
> 
> We need not just this error but some 100 or more previous lines -- at
> which directories libc.so.6 is searched. And compare them with
> apropriate process at the system without problems.

Printing seems to be started at line 669940 of ktrace.out. The following 
pathes for libc.so.6 are known:

   2627 lpr      NAMI 
"/usr/local/Adobe/Reader8/DEU/Adobe/Reader8/Reader/intellinux/lib/libc.so.6"
   2627 lpr      NAMI 
"/usr/local/Adobe/Reader8/DEU/Adobe/Reader8/Reader/intellinux/sidecars/libc.so.6"
   2627 lpr      NAMI  "/usr/local/lib/firefox3/libc.so.6"
   2627 lpr      NAMI  "/lib/libc.so.6"
   2627 lpr      NAMI  "/usr/lib/libc.so.6"
   2627 lpr      NAMI  "/usr/lib/compat/libc.so.6"
   2627 lpr      NAMI  "/usr/local/lib/libc.so.6"
   2627 lpr      NAMI  "/usr/local/lib/compat/pkg/libc.so.6"
   2627 lpr      NAMI  "/usr/local/grass/lib/libc.so.6"
   2627 lpr      NAMI  "/usr/local/kde4/lib/libc.so.6"
   2627 lpr      NAMI  "/usr/local/lib/compat/libc.so.6"
   2627 lpr      NAMI  "/usr/local/lib/compat/libc.so.6"

The error message appears at lines 671852 and 671873:

   2627 lpr      GIO   fd 2 wrote 155 bytes
        "/usr/local/lib/compat/libc.so.6: version GLIBC_2.2.4 required 
by /usr/local/Adobe/Reader8/DEU/Adobe/Reader\
	8/Reader/intellinux/lib/libgcc_s.so.1 not defined"

   2589 ld-2.7.so GIO   fd 28 read 178 bytes
        "/libexec/ld-elf.so.1: /usr/local/lib/compat/libc.so.6: version 
GLIBC_2.2.4 required by /usr/local/Adobe/Re\
	ader8/DEU/Adobe/Reader8/Reader/intellinux/lib/libgcc_s.so.1 not defined"


>>>   2627 lpr      RET   write 155/0x9b
>>>   2627 lpr      CALL  write(0x2,0x33c78f33,0x1)
>>>   2627 lpr      GIO   fd 2 wrote 1 byte
>>>        "
>>>        "
>>>   2627 lpr      RET   write 1
>>>   2627 lpr      CALL  exit(0x1)
>>>   2589 ld-2.7.so RET   linux_waitpid -1 errno 4 Interrupted system call
>>>   2589 ld-2.7.so PSIG  SIGCHLD caught handler=0x83b8eb0 mask=0x0 code=0x0
>>>   2589 ld-2.7.so CALL  linux_sigreturn(0xbfbf9d98)
>>>   2589 ld-2.7.so RET   linux_sigreturn JUSTRETURN
>>>   2589 ld-2.7.so CALL  linux_waitpid(0xa43,0xbfbfada4,0)
>>>   2589 ld-2.7.so RET   linux_waitpid 2627/0xa43
>>>   2589 ld-2.7.so CALL  linux_rt_sigaction(0x11,0xbfbf9fbc,0xbfbf9f30,0x8)
>>>   2589 ld-2.7.so RET   linux_rt_sigaction 0
>>>   2589 ld-2.7.so CALL  close(0x1d)
>>>   2589 ld-2.7.so RET   close 0
>>>   2589 ld-2.7.so CALL  read(0x1c,0xbfbfa884,0x400)
>>>   2589 ld-2.7.so GIO   fd 28 read 178 bytes
>>>        "/libexec/ld-elf.so.1: /usr/local/lib/compat/libc.so.6: 
>> version GLIBC_2.2.4 required by /usr/local/Adobe/Re\
>>>       ader8/DEU/Adobe/Reader8/Reader/intellinux/lib/libgcc_s.so.1
>>> not 
>> defined
>>>        "
>>>   2589 ld-2.7.so RET   read 178/0xb2
>>>   2589 ld-2.7.so CALL  munmap(0x30fd5000,0x3014)
>>>   2589 ld-2.7.so RET   munmap 0
>>>   2589 ld-2.7.so CALL  linux_select(0x4,0xbfbf9b9c,0xbfbf9b1c,0,0)
>>>   2589 ld-2.7.so RET   linux_select 1
>>>   2589 ld-2.7.so CALL  writev(0x3,0xbfbf9c7c,0x1)
>>>   2589 ld-2.7.so GIO   fd 3 wrote 16 bytes
>>>        "\^C\a\^B\0\^C\0@\^B\^N\0\^B\0\^C\0@\^B"
>>>   2589 ld-2.7.so RET   writev 16/0x10
>>>   2589 ld-2.7.so CALL  linux_select(0x4,0xbfbf9c0c,0xbfbf9b8c,0,0)
>>>   2589 ld-2.7.so RET   linux_select 1
>>>   2589 ld-2.7.so CALL  read(0x3,0x5dcd4,0x1000)
>>>   2589 ld-2.7.so GIO   fd 3 read 76 bytes
>>>        "\^A\0A\M^T\^C\0\0\0!\0\0\0\^A\0\^A\^Aÿÿÿÿ\0\0\0\0\0\^A\0\0 
>> \0\0\0003\M^@b\0003\M^@b\0\0\0é6\^A\^XB\M^T\0\0\
>>>       \0\0§\^A\0\0\0\0\0\0È\0È\0\0\0\0\0003\M^@b\0À­é6"
>>>   2589 ld-2.7.so RET   read 76/0x4c
>>>   2589 ld-2.7.so CALL  read(0x3,0x5dcd4,0x1000)
>>>   2589 ld-2.7.so RET   read -1 errno 11 Resource deadlock avoided
>>>   2589 ld-2.7.so CALL  linux_select(0x4,0xbfbf9c3c,0xbfbf9bbc,0,0)
>>>   2589 ld-2.7.so RET   linux_select 1
>>>   2589 ld-2.7.so CALL  writev(0x3,0xbfbf9d1c,0x1)
>>>   2589 ld-2.7.so GIO   fd 3 wrote 268 bytes
>> -----------------------------------------------------------------
> 
>> Do you think there is a chance to find the reason?
> 
> At least we will try.
> 
> Sorry, don't remember which OS versions and linux emulation are
> at your systems?

#uname -a
FreeBSD krabat.raven.hur 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Apr 29 
20:38:15 CEST 2009 
rhurlin@krabat.raven.hur:/usr/obj/usr/src/sys/RHURLIN  i386

#l -d linux*
linux-f8-atk-1.20.0
linux-f8-cairo-1.4.14
linux-f8-expat-2.0.1
linux-f8-fontconfig-2.4.2
linux-f8-gtk2-2.12.8
linux-f8-hicolor-icon-theme-0.5
linux-f8-jpeg-6b
linux-f8-openssl-0.9.8b
linux-f8-pango-1.18.4
linux-f8-png-1.2.22
linux-f8-scim-gtk-1.4.7
linux-f8-scim-libs-1.4.7
linux-f8-tiff-3.8.2
linux-f8-xorg-libs-7.3_2
linux-flashplugin-9.0r159
linux-nvu-1.0_1
linux-realplayer-10.0.9.809.20070726
linux_base-f8-8_11
linux_kdump-1.5_2

> BTW, please keep CC to emulation@ for archieves (it may help someone
> in the future) and in case somebody but me may help you.

See above.

Thank you again,
Rainer

> WBR



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