Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
I'm using the SVN current trunk.
The bug happened with 3-days ago SVN version on Ubuntu 10.04 and on
20-minutes-ago svn version (Rev 35607) on Ubuntu 10.10.

In order to get the crash I'm typing a wrong word, when the
red-wiggly-line appears, I right-clicking the word and choose some random
word from the list.
Crash almost every time.

Any more details I can supply?

Ronen.

On Tue, Oct 12, 2010 at 1:09 AM, Stephan Witt st.w...@gmx.net wrote:

 Am 12.10.2010 um 03:16 schrieb Ronen Abravanel:

  Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx
  [Thread debugging using libthread_db enabled]
  /usr/include/c++/4.4/bits/basic_string.h:738: typename
 _Alloc::rebind_CharT::other::reference std::basic_stringChar, Traits,
 Alloc::operator[](typename _Alloc::rebind_CharT::other::size_type) [with
 _CharT = wchar_t, _Traits = std::char_traitswchar_t, _Alloc =
 std::allocatorwchar_t]: Assertion '__pos = size()' failed.
 
  Program received signal SIGABRT, Aborted.
  0x0012d422 in __kernel_vsyscall ()
  (gdb) bt
  #0  0x0012d422 in __kernel_vsyscall ()
  #1  0x01139651 in raise () from /lib/tls/i686/cmov/libc.so.6
  #2  0x0113ca82 in abort () from /lib/tls/i686/cmov/libc.so.6
  #3  0x082686d0 in std::basic_stringwchar_t, std::char_traitswchar_t,
 std::allocatorwchar_t ::operator[](unsigned int) ()
  #4  0x08252d4a in lyx::Paragraph::isWordSeparator (this=0x908f7b0,
 pos=24)
  at Paragraph.cpp:2795
  #5  0x08252f1d in lyx::Paragraph::locateWord (this=0x908f7b0,
  fr...@0xbfff80e8, t...@0xbfff80dc, loc=lyx::WHOLE_WORD)
  at Paragraph.cpp:3353
  #6  0x08263242 in lyx::Paragraph::Private::rangeOfSpellCheck
 (this=0x908f7b0)
  at Paragraph.cpp:391
  #7  lyx::Paragraph::spellCheck (this=0x908f7b0) at Paragraph.cpp:3632

 Hi Ronen,

 thank you for doing the backtrace.
 Can you please give me some details?
 You're using SVN current trunk code?
 What are you doing to get the crash?

 Stephan


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread John McCabe-Dansted
On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel ron...@mit.edu wrote:
 Any more details I can supply?

I don't think any more is required. This seems to be another way to reproduce:
http://www.lyx.org/trac/ticket/6945
(I submitted this bug a few hours after your original report, which
would be why you couldn't find it).

I tried your recipe, and as with #6945, it appears to be a regression
in r35362.

-- 
John C. McCabe-Dansted


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Stephan Witt
Am 12.10.2010 um 19:00 schrieb John McCabe-Dansted:

 On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel ron...@mit.edu wrote:
 Any more details I can supply?

No, I got it already. Thanks.

 I don't think any more is required. This seems to be another way to reproduce:
 http://www.lyx.org/trac/ticket/6945
 (I submitted this bug a few hours after your original report, which
 would be why you couldn't find it).
 
 I tried your recipe, and as with #6945, it appears to be a regression
 in r35362.

Should by fixed now (r35616).

Stephan

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
Awesome.  Works for me perfectly.

Thanks!


On Tue, Oct 12, 2010 at 3:09 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 12.10.2010 um 19:00 schrieb John McCabe-Dansted:

  On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel ron...@mit.edu
 wrote:
  Any more details I can supply?

 No, I got it already. Thanks.

  I don't think any more is required. This seems to be another way to
 reproduce:
  http://www.lyx.org/trac/ticket/6945
  (I submitted this bug a few hours after your original report, which
  would be why you couldn't find it).
 
  I tried your recipe, and as with #6945, it appears to be a regression
  in r35362.

 Should by fixed now (r35616).

 Stephan


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Stephan Witt
Am 13.10.2010 um 02:32 schrieb Ronen Abravanel:

 Awesome.  Works for me perfectly.
 
 Thanks!

Fine. Thanks for reporting.

Stephan


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
I'm using the SVN current trunk.
The bug happened with 3-days ago SVN version on Ubuntu 10.04 and on
20-minutes-ago svn version (Rev 35607) on Ubuntu 10.10.

In order to get the crash I'm typing a "wrong" word, when the
red-wiggly-line appears, I right-clicking the word and choose some random
word from the list.
Crash almost every time.

Any more details I can supply?

Ronen.

On Tue, Oct 12, 2010 at 1:09 AM, Stephan Witt  wrote:

> Am 12.10.2010 um 03:16 schrieb Ronen Abravanel:
>
> > Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx
> > [Thread debugging using libthread_db enabled]
> > /usr/include/c++/4.4/bits/basic_string.h:738: typename
> _Alloc::rebind<_CharT>::other::reference std::basic_string Alloc>::operator[](typename _Alloc::rebind<_CharT>::other::size_type) [with
> _CharT = wchar_t, _Traits = std::char_traits, _Alloc =
> std::allocator]: Assertion '__pos <= size()' failed.
> >
> > Program received signal SIGABRT, Aborted.
> > 0x0012d422 in __kernel_vsyscall ()
> > (gdb) bt
> > #0  0x0012d422 in __kernel_vsyscall ()
> > #1  0x01139651 in raise () from /lib/tls/i686/cmov/libc.so.6
> > #2  0x0113ca82 in abort () from /lib/tls/i686/cmov/libc.so.6
> > #3  0x082686d0 in std::basic_string std::allocator >::operator[](unsigned int) ()
> > #4  0x08252d4a in lyx::Paragraph::isWordSeparator (this=0x908f7b0,
> pos=24)
> > at Paragraph.cpp:2795
> > #5  0x08252f1d in lyx::Paragraph::locateWord (this=0x908f7b0,
> > fr...@0xbfff80e8, t...@0xbfff80dc, loc=lyx::WHOLE_WORD)
> > at Paragraph.cpp:3353
> > #6  0x08263242 in lyx::Paragraph::Private::rangeOfSpellCheck
> (this=0x908f7b0)
> > at Paragraph.cpp:391
> > #7  lyx::Paragraph::spellCheck (this=0x908f7b0) at Paragraph.cpp:3632
>
> Hi Ronen,
>
> thank you for doing the backtrace.
> Can you please give me some details?
> You're using SVN current trunk code?
> What are you doing to get the crash?
>
> Stephan


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread John McCabe-Dansted
On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel  wrote:
> Any more details I can supply?

I don't think any more is required. This seems to be another way to reproduce:
http://www.lyx.org/trac/ticket/6945
(I submitted this bug a few hours after your original report, which
would be why you couldn't find it).

I tried your recipe, and as with #6945, it appears to be a regression
in r35362.

-- 
John C. McCabe-Dansted


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Stephan Witt
Am 12.10.2010 um 19:00 schrieb John McCabe-Dansted:

> On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel  wrote:
>> Any more details I can supply?

No, I got it already. Thanks.

> I don't think any more is required. This seems to be another way to reproduce:
> http://www.lyx.org/trac/ticket/6945
> (I submitted this bug a few hours after your original report, which
> would be why you couldn't find it).
> 
> I tried your recipe, and as with #6945, it appears to be a regression
> in r35362.

Should by fixed now (r35616).

Stephan

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Ronen Abravanel
Awesome.  Works for me perfectly.

Thanks!


On Tue, Oct 12, 2010 at 3:09 PM, Stephan Witt  wrote:

> Am 12.10.2010 um 19:00 schrieb John McCabe-Dansted:
>
> > On Tue, Oct 12, 2010 at 10:43 PM, Ronen Abravanel 
> wrote:
> >> Any more details I can supply?
>
> No, I got it already. Thanks.
>
> > I don't think any more is required. This seems to be another way to
> reproduce:
> > http://www.lyx.org/trac/ticket/6945
> > (I submitted this bug a few hours after your original report, which
> > would be why you couldn't find it).
> >
> > I tried your recipe, and as with #6945, it appears to be a regression
> > in r35362.
>
> Should by fixed now (r35616).
>
> Stephan


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-12 Thread Stephan Witt
Am 13.10.2010 um 02:32 schrieb Ronen Abravanel:

> Awesome.  Works for me perfectly.
> 
> Thanks!

Fine. Thanks for reporting.

Stephan


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Pavel Sanda
Ronen Abravanel wrote:
 What can I do in order to help specify the bug further?

1. to find a recipy how to reproduce (maybe hard)
2. at least to produce a backtrace http://wiki.lyx.org/FAQ/FurtherHelp#toc4

pavel


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Ronen Abravanel
Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx
[Thread debugging using libthread_db enabled]
/usr/include/c++/4.4/bits/basic_string.h:738: typename
_Alloc::rebind_CharT::other::reference std::basic_stringChar, Traits,
Alloc::operator[](typename _Alloc::rebind_CharT::other::size_type) [with
_CharT = wchar_t, _Traits = std::char_traitswchar_t, _Alloc =
std::allocatorwchar_t]: Assertion '__pos = size()' failed.

Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x01139651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0x0113ca82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0x082686d0 in std::basic_stringwchar_t, std::char_traitswchar_t,
std::allocatorwchar_t ::operator[](unsigned int) ()
#4  0x08252d4a in lyx::Paragraph::isWordSeparator (this=0x908f7b0, pos=24)
at Paragraph.cpp:2795
#5  0x08252f1d in lyx::Paragraph::locateWord (this=0x908f7b0,
fr...@0xbfff80e8, t...@0xbfff80dc, loc=lyx::WHOLE_WORD)
at Paragraph.cpp:3353
#6  0x08263242 in lyx::Paragraph::Private::rangeOfSpellCheck
(this=0x908f7b0)
at Paragraph.cpp:391
#7  lyx::Paragraph::spellCheck (this=0x908f7b0) at Paragraph.cpp:3632
#8  0x082d97c3 in lyx::TextMetrics::drawParagraph (this=0x909a614, pi=...,
pit=8, x=0, y=380) at TextMetrics.cpp:2135
#9  0x082da4fa in lyx::TextMetrics::draw (this=0x909a614, pi=..., x=0,
y=380)
at TextMetrics.cpp:2059
#10 0x0831a446 in lyx::BufferView::draw (this=0x90a0058, pain=...)
at BufferView.cpp:2696
#11 0x08636dab in lyx::frontend::GuiWorkArea::updateScreen (this=0x9099628)
at GuiWorkArea.cpp:1050
#12 0x0863beeb in lyx::frontend::GuiWorkArea::redraw (this=0x9099628,
update_metrics=false) at GuiWorkArea.cpp:439
---Type return to continue, or q return to quit---
#13 0x085d81d7 in lyx::frontend::WorkAreaManager::redrawAll (this=0x900e690,

update_metrics=10) at WorkAreaManager.cpp:37
#14 0x080bea2b in lyx::Buffer::changed (this=0x8fd8950, update_metrics=6)
at Buffer.cpp:461
#15 0x083215aa in lyx::BufferView::processUpdateFlags (this=0x90a0058,
flags=3)
at BufferView.cpp:468
#16 0x08398739 in replace (bv=0x90a0058, ev=..., has_deleted=false)
at lyxfind.cpp:250
#17 lyx::replace (bv=0x90a0058, ev=..., has_deleted=false) at
lyxfind.cpp:328
#18 0x083244a0 in lyx::BufferView::dispatch (this=0x90a0058, cmd=...,
dr=...)
at BufferView.cpp:1515
#19 0x085ed394 in lyx::frontend::GuiApplication::dispatch (this=0x8c512c0,
cmd=..., dr=...) at GuiApplication.cpp:1593
#20 0x085e5869 in lyx::frontend::GuiApplication::dispatch (this=0x8c512c0,
cmd=...) at GuiApplication.cpp:1096
#21 0x081f3c9d in lyx::dispatch (action=...) at LyX.cpp:1228
#22 0x0868ac87 in lyx::frontend::Action::action (this=0x9145c90)
at Action.cpp:66
#23 0x0868ad00 in lyx::frontend::Action::qt_metacall (this=0x9145c90,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffbdc8)
at moc_Action.cpp:77
#24 0x00eaac9a in QMetaObject::metacall(QObject*, QMetaObject::Call, int,
void**) () from /usr/lib/libQtCore.so.4
---Type return to continue, or q return to quit---
#25 0x00eb93d5 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) () from /usr/lib/libQtCore.so.4
#26 0x003efbd9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#27 0x003f1dcc in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib/libQtGui.so.4
#28 0x0089560c in ?? () from /usr/lib/libQtGui.so.4
#29 0x0089babb in ?? () from /usr/lib/libQtGui.so.4
#30 0x0089cac7 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#31 0x004547f8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x0089e0cc in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x003f64dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#34 0x003fd9f7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#35 0x085de96f in lyx::frontend::GuiApplication::notify (this=0x8c512c0,
receiver=0x90fe2e8, event=0xbfffc5b0) at GuiApplication.cpp:2141
#36 0x00ea5a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#37 0x003fc952 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointerQWidget, bool) ()
   from /usr/lib/libQtGui.so.4
#38 0x004885cf in ?? () from /usr/lib/libQtGui.so.4
---Type return to continue, or q return to quit---
#39 0x00487511 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#40 0x004b660a in ?? () from /usr/lib/libQtGui.so.4
#41 0x001825e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x001862d8 in ?? () from /lib/libglib-2.0.so.0
#43 0x001864b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00ed15d5 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag)
() from /usr/lib/libQtCore.so.4
#45 0x004b6135 in ?? () from /usr/lib/libQtGui.so.4
#46 0x00ea4059 in

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Stephan Witt
Am 12.10.2010 um 03:16 schrieb Ronen Abravanel:

 Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx 
 [Thread debugging using libthread_db enabled]
 /usr/include/c++/4.4/bits/basic_string.h:738: typename 
 _Alloc::rebind_CharT::other::reference std::basic_stringChar, Traits, 
 Alloc::operator[](typename _Alloc::rebind_CharT::other::size_type) [with 
 _CharT = wchar_t, _Traits = std::char_traitswchar_t, _Alloc = 
 std::allocatorwchar_t]: Assertion '__pos = size()' failed.
 
 Program received signal SIGABRT, Aborted.
 0x0012d422 in __kernel_vsyscall ()
 (gdb) bt
 #0  0x0012d422 in __kernel_vsyscall ()
 #1  0x01139651 in raise () from /lib/tls/i686/cmov/libc.so.6
 #2  0x0113ca82 in abort () from /lib/tls/i686/cmov/libc.so.6
 #3  0x082686d0 in std::basic_stringwchar_t, std::char_traitswchar_t, 
 std::allocatorwchar_t ::operator[](unsigned int) ()
 #4  0x08252d4a in lyx::Paragraph::isWordSeparator (this=0x908f7b0, pos=24)
 at Paragraph.cpp:2795
 #5  0x08252f1d in lyx::Paragraph::locateWord (this=0x908f7b0, 
 fr...@0xbfff80e8, t...@0xbfff80dc, loc=lyx::WHOLE_WORD)
 at Paragraph.cpp:3353
 #6  0x08263242 in lyx::Paragraph::Private::rangeOfSpellCheck (this=0x908f7b0)
 at Paragraph.cpp:391
 #7  lyx::Paragraph::spellCheck (this=0x908f7b0) at Paragraph.cpp:3632

Hi Ronen,

thank you for doing the backtrace.
Can you please give me some details?
You're using SVN current trunk code?
What are you doing to get the crash?

Stephan

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Pavel Sanda
Ronen Abravanel wrote:
> What can I do in order to help specify the bug further?

1. to find a recipy how to reproduce (maybe hard)
2. at least to produce a backtrace http://wiki.lyx.org/FAQ/FurtherHelp#toc4

pavel


Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Ronen Abravanel
Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx
[Thread debugging using libthread_db enabled]
/usr/include/c++/4.4/bits/basic_string.h:738: typename
_Alloc::rebind<_CharT>::other::reference std::basic_string::operator[](typename _Alloc::rebind<_CharT>::other::size_type) [with
_CharT = wchar_t, _Traits = std::char_traits, _Alloc =
std::allocator]: Assertion '__pos <= size()' failed.

Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x01139651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0x0113ca82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0x082686d0 in std::basic_string::operator[](unsigned int) ()
#4  0x08252d4a in lyx::Paragraph::isWordSeparator (this=0x908f7b0, pos=24)
at Paragraph.cpp:2795
#5  0x08252f1d in lyx::Paragraph::locateWord (this=0x908f7b0,
fr...@0xbfff80e8, t...@0xbfff80dc, loc=lyx::WHOLE_WORD)
at Paragraph.cpp:3353
#6  0x08263242 in lyx::Paragraph::Private::rangeOfSpellCheck
(this=0x908f7b0)
at Paragraph.cpp:391
#7  lyx::Paragraph::spellCheck (this=0x908f7b0) at Paragraph.cpp:3632
#8  0x082d97c3 in lyx::TextMetrics::drawParagraph (this=0x909a614, pi=...,
pit=8, x=0, y=380) at TextMetrics.cpp:2135
#9  0x082da4fa in lyx::TextMetrics::draw (this=0x909a614, pi=..., x=0,
y=380)
at TextMetrics.cpp:2059
#10 0x0831a446 in lyx::BufferView::draw (this=0x90a0058, pain=...)
at BufferView.cpp:2696
#11 0x08636dab in lyx::frontend::GuiWorkArea::updateScreen (this=0x9099628)
at GuiWorkArea.cpp:1050
#12 0x0863beeb in lyx::frontend::GuiWorkArea::redraw (this=0x9099628,
update_metrics=false) at GuiWorkArea.cpp:439
---Type  to continue, or q  to quit---
#13 0x085d81d7 in lyx::frontend::WorkAreaManager::redrawAll (this=0x900e690,

update_metrics=10) at WorkAreaManager.cpp:37
#14 0x080bea2b in lyx::Buffer::changed (this=0x8fd8950, update_metrics=6)
at Buffer.cpp:461
#15 0x083215aa in lyx::BufferView::processUpdateFlags (this=0x90a0058,
flags=3)
at BufferView.cpp:468
#16 0x08398739 in replace (bv=0x90a0058, ev=..., has_deleted=false)
at lyxfind.cpp:250
#17 lyx::replace (bv=0x90a0058, ev=..., has_deleted=false) at
lyxfind.cpp:328
#18 0x083244a0 in lyx::BufferView::dispatch (this=0x90a0058, cmd=...,
dr=...)
at BufferView.cpp:1515
#19 0x085ed394 in lyx::frontend::GuiApplication::dispatch (this=0x8c512c0,
cmd=..., dr=...) at GuiApplication.cpp:1593
#20 0x085e5869 in lyx::frontend::GuiApplication::dispatch (this=0x8c512c0,
cmd=...) at GuiApplication.cpp:1096
#21 0x081f3c9d in lyx::dispatch (action=...) at LyX.cpp:1228
#22 0x0868ac87 in lyx::frontend::Action::action (this=0x9145c90)
at Action.cpp:66
#23 0x0868ad00 in lyx::frontend::Action::qt_metacall (this=0x9145c90,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffbdc8)
at moc_Action.cpp:77
#24 0x00eaac9a in QMetaObject::metacall(QObject*, QMetaObject::Call, int,
void**) () from /usr/lib/libQtCore.so.4
---Type  to continue, or q  to quit---
#25 0x00eb93d5 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) () from /usr/lib/libQtCore.so.4
#26 0x003efbd9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#27 0x003f1dcc in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib/libQtGui.so.4
#28 0x0089560c in ?? () from /usr/lib/libQtGui.so.4
#29 0x0089babb in ?? () from /usr/lib/libQtGui.so.4
#30 0x0089cac7 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#31 0x004547f8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x0089e0cc in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x003f64dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#34 0x003fd9f7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#35 0x085de96f in lyx::frontend::GuiApplication::notify (this=0x8c512c0,
receiver=0x90fe2e8, event=0xbfffc5b0) at GuiApplication.cpp:2141
#36 0x00ea5a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#37 0x003fc952 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) ()
   from /usr/lib/libQtGui.so.4
#38 0x004885cf in ?? () from /usr/lib/libQtGui.so.4
---Type  to continue, or q  to quit---
#39 0x00487511 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#40 0x004b660a in ?? () from /usr/lib/libQtGui.so.4
#41 0x001825e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x001862d8 in ?? () from /lib/libglib-2.0.so.0
#43 0x001864b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00ed15d5 in
QEventDispatcherGlib::processEvents(QFlags)
() from /usr/lib/libQtCore.so.4
#45 0x004b6135 in ?? () from /usr/lib/libQtGui.so.4
#46 0x00ea4059 in
QEventLoop::processEvents(QFlags) () from
/usr/lib/libQtCore.so.4
#47 0x00ea44aa in 

Re: LyX 2.0 crash when choosing a word from the spell-checker context menu

2010-10-11 Thread Stephan Witt
Am 12.10.2010 um 03:16 schrieb Ronen Abravanel:

> Starting program: /home/ronen/dev/lyx/svn/lyx-devel/src/lyx 
> [Thread debugging using libthread_db enabled]
> /usr/include/c++/4.4/bits/basic_string.h:738: typename 
> _Alloc::rebind<_CharT>::other::reference std::basic_string Alloc>::operator[](typename _Alloc::rebind<_CharT>::other::size_type) [with 
> _CharT = wchar_t, _Traits = std::char_traits, _Alloc = 
> std::allocator]: Assertion '__pos <= size()' failed.
> 
> Program received signal SIGABRT, Aborted.
> 0x0012d422 in __kernel_vsyscall ()
> (gdb) bt
> #0  0x0012d422 in __kernel_vsyscall ()
> #1  0x01139651 in raise () from /lib/tls/i686/cmov/libc.so.6
> #2  0x0113ca82 in abort () from /lib/tls/i686/cmov/libc.so.6
> #3  0x082686d0 in std::basic_string std::allocator >::operator[](unsigned int) ()
> #4  0x08252d4a in lyx::Paragraph::isWordSeparator (this=0x908f7b0, pos=24)
> at Paragraph.cpp:2795
> #5  0x08252f1d in lyx::Paragraph::locateWord (this=0x908f7b0, 
> fr...@0xbfff80e8, t...@0xbfff80dc, loc=lyx::WHOLE_WORD)
> at Paragraph.cpp:3353
> #6  0x08263242 in lyx::Paragraph::Private::rangeOfSpellCheck (this=0x908f7b0)
> at Paragraph.cpp:391
> #7  lyx::Paragraph::spellCheck (this=0x908f7b0) at Paragraph.cpp:3632

Hi Ronen,

thank you for doing the backtrace.
Can you please give me some details?
You're using SVN current trunk code?
What are you doing to get the crash?

Stephan