On Tue, 7 Jan 2003 13:18:29 -0800
Todd Lyons <[EMAIL PROTECTED]> wrote:

> Yes, I didn't have the presence of mind either to strace it before I
> killed it.  Anybody else who sees this might be able to do it and see
> what it's hanging on.

I did the build without the post script but that did not help.

Here is portion of strace for 1 rpm 

[root@localhost gstreamer-plugins]# strace rpm -Uvh
gstreamer-aalib-0.5.1-1.1plf.i586.rpm execve("/bin/rpm", ["rpm", "-Uvh",
"gstreamer-aalib-0.5.1-1.1plf.i586.rpm"], [/* 71 vars */]) = 0
uname({sys="Linux", node="localhost.localdomain", ...}) = 0 fcntl64(0,
F_GETFD)                     = 0 fcntl64(1, F_GETFD)                    
= 0 fcntl64(2, F_GETFD)                     = 0
geteuid32()                             = 0
getuid32()                              = 0
getegid32()                             = 0
getgid32()                              = 0
getrlimit(0x3, 0xbfffe958)              = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) =
0 getpid()                                = 27098
rt_sigaction(SIGRTMIN, {0x8141390, [], SA_RESTORER, 0x814d508}, NULL, 8)
= 0 rt_sigaction(SIGRT_1, {0x8141290, [], SA_RESTORER, 0x814d508}, NULL,
8) = 0 rt_sigaction(SIGRT_2, {0x8141400, [], SA_RESTORER, 0x814d508},
NULL, 8) = 0

----edit---

chdir("/")                              = 0
chroot("/")                             = 0
lstat64("/usr/lib/gstreamer-0.5/libgstaasink.so", {st_mode=S_IFREG|0755,
st_size=15476, ...}) = 0 stat64("/", {st_mode=S_IFDIR|0755, st_size=536,
...}) = 0 stat64("/var/", {st_mode=S_IFDIR|0755, st_size=552, ...}) = 0
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=560, ...}) = 0
time(NULL)                              = 1041975890
open("/var/tmp/rpm-tmp.94084", O_RDWR|O_CREAT|O_TRUNC|O_EXCL, 0666) = 9
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
gettimeofday({1041975890, 852151}, NULL) = 0
stat64("/var/tmp/rpm-tmp.94084", {st_mode=S_IFREG|0644, st_size=0, ...})
= 0 fstat64(9, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x400df000 select(10, NULL, [9], NULL, {2, 0})     = 1 (out
[9], left {2, 0}) gettimeofday({1041975890, 852391}, NULL) = 0
write(9, "/usr/bin/gst-register --gst-mask"..., 124) = 124
gettimeofday({1041975890, 852486}, NULL) = 0
gettimeofday({1041975890, 852506}, NULL) = 0
close(9)                                = 0
gettimeofday({1041975890, 852542}, NULL) = 0
gettimeofday({1041975890, 852564}, NULL) = 0
gettimeofday({1041975890, 852580}, NULL) = 0
munmap(0x400df000, 8192)                = 0
dup(1)                                  = 9
gettimeofday({1041975890, 852649}, NULL) = 0
fork()                                  = 27099
wait4(27099, 


Here it hangs and process has to be killed.


If needed/wanted I can attach the full strace.


    Charles

----------------
The bureaucracy is expanding to meet the needs of an expanding bureaucracy.
----------------------
Mandrake Linux 9.1
Kernel- 2.4.20-2mdk
----------------------

Reply via email to