On Jul 16, 2007, at 11:45 AM, Abdelrazak Younes wrote:
Bennett Helm wrote:
I'm using pdfsync via lyxpipe to have LyX jump to where I click in
the .pdf file of an open LyX document. Recently I've been getting
crashes. Here's the console output:
Assertion triggered in void lyx::Text::setCursorIntern
(lyx::Cursor&, lyx::pit_type, lyx::pos_type, bool, bool) by
failing check "this == cur.text()" in file Text2.cpp:746
Is there more info I should provide?
A backtrace :-)
How's this? --
Assertion triggered in void lyx::Text::setCursorIntern(lyx::Cursor&,
lyx::pit_type, lyx::pos_type, bool, bool) by failing check "this ==
cur.text()" in file Text2.cpp:746
Program received signal SIGABRT, Aborted.
0x9003d66c in kill ()
(gdb) bt
#0 0x9003d66c in kill ()
#1 0x9010e8cf in raise ()
#2 0x9010d422 in abort ()
#3 0x000ec0ad in lyx::support::abort () at abort.cpp:25
#4 0x000c7c74 in lyx::Text::setCursorIntern (this=0xf10737c,
[EMAIL PROTECTED], par=708, pos=0, setfont=true, boundary=false) at
Text2.cpp:746
#5 0x000c7d1a in lyx::Text::setCursor (this=0xf10737c,
[EMAIL PROTECTED], par=708, pos=0, setfont=1, boundary=0) at Text2.cpp:714
#6 0x00025d1d in lyx::BufferView::setCursorFromRow (this=0xe9d1530,
row=11812) at BufferView.cpp:1265
#7 0x0008615e in lyx::LyXFunc::dispatch (this=0xe91cd60,
[EMAIL PROTECTED]) at LyXFunc.cpp:1261
#8 0x00096e06 in lyx::Server::callback (serv=0xe9bfda0,
[EMAIL PROTECTED]) at Server.cpp:464
#9 0x000963e8 in lyx::LyXComm::read_ready (this=0xe9bfdd0) at
Server.cpp:268
#10 0x007d5b7b in boost::_bi::bind_t<void, boost::_mfi::mf0<void,
lyx::LyXComm>, boost::_bi::list1<boost::_bi::value<lyx::LyXComm*> >
>::operator() (this=0xe9fb0e0) at ../boost/boost/bind/
bind_template.hpp:20
#11 0x0077529b in boost::function0<void, std::allocator<void>
>::operator() (this=0xe9fb0dc) at ../boost/boost/function/
function_template.hpp:692
#12 0x00218ec2 in lyx::socket_callback::qt_metacall (this=0xe9fb0d0,
_c=InvokeMetaMethod, _id=4, _a=0xbfffe9c8) at socket_callback.cpp:30
#13 0x0023015a in QMetaObject::activate () at QLImage.cpp:173
#14 0x00609989 in QSocketNotifier::activated () at fileiter.cpp:214
#15 0x003c017c in QSocketNotifier::event () at cregex.cpp:428
#16 0x001c7d18 in QApplicationPrivate::notify_helper () at
MathParser.cpp:1472
#17 0x001cbac9 in QApplication::notify () at MathParser.cpp:1472
#18 0x00195484 in lyx::frontend::GuiApplication::notify
(this=0xf017e00, receiver=0x1bfaffa0, event=0xbfffed34) at
GuiApplication.cpp:238
#19 0x002150cf in QCoreApplication::notifyInternal () at
QKeySymbol.cpp:105
#20 0x00397eaa in QEventDispatcherUNIX::activateSocketNotifiers () at
cregex.cpp:428
#21 0x00398783 in QEventDispatcherUNIXPrivate::doSelect () at
cregex.cpp:428
#22 0x002102bc in QApplicationPrivate::globalEventProcessor () at
QKeySymbol.cpp:105
#23 0x92ddb537 in DispatchEventToHandlers ()
#24 0x92ddabdc in SendEventToEventTargetInternal ()
#25 0x92ddaaa1 in SendEventToEventTargetWithOptions ()
#26 0x92de2123 in ToolboxEventDispatcherHandler ()
#27 0x92ddb8ee in DispatchEventToHandlers ()
#28 0x92ddabdc in SendEventToEventTargetInternal ()
#29 0x92de1fbc in SendEventToEventTarget ()
#30 0x0020b518 in qt_mac_send_event () at QKeySymbol.cpp:105
#31 0x00396dce in QEventDispatcherMac::processEvents () at cregex.cpp:
428
#32 0x003af344 in QEventLoop::processEvents () at cregex.cpp:428
#33 0x003af4c7 in QEventLoop::exec () at cregex.cpp:428
#34 0x00216bbd in QCoreApplication::exec () at QKeySymbol.cpp:105
#35 0x0007a8a9 in lyx::LyX::exec (this=0xbffff9f4, [EMAIL PROTECTED],
argv=0xbffffa80) at LyX.cpp:463
#36 0x00003583 in main (argc=1, argv=0xbffffa80) at main.cpp:48
Bennett