> Have you tried running it in the debugger and interrupting it so see
> where it was hung?

% gdb ./lyx
GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb)
(gdb) run
Starting program: /home/bpeng/tmp/lyx-devel/src/lyx
[Thread debugging using libthread_db enabled]
[New Thread -1208080704 (LWP 4790)]
LyX: BN_BIND: Unknown LyX function `find-replace' [around line 165 of
file ~/tmp/lyx-devel/lib/bind/sciword.bind]
kb_keymap::read: error while reading bind
file:/home/bpeng/tmp/lyx-devel/lib/bind/sciword.bind
kb_keymap::read: error while reading bind
file:/home/bpeng/.lyx/bind/lyx14_personal.bind

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208080704 (LWP 4790)]
0x002e05ca in __gnu_debug::_Safe_iterator_base::_M_detach () from
/usr/lib/libstdc++.so.6
(gdb)
(gdb) backtrace
#0  0x002d95ca in __gnu_debug::_Safe_iterator_base::_M_detach () from
/usr/lib/libstdc++.so.6
#1  0x002d961f in __gnu_debug::_Safe_iterator_base::_M_attach () from
/usr/lib/libstdc++.so.6
#2  0x002d96fe in __gnu_debug::_Safe_sequence_base::_M_detach_all ()
from /usr/lib/libstdc++.so.6
#3  0x080bc75b in ~vector (this=0xbfecc9c0)
    at 
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../../include/c++/3.4.5/debug/safe_base.h:170
#4  0x080bb284 in ~match_results (this=0xbfecc9c0) at
../../../../boost/boost/regex/v4/match_results.hpp:74
#5  0x08159a2c in CharacterSet::loadFile (this=0x8d13d6c,
[EMAIL PROTECTED]) at chset.C:73
#6  0x082b6fd1 in TransManager::setCharset (this=0x8d13cf0,
[EMAIL PROTECTED]) at trans_mgr.C:225
#7  0x081c7b9f in Intl::InitKeyMapper (this=0x8d13ce0, on=false) at intl.C:92
#8  0x0839ce38 in LyXView::init (this=0x8d071b0) at LyXView.C:89
#9  0x083f9964 in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED])
at lyx_gui.C:232
#10 0x081e9e04 in LyX::priv_exec (this=0x8c33a20, [EMAIL PROTECTED],
argv=0xbfeccee4) at lyx_main.C:280
#11 0x081e953d in LyX::exec ([EMAIL PROTECTED], argv=0xbfeccee4) at
lyx_main.C:143
#12 0x08063bc3 in main (argc=1, argv=0xbfeccee4) at main.C:47

Bo

Reply via email to