Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

debugging open office

Posted on 2002-03-29
1
178 Views
Last Modified: 2013-12-16
Trying to run the latest version of openoffice on my system (SuSE7.2), but it crashes when loading.  So, I figure I need to run a stack trace, but I'm getting nowhere in trying.  First, I tried to use gdb, but the 'soffice' executable is a shell script, and I can't see what it points to - there's a file called 'soffice.bin' but that doesn't help.  

Someone told me that if it's crashing it should create a core file, but I can't figure out how to go about accessing this.  Can someone point me in the right direction?
0
Comment
Question by:elsdon
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 6905678
soffice is a script, usually.
If not called remote, it starts a program soffice.bin in the installation directory, the line in the script looks like:
   exec "$sd_inst/program/$sd_binary" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"

I'm not shure about the open office version, but think it's very similar.

To start soffice.bin either prepend the call by gdb, or start gdb right after it with the PID of the running soffice.bin.

If you want tu run gdb with the core file, just pass it as argument (full path) to gdb.
Keep in mind that the soffice script cd to another directory, you probably find the core there.
Also keep in mind that your shell may restrict the generation of core files, see the limit or ulimit (depending on your shell) command.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question