Jump to content

Open Office only starts 1/2 way [solved]


Syntroxis
 Share

Recommended Posts

I'm having a real problem with Open Office. When starting OO, the progress bar on the splash screen goes a little more than 1/2 way, then the splash goes away. A short time ago, I reinstalled 2010.1 and it worked.... once. Then it was right back to the problem. I've looked for .lock files, wiped out the .ooo3 directory. Re-installed OO and I'm stumped.

 

Thanks for a hand.

Edited by Syntroxis
Link to comment
Share on other sites

  • 3 weeks later...

Or, even better, through a debugger:

strace -o ~/soerror soffice

After the OOo crash, pick the afoprementioned debug file (soerror) and put it anywhere, so we can have a look. Just a warning though, this file can be really BIG.

Edited by scarecrow
Link to comment
Share on other sites

I had this problem recently. It started just after I had installed a whole bunch of new fonts. I managed to resolve it, by removing the offending font and reloading the font cache. Here are some notes I made:

 

If OpenOffice doesn't start open a terminal session and

$ openoffice.org3 -writer %U

"** (soffice:6473): WARNING **: unable to get gail version number"

 

$ strace -f -o /home/paul/openoffice.log openoffice.org3 -writer %U

$ cat openoffice.log | grep "Segmentation fault"

OR

$ gedit openoffice.log

...and search for string "Segmentation fault" and remove offending font listed above

 

$ su

$ rm /usr/share/fonts/drakfont/ttf/StarTrekferengi*

$ rm /usr/share/fonts/drakfont/Type1/StarTrekferengi*

$ mkfontscale /usr/share/fonts/drakfont/*

$ mkfontdir /usr/share/fonts/drakfont/*

 

Logoff/logon

Link to comment
Share on other sites

  • 3 weeks later...

Sorry, I'm so long re-reading the forum. I've tried reinstalling both from the Mandriva repository (even got an update), fully uninstalled and reinstalled OOo from OOo. Still same thing. I try launching from command line (ooffice) and get the 1/2 bar. I've looked all over for a log file, or a way to generate one and have not been able to find it. The funny thing is it runs fine in a Virtual Box running windows XP. Sure would like to get it native though.

Link to comment
Share on other sites

Can you start OO from the command line and see if any errors are reported to the console?

Thanks for the quick response and pardon my lack of one.....

 

I try to start using ooffice and just get the splash screen with the progress bar going 1/2 way then crash. I've looked at other ways to get it to start, but I'm lost.

Link to comment
Share on other sites

 

$ strace -f -o /home/paul/openoffice.log openoffice.org3 -writer %U

$ cat openoffice.log | grep "Segmentation fault"

OR

$ gedit openoffice.log

...and search for string "Segmentation fault" and remove offending font listed above

 

$ su

$ rm /usr/share/fonts/drakfont/ttf/StarTrekferengi*

$ rm /usr/share/fonts/drakfont/Type1/StarTrekferengi*

$ mkfontscale /usr/share/fonts/drakfont/*

$ mkfontdir /usr/share/fonts/drakfont/*

 

Logoff/logon

 

This is what I found (at least a clip of it....

 

[pid  4798] munmap(0x7f2408506000, 4096) = 0                                                                                    
[pid  4798] access("/usr/share/fonts/drakfont/Type1/XCRYPT.pfb", R_OK) = 0                                                      
[pid  4798] access("/usr/share/fonts/drakfont/Type1/XCRYPT.afm", R_OK) = 0                                                      
[pid  4798] stat("/usr/share/fonts/drakfont/Type1/XCRYPT.afm", {st_mode=S_IFREG|0664, st_size=8192, ...}) = 0                   
[pid  4798] open("/usr/share/fonts/drakfont/Type1/XCRYPT.afm", O_RDONLY) = 35                                                   
[pid  4798] fstat(35, {st_mode=S_IFREG|0664, st_size=8192, ...}) = 0                                                            
[pid  4798] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2408506000                           
[pid  4798] read(35, "StartFontMetrics 4.1\nFontName X-"..., 8192) = 8192                                                       
[pid  4798] close(35)                   = 0                                                                                     
[pid  4798] munmap(0x7f2408506000, 4096) = 0                                                                                    
[pid  4798] --- SIGSEGV [color="#FFFF00"](Segmentation fault)[/color] @ 0 (0) ---                                                                        
[pid  4798] exit_group(78)              = ?                                                                                     
Process 4797 resumed                                                                                                            
Process 4798 detached                                                                                                           
[pid  4797] <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 78}], 0, NULL) = 4798                                       
[pid  4797] --- SIGCHLD (Child exited) @ 0 (0) ---                                                                              
[pid  4797] _exit(0)                    = ?                                                                                     
Process 4797 detached                                                                                                           
[pid  4796] <... poll resumed> )        = 1 ([{fd=4, revents=POLLHUP}])                                                         
[pid  4796] poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])                                        
[pid  4796] writev(5, [{"<\2\2\0\0\0\340\5+\0\1\0", 12}, {NULL, 0}, {"", 0}], 3) = 12                                           
[pid  4796] poll([{fd=5, events=POLLIN}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])                                                 
[pid  4796] read(5, "\1\1{\0\0\0\0\0\35\0\240\5\0\0\0\0\220\6l\5\0\0\0\0\0\0\0\0\0\0\0\0", 4096) = 32                           
[pid  4796] read(5, 0xeecc54, 4096)     = -1 EAGAIN (Resource temporarily unavailable)                                          
[pid  4796] close(5)                    = 0                                                                                     
[pid  4796] munmap(0x7fa249777000, 397312) = 0                                                                                  
[pid  4796] close(4294967295)           = -1 EBADF (Bad file descriptor)                                                        
[pid  4796] close(4)                    = 0                                                                                     
[pid  4796] exit_group(0)               = ?                                                                                     
Process 4786 resumed                                                                                                            
Process 4796 detached                                                                                                           
[pid  4786] <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4796                                        
[pid  4786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                                                                        
[pid  4786] --- SIGCHLD (Child exited) @ 0 (0) ---                                                                              
[pid  4786] wait4(-1, 0x7fffbb589cdc, WNOHANG, NULL) = -1 ECHILD (No child processes)                                           
[pid  4786] rt_sigreturn(0xffffffffffffffff) = 0                                                                                
[pid  4786] rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f26e5fb55c0}, {0x43c4b0, [], SA_RESTORER, 0x7f26e5fb55c0}, 8) = 0
[pid  4786] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0                                                                        
[pid  4786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                                                                        
[pid  4786] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0                                                                        
[pid  4786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                                                                        
[pid  4786] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0                                                                        
[pid  4786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0                                                                        
[pid  4786] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0                                                                          
[pid  4786] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0                                                                          
[pid  4786] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
[pid  4786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid  4786] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[pid  4786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid  4786] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
[pid  4786] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
[pid  4786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid  4786] exit_group(0)               = ?
Process 4785 resumed
Process 4786 detached
<... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4786
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fff5b74b75c, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff)        = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f4352ab25c0}, {0x43c4b0, [], SA_RESTORER, 0x7f4352ab25c0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "", 47)                       = 0
exit_group(0)                           = ?

Link to comment
Share on other sites

OK, so try removing the XCRYPT font and see how you go...

 

EDIT: Be sure to check the other font directories under /usr/share/fonts for XCRYPT and remove them as well.

 

$ su

# mv /usr/share/fonts/drakfont/Type1/XCRYPT* /tmp

# mkfontscale /usr/share/fonts/drakfont/*

# mkfontdir /usr/share/fonts/drakfont/*

Edited by Lardy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...