On Tue, Jul 29, 2008 at 6:41 PM, Dan McGhee <[EMAIL PROTECTED]> wrote:
> I compiled and built Thunderbird, on my laptop, in accordance with the
> instructions in BLFS-svn-20080712.  There were no errors.  When I try to run
> it as root, I get:
>
> /usr/lib/thunderbird-2.0.0.12/run-mozilla.sh line 131: 2134 Segmentation
> fault "prog" ${1+ "$@"}
>
> `run-mozilla.sh` gives: Cannot execute; and
> `/usr/lib/thunderbird-2.0.0.12/thunderbird-bin gives: Segmentation fault
>
> Line 177 of run-mozilla.sh ( and I don't know if this is relevant)
> "moz_pis_startstop_scripts  "start"
>
> Using "find" tells me that that file does not exist on my system--even in
> the source directory.

I think moz_pis_startstop_scripts is probably a function in
run-mozilla.sh. So I don't think the script part is the problem. This
would need to be run under a debugger to see what's crashing
thunderbird. strace won't help much since the crash is happening
within thunderbird-bin.

Install gdb. It's pretty straightforward except for the install
command: "./configure --prefix=/usr && make && make -C gdb install".
Then run thunderbird under a debugger. The scripts actually
accommodate this already:

thunderbird -g

That should find gdb and run thunderbird-bin through it. When the
crash happens, run "bt" in the debugger. That will give a backtrace
from where the program crashed and we can take a gander at the
thunderbird source and see why it might be crashing.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to