Gnumeric won't open
Hi,
in slackware 9.1 suddenly gnumeric-1.2.5-i686-1dl does not open. Typing gnumeric from the command line the CPU Load and Busy indicator start working till I do ^c to kill the pid.
I rebooted, un-installed gnumeric, re-installed it, the same it will not open.
There are no error messages. ldd /usr/bin/gnumeric shows no 'not found'.
Is there any test to find out what is going on while gnumeric tries to open?
Thanks & regards
Signature · 9 lines
Peter ---------------------------------------------- I love Linux, 'cause it's so full of surprises. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 6 lines · Peter H.
Hi,
in slackware 9.1 suddenly gnumeric-1.2.5-i686-1dl does not open. Typing gnumeric from the command line the CPU Load and Busy indicator start working till I do ^c to kill the pid.
Quoted 7 lines
I rebooted, un-installed gnumeric, re-installed it, the same it will not open.
There are no error messages. ldd
/usr/bin/gnumericshows no 'not found'.Is there any test to find out what is going on while gnumeric tries to open?
You can use the program 'strace' to see whats happening, it may or may not tell you directly whats wrong.
Do the following;
strace-o file.name gnumeric
After 3 or 4 seconds hit ctrl-c and take a look at, file.name. It will be a large file so you may want to start at the bottom because the chances are thats where the most important info will be, (ie the last few lines).
file.name can be just about anyname of course.
Quoted 2 lines
Thanks & regards
Signature · 15 lines
If the Linux community is a bunch of theives because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 20 lines · At 04:16 PM 3/19/2004 +0100, pa3gcu wrote:
Quoted 6 lines · Peter H.
Hi,
in slackware 9.1 suddenly gnumeric-1.2.5-i686-1dl does not open. Typing gnumeric from the command line the CPU Load and Busy indicator start working till I do ^c to kill the pid.
Quoted 7 lines
I rebooted, un-installed gnumeric, re-installed it, the same it will not open.
There are no error messages. ldd
/usr/bin/gnumericshows no 'not found'.Is there any test to find out what is going on while gnumeric tries to open?
You can use the program 'strace' to see whats happening, it may or may not tell you directly whats wrong.
Do the following;
Quoted 8 lines
strace-o file.name gnumeric
After 3 or 4 seconds hit ctrl-c and take a look at, file.name. It will be a large file so you may want to start at the bottom because the chances are thats where the most important info will be, (ie the last few lines).
file.name can be just about anyname of course.
Richard's advice is a good start, except for a small typo -- it needs to read
strace -o file.name gnumeric
(a space between "strace" and "-o"). But the output may be hard to interpret, especially if the problem lies in use of a shared library. So, here are a couple of other things you might also try.
First, run "top" in an xterm, or over a remote connection, while all this is happening, and see what's going on under the hood in the way of CPU use, memory and swap use, and high-use processes. (You may already be seeing some of this, but I don't know what you mean by "the CPU Load and Busy indicator" ... my guess is that this is some X process, but one that I'm unfamiliar with.)
Second, check what shared libraries gnumeric is using ("ldd /usr/bin/gnumeric", as you did), then check the install date of each of them. See if something you did (for example, install another app recently) caused a mismatched version of one of them to be installed.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 2 lines · Peter
Is there any test to find out what is going on while gnumeric tries to open?
Quoted 1 line · [email protected] said:
You can use the program 'strace' to see whats happening
These are the output lines of strace before it goes apparently into an eternal loop.read(17, "order hosts, bind\nmulti on\n", 4096) = 27
read(17, "", 4096) = 0
close(17) = 0
munmap(0x4002a000, 4096) = 0
open("/etc/hosts", O_RDONLY) = 17
fcntl64(17, F_GETFD) = 0
fcntl64(17, F_SETFD, FD_CLOEXEC) = 0
fstat64(17, {st_mode=S_IFREG|0644, st_size=614, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
read(17, "#\n# hosts\t\tThis file describes a"..., 4096) = 614
read(17, "", 4096) = 0
close(17) = 0
munmap(0x4002a000, 4096) = 0
time(NULL) = 1079742513socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 17fcntl64(17, F_SETFD, FD_CLOEXEC) = 0setsockopt(17, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(17, SOL_TCP, TCP_NODELAY, [1], 4) = 0
connect(17, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("127.0. access("/usr/share/locale/C_/cups_C_", F_OK) = -1 ENOENT (No such file or direc access("/usr/share/locale/C/cups_C", F_OK) = 0send(17, "POST / HTTP/1.1\r\n", 17, 0) = 17send(17, "Content-Length: 137\r\n", 21, 0) = 21send(17, "Content-Type: application/ipp\r\n", 31, 0) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) @ 0 (0) ---send(17, "Content-Type: application/ipp\r\n", 31, 0) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) @ 0 (0) ---
close(17) = 0
1) socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 17
2) fcntl64(17, F_SETFD, FD_CLOEXEC) = 0
3) setsockopt(17, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
4) setsockopt(17, SOL_TCP, TCP_NODELAY, [1], 4) = 0
5) connect(17, {sa_family=AF_INET,sin_port=htons(631),sin_addr=inet_addr("127.0 .
6) send(17, "POST / HTTP/1.1\r\n", 17, 0) = 17
7) send(17, "Content-Length: 137\r\n", 21, 0) = 21
8) send(17, "Content-Type: application/ipp\r\n", 31, 0) = -1 EPIPE (Broken pipe)
9) --- SIGPIPE (Broken pipe) @ 0 (0) ---
10) send(17, "Content-Type: application/ipp\r\n", 31, 0) = -1 EPIPE (Broken pipe)
11) --- SIGPIPE (Broken pipe) @ 0 (0) ---
12) close(17)
The lines which I numbered 1 to 12 is the loop ad indefinitum which keeps the CPU busy and shows in my program 'stipchart' as Load and Busy. Top does not show anything special, memory and swap remain constant, just the CPU being busy until I do a ^c.
The mind bugling number of 45 odd libraries needed by gnumeric do not show any overlap or mismatch. When I un-installed gnumeric I saw that a lot of libraries were being deleted and put back with the re-installation.
The only program I installed lately is ActiveTcl which has its own set of libraries.
I just looked at my old favorite spreadsheet QuattroPro where for less then 5Mb one has a program with graphics unmatched by Excel and any of its copies in Linux and macros so easy to apply, plus plus plus. Why was Excel copied and not QuattroPro? Unfortunately I cannot open it with dosemu out of Linux.
Now can anyone make sense out of the lines created with strace gnumeric to get that program back on stream?
Thanks & regards
Signature · 7 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 2 lines · Peter
Now can anyone make sense out of the lines created with strace gnumeric to get that program back on stream?
Your strace output has a possable answer;
Line nr, 5 connect(17,{sa_family=AF_INET,sin_port=htons(631), sin_addr=inet_addr("127.0.
line wraps and possably cut and paste may have corrupted your text, what we see is;
("127.0.
I presume the 0.0.1") got cut away.
6) send(17, "POST / HTTP/1.1\r\n", 17, 0) = 17
7) send(17, "Content-Length: 137\r\n", 21, 0) = 21
8) send(17, "Content-Type: application/ipp\r\n", 31, 0) = -1 EPIPE (Broken pipe)
9) --- SIGPIPE (Broken pipe) @ 0 (0) ---
10) send(17, "Content-Type: application/ipp\r\n", 31, 0) = -1 EPIPE (Broken pipe)
11) --- SIGPIPE (Broken pipe) @ 0 (0) ---
12) close(17)
This looks like whats causing the problem, gnumeric is trying to find out what printer you have and howto use/communicate with it, or thats what it looks like to me. When i start gnumeric i see a totaly different story. I have attached a file (if the mailing list allows attachments).
Of course that may not be the problem because i cannot see the rest of your strace output, you can if you wish send it to me as an attachment privatly, if you do please do not edit the file created by strace simply attach it in a mail, some editors may well line wrap the file and thierfor make it hard to read.
If this mail fails because of the attachment i will send another to the list without the attachment.
Signature · 7 lines
If the Linux community is a bunch of theives because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/
connect(17, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 access("/usr/share/locale/C_/cups_C_", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/C/cups_C", F_OK) = 0send(17, "POST / HTTP/1.1\r\n", 17, 0) = 17send(17, "Content-Length: 204\r\n", 21, 0) = 21send(17, "Content-Type: application/ipp\r\n", 31, 0) = 31
send(17, "Host: localhost\r\n", 17, 0) = 17 send(17, "\r\n", 2, 0) = 2 time(NULL) = 1079771612 send(17, "\1\1\0\v\0\0\0\1", 8, 0) = 8 time(NULL) = 1079771612
send(17, "\1G\0\22attributes-charset\0\niso-8859"..., 34, 0) = 34
time(NULL) = 1079771612send(17, "H\0\33attributes-natural-language\0\2"..., 34, 0) = 34
time(NULL) = 1079771612send(17, "E\0\vprinter-uri\0 ipp://localhost/"..., 48, 0) = 48
time(NULL) = 1079771612send(17, "B\0\24requested-attributes\0\25printer"..., 79, 0) = 79
time(NULL) = 1079771612send(17, "\3", 1, 0) = 1recv(17, "HTTP/1.1 200 OK\r\nDate: Sat, 20 M"..., 2048, 0) = 426
time(NULL) = 1079771612getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0select(18, [17], NULL, NULL, {1, 0}) = 1 (in [17], left {1, 0})
time(NULL) = 1079771612recv(17, "!\0\22printer-state-time\0\4\0\0\0\0001\0\24pr"..., 2048, 0) = 2048select(18, [17], NULL, NULL, {1, 0}) = 1 (in [17], left {1, 0})
time(NULL) = 1079771612