Hello,
I've been trying to get FvwmCommand to work but to no avail.
I load FvwmCommandS from my InitFunction in .fvwm2rc. But it refuses to
work returning "dead pipe message": "FvwmCommandS: dead pipe".
I've tried both from source and fvwm2-2.2-5.i386.rpm but both ended up
same.
Here's little ptrace from running forced FvwmCommandS 1 1 1 1 1, plus i've
added few printfs.
Any idea what might be causing this?
I'm running Linux 2.2.6, glibc-2.1.1-5 and the rest..
atexit(0x4000a180) = 0
__libc_init_first(7, 0xbffffb3b, 0xbffffb4a, 0xbffffb4c, 0xbffffb4e) = 0x4000a180
__register_frame_info(0x0804a8fc, 0x0804aa80, 0xbffff9b8, 0x08048645, 0x40012b28) = 0x40103640
atexit(0x08049610) = 0
signal(13, 0x080489d0) = NULL
signal(2, 0x080489f4) = NULL
signal(3, 0x080489f4) = NULL
signal(1, 0x080489f4) = NULL
signal(15, 0x080489f4) = NULL
__strtol_internal("1", NULL, 10) = 1
__strtol_internal("1", NULL, 10) = 1
printf("fd0: %i\nfd1:%i\n", 1, 1) = 13
printf("fifoname: %i\n", -1073743020) = 22
__strtol_internal("1", NULL, 10) = 1
__strtol_internal("1", NULL, 10) = 1
printf("fifoname: %s\n", "1") = 12
malloc(3) = 0x0804aac8
malloc(3) = 0x0804aad8
strcpy(0x0804aac8, "1") = 0x0804aac8
strcpy(0x0804aad8, "1") = 0x0804aad8
strcat("1", "C") = "1C"
strcat("1", "M") = "1M"
printf("doing mystical open: %s\n", "1C") = 24
open("1C", 2050, 01001113624) = -1
unlink("1M") = -1
unlink("1C") = -1
printf("opening fifo :%s\n", "1M") = 17
mkfifo("1M", 0600) = 0
printf("opening fifo :%s\n", "1C") = 17
mkfifo("1C", 0600) = 0
printf("all fifos created\n") = 18
printf("opening fifos") = 13
open("1C", 2562, 01001113722) = 4
printf("command fifo opened\n") = 20
free(0x0804aac8) = <void>
open("1M", 2562, 01001125310) = 5
printf("message fifo opened\n") = 20
free(0x0804aad8) = <void>
malloc(3) = 0x0804aac8
strcpy(0x0804aac8, "1") = 0x0804aac8
printf("returning 0\n") = 12
printf("trying to send text\n") = 20
write(1, "", 4) = 4
write(1, "", 4) = 4
write(1, "\001", 4) = 4
printf("after sending text\n") = 19
printf("loooping .. ") = 12
select(1024, 0xbffff924, 0, 0, 0) = 1
__errno_location() = 0x40103660
read(1, "\n", 16) = 1
__errno_location() = 0x40103660
fprintf(0x0804aa28, "%s: dead pipe\n", "FvwmCommandS"FvwmCommandS: dead pipe
) = 24
close(1) = 0
close(1) = -1
close(5) = 0
close(4) = 0
strcat("1", "C") = "1C"
unlink("1C") = 0
unlink("1M") = 0
unlink("1R") = -1
free(0x0804aac8) = <void>
exit(0) = <void>
__deregister_frame_info(0x0804a8fc, 0xbffff288, 0x08049625, 0x40102b34, 0xbffff29c) = 0x0804aa80
+++ exited (status 0) +++
--
jappe_at_iki.fi
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Apr 30 1999 - 10:52:23 BST