On 02/24/10, "John McCabe-Dansted" <gma...@gmail.com> wrote:
>On Thu, Feb 25, 2010 at 4:51 AM, Stefano Franchi
>
><fran...@philosophy.tamu.edu> wrote:
>> backtrace if someone is willing to teach me how to convince gdb to start
>> lyx with -sysdir and -userdir parameters.
>
>  gdb lyx
>  run  -sysdir my_sys_dir -userdir my_user_dir
>
>Should do the trick.



Thanks, John. Here is a backtrace:

#0  0x000000000053564a in lyx::Paragraph::spellCheck(long&, long&, 
lyx::WordLangTuple&, lyx::docstring_list&, bool) const ()
#1  0x0000000000576df9 in lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, 
long, int, int) const ()
#2  0x0000000000577560 in lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) 
const ()
#3  0x00000000005a6048 in lyx::BufferView::draw(lyx::frontend::Painter&) ()
#4  0x00000000007b7f5f in lyx::frontend::GuiWorkArea::updateScreen() ()
#5  0x00000000007b8c45 in lyx::frontend::GuiWorkArea::redraw(bool) ()
#6  0x0000000000771df5 in lyx::frontend::WorkAreaManager::redrawAll(bool) ()
#7  0x00000000005a4964 in lyx::BufferView::scrollDocView(int) ()
#8  0x00000000007b9023 in lyx::frontend::GuiWorkArea::scrollTo(int) ()
#9  0x00000000007b930b in 
lyx::frontend::GuiWorkArea::qt_metacall(QMetaObject::Call, int, void**) ()
#10 0x00007ffff605dd3f in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007ffff6bb790e in QAbstractSlider::valueChanged(int) () from 
/usr/lib/libQtGui.so.4
#12 0x00007ffff696ddba in QScrollBar::mouseMoveEvent(QMouseEvent*) () from 
/usr/lib/libQtGui.so.4
#13 0x00007ffff6573faf in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007ffff651dfac in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib/libQtGui.so.4
#15 0x00007ffff6524d7b in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libQtGui.so.4
#16 0x0000000000774d6d in lyx::frontend::GuiApplication::notify(QObject*, 
QEvent*) ()
#17 0x00007ffff604af3c in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib/libQtCore.so.4
#18 0x00007ffff6523f56 in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () 
from /usr/lib/libQtGui.so.4
#19 0x00007ffff65a3545 in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007ffff65a225a in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib/libQtGui.so.4
#21 0x00007ffff65cdc02 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007ffff7744bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007ffff7748598 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007ffff77486c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007ffff6074463 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
#26 0x00007ffff65cd7ee in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007ffff604dadf in 
QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#28 0x0000000000919a5f in 
lyx::frontend::GuiProgressView::appendLyXErrText(QString const&) ()
#29 0x000000000091a981 in 
lyx::frontend::GuiProgressView::qt_metacall(QMetaObject::Call, int, void**) ()
#30 0x00007ffff605dd3f in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/libQtCore.so.4
#31 0x00000000009173b3 in 
lyx::frontend::GuiProgress::appendLyXErrMessage(QString const&) ()
#32 0x00000000009177ee in lyx::frontend::GuiProgress::lyxerrFlush() ()
#33 0x0000000000983516 in lyx::operator<<(lyx::LyXErr&, std::ostream& 
(*)(std::ostream&)) ()
#34 0x00000000009b0692 in lyx::IconvProcessor::convert(char const*, unsigned 
long, char*, unsigned long) ()
#35 0x00000000009b1563 in std::vector<char, std::allocator<char> > 
lyx::(anonymous namespace)::iconv_convert<char, wchar_t>(lyx::IconvProcessor&, 
wchar_t const*, unsigned long) ()
#36 0x00000000009b20c2 in lyx::ucs4_to_eightbit(wchar_t const*, unsigned long, 
std::string const&) ()
#37 0x00000000009864aa in lyx::to_iconv_encoding(std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::string 
const&) ()
#38 0x0000000000454f49 in lyx::HunspellChecker::check(lyx::WordLangTuple 
const&) ()
#39 0x00000000005358bf in lyx::Paragraph::spellCheck(long&, long&, 
lyx::WordLangTuple&, lyx::docstring_list&, bool) const ()
#40 0x0000000000576df9 in lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, 
long, int, int) const ()
#41 0x0000000000577560 in lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) 
const ()
#42 0x00000000005a6048 in lyx::BufferView::draw(lyx::frontend::Painter&) ()
#43 0x00000000007b7f5f in lyx::frontend::GuiWorkArea::updateScreen() ()
#44 0x00000000007b8c45 in lyx::frontend::GuiWorkArea::redraw(bool) ()
#45 0x0000000000771df5 in lyx::frontend::WorkAreaManager::redrawAll(bool) ()
#46 0x00000000005a4964 in lyx::BufferView::scrollDocView(int) ()
#47 0x00000000007b9023 in lyx::frontend::GuiWorkArea::scrollTo(int) ()
#48 0x00000000007b930b in 
lyx::frontend::GuiWorkArea::qt_metacall(QMetaObject::Call, int, void**) ()
#49 0x00007ffff605dd3f in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/libQtCore.so.4



______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  fran...@philosophy.tamu.edu
College Station, TX 77843-4237

Reply via email to