Hello

I compiled Lyx master recently, wrote some text in the old document, selected 
some text and inserted note onto it. Lyx crashes. I did some tests: Lyx crashes 
when I insert note by shortcut or by menu. But it crashes only on particular 
text (that is some short lines, one line – one paragraph), I think, that causes 
word with " " quotes (they are foreign in Lithuanian, I copied text from mail), 
but I can make note on line with that word – there should be more lines 
selected to get a crash. There is no crash when I select the same text from the 
bottom and create note.
I can send file, but only privately.


Lyx version 2.4.0dev (not released yet) Built from git commit hash 5b9929c9 Qt 
Version (run-time): 5.15.2 Qt Version (compile-time): 5.15.2 Python detected: 
python3 -tt

Manjaro linux Sway (Wayland)

Error mesage from terminal:


/usr/include/c++/10.2.0/debug/vector:427:
In function:
    std::__debug::vector<_Tp, _Allocator>::reference  
    std::__debug::vector<_Tp,  
    _Allocator>::operator[](std::__debug::vector<_Tp,  
    _Allocator>::size_type) [with _Tp =  
    __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<lyx::Paragraph>, 
 
    std::__debug::list<lyx::Paragraph, std::allocator<lyx::Paragraph> >,  
    std::bidirectional_iterator_tag>; _Allocator =  
    
std::allocator<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<lyx::Paragraph>,
  
    std::__debug::list<lyx::Paragraph, std::allocator<lyx::Paragraph> >,  
    std::bidirectional_iterator_tag> >; std::__debug::vector<_Tp,  
    _Allocator>::reference =  
    
std::allocator_traits<std::allocator<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<lyx::Paragraph>,
  
    std::__debug::list<lyx::Paragraph, std::allocator<lyx::Paragraph> >,  
    std::bidirectional_iterator_tag> > >::value_type&;  
    std::__debug::vector<_Tp, _Allocator>::size_type = long unsigned int]
 
Error: attempt to subscript container with out-of-bounds index 77, but  
container only holds 46 elements.
 
Objects involved in the operation:
    sequence "this" @ 0x0x55b6e38fafb0 {
      type = 
std::__debug::vector<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<lyx::Paragraph>,
 std::__debug::list<lyx::Paragraph, std::allocator<lyx::Paragraph> >, 
std::bidirectional_iterator_tag>, 
std::allocator<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<lyx::Paragraph>,
 std::__debug::list<lyx::Paragraph, std::allocator<lyx::Paragraph> >, 
std::bidirectional_iterator_tag> > >;
    }
Nutraukta (aborted) (core dumped)


Valdemaras
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to