about int_malloc stalling

xiazy xiazy at necas.nec.com.cn
Wed Nov 17 11:14:56 UTC 2004


hello Greetings, to you all of you


We have a problem:

Can the binary file that compiled on Redhat7.2 be uesd on Red Hat Enterprise
Linux AS (V3.0) ?

   we have compiled our sources on Redhat7.2 , the binary file could be used
on
Red Hat Enterprise Linux AS (V2.0). But , when we run it on AS(V3.0), after
main process forking child process , child process which be forked became
stalling.
the bottom of stack is "int_malloc" (child process started by "execl" )

(1) ldd our binary file result show that:
     AS(3.0) libc.so link to /lib/tls/libc.so.6
     libc.so.6 => /lib/tls/libc.so.6 (0xb6e65000)

     AS(2.0) libc.so link to /lib/i686/libc.so.6
     ibc.so.6 => /lib/i686/libc.so.6 (0x40661000)

     Redhat 7.2 libc.so link to /lib/i686/libc.so.6
     libc.so.6 => /lib/i686/libc.so.6 (0x4065f000)

     Does /lib/tls/libc.so.6 lead int_malloc to stall?

(2) what different between "/lib/tls/libc.so.6"
     and  "/lib/i686/libc.so.6" ?

(3) stalling stack on AS3

#0  0xb6ed6b2a in _int_malloc () from /lib/tls/libc.so.6
#1  0xb6ed5e7d in malloc () from /lib/tls/libc.so.6
#2  0xb6ec4f93 in __fopen_internal () from /lib/tls/libc.so.6
#3  0xb6ec505e in fopen@@GLIBC_2.1 () from /lib/tls/libc.so.6
#4  0x08052474 in rp_conf_c::read_last_time (this=0x82127f8,
    file_name=0x808cbd8
"/etc/opt/nec/eds/.replicad.last.XIA11344-344.1_backup", buffer=0xbfffe77c)
    at rp_conf.cpp:170

our source begin on #4

(4) AS 3 enviroment , Update 3 be used
uname -a
Linux hostname 2.4.21-20.EL #1 Wed Aug 18 20:58:25 EDT 2004 i686 i686 i386
GNU/Linux

Thanks in advance.

-ZhenyuXia






More information about the redhat-list mailing list