Hi Daniel,
On Mon, Sep 12, 2005, Daniel Kobras wrote:
> Moi!
>
> On Sat, Sep 10, 2005 at 08:18:27PM -0400, Daniel Freedman wrote:
> > 'dx -script' does not seem to work for me on SMP machines, though
> > forcing dx to use only one processor allows it to succeed:
> > 'dx -processors 1 -script'
>
> Thank you for the report. Unfortunately, I wasn't able to reproduce it
> on a two processor machine. Can you please run "strace -f dx -script"
> and send in the final lines to see where it hangs? Do you use any
> external plugins for dx?
Strace final output appended at end of this email. I'm not using any
external plugins for dx...
> Regards,
>
> Daniel.
Thanks for the help, and best wishes,
Daniel
Tail of strace output:
======================
[pid 9757] old_mmap(NULL, 44296, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb725d000
[pid 9757] old_mmap(0xb7267000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0xb7267000
[pid 9757] close(3) = 0
[pid 9757] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb725c000
[pid 9757] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb725b000
[pid 9757] mprotect(0xb7867000, 4096, PROT_READ) = 0
[pid 9757] set_thread_area({entry_number:-1 -> 6, base_addr:0xb725b8e0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
[pid 9757] munmap(0xb7fdb000, 58663) = 0
[pid 9757] set_tid_address(0xb725b928) = 9757
[pid 9757] rt_sigaction(SIGRTMIN, {0xb7347370, [], SA_SIGINFO}, NULL, 8) = 0
[pid 9757] rt_sigaction(SIGRT_1, {0xb73473f0, [], SA_RESTART|SA_SIGINFO},
NULL, 8) = 0
[pid 9757] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
[pid 9757] getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024,
rlim_max=RLIM_INFINITY}) = 0
[pid 9757] _sysctl({{CTL_KERN, KERN_VERSION, 0, 20bb1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0xbffff620, 35,
(nil), 0}) = 0
[pid 9757] rt_sigaction(SIGSEGV, {0x8069230, [SEGV], SA_RESTART}, {SIG_DFL},
8) = 0
[pid 9757] brk(0) = 0x8507000
[pid 9757] brk(0x8528000) = 0x8528000
[pid 9757] open("/etc/mtab", O_RDONLY) = 3
[pid 9757] fstat64(3, {st_mode=S_IFREG|0644, st_size=723, ...}) = 0
[pid 9757] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7fe9000
[pid 9757] read(3, "/dev/hda1 / ext3 rw,errors=remou"..., 4096) = 723
[pid 9757] close(3) = 0
[pid 9757] munmap(0xb7fe9000, 4096) = 0
[pid 9757] open("/proc/stat", O_RDONLY) = 3
[pid 9757] fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
[pid 9757] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7fe9000
[pid 9757] read(3, "cpu 94869035 6063 9705171 25736"..., 1024) = 797
[pid 9757] read(3, "", 1024) = 0
[pid 9757] close(3) = 0
[pid 9757] munmap(0xb7fe9000, 4096) = 0
[pid 9757] rt_sigaction(SIGPIPE, {0x8072890, [PIPE], SA_RESTART}, {SIG_DFL},
8) = 0
[pid 9757] rt_sigaction(SIGQUIT, {0x80728f0, [QUIT], SA_RESTART}, {SIG_DFL},
8) = 0
[pid 9757] write(1, "Open Visualization Data Explorer"..., 104Open
Visualization Data Explorer
More Info at www.research.ibm.com/dx
and www.opendx.org
Version - 4.3.2) = 104
[pid 9757] write(1, "\n", 1
) = 1
[pid 9757] stat64("/tmp/P.locks", {st_mode=S_IFREG|S_ISGID|S_ISVTX|0500,
st_size=0, ...}) = 0
[pid 9757] stat64("/tmp/P.locks", {st_mode=S_IFREG|S_ISGID|S_ISVTX|0500,
st_size=0, ...}) = 0
[pid 9757] shmget(1627465825, 770088, IPC_CREAT|0666) = 88113178
[pid 9757] shmat(88113178, 0, 0) = 0xb719e000
[pid 9757] semop(32769, 0xbffff796, 1
<dx hangs here when invoked with '-script' argument...>
--
Daniel A. Freedman <[EMAIL PROTECTED]>, Graduate Fellow
Electronic Structure Calculations, LASSP, Cornell University
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]