On Mon, Nov 21, 2016 at 11:50:29AM +0100, Jean-Marc Lasgouttes wrote: > Le 21/11/2016 à 09:05, Scott Kostyshak a écrit : > > 1. Open lib/doc/Math.lyx > > 2. ctrl+a to select all. > > 3. Insert > Note > LyX Note. > > 4. Save (or don't save) and Quit. > > I do not get a SIGSEGV here, but valgrind complains a lot about graphics > loader destructor. Could you provide a backtrace?
bt attached. Also Guillaume posted a backtrace here: https://www.mail-archive.com/search?l=mid&q=o0tdlm%24u2f%241%40blaine.gmane.org The two backtraces look similar starting with the call to lyx::support::FileName::absFileName. Scott
Thread 1 "lyx" received signal SIGSEGV, Segmentation fault. __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:245 245 ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: No such file or directory. (gdb) bt #0 __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:245 #1 0x0000000000c9607a in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*> (this=0x7fffffffcef0, __beg=0x336cc70 "svgz", __end=0x6544f70 <error: Cannot access memory at address 0x6544f70>) at /usr/include/c++/5/bits/basic_string.tcc:229 #2 0x00007ffff5a4b9cf in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00000000014c87cc in lyx::support::FileName::absFileName[abi:cxx11]() const (this=0x2dc9f30) at /home/scott/lyxbuilds/master/repo/src/support/FileName.cpp:181 #4 0x00000000014cd57b in lyx::support::operator< (lhs=..., rhs=...) at /home/scott/lyxbuilds/master/repo/src/support/FileName.cpp:852 #5 0x0000000000cc91dd in std::less<lyx::support::FileName>::operator() (this=0x2cb2e20, __x=..., __y=...) at /usr/include/c++/5/bits/stl_function.h:387 #6 0x00000000014557d8 in std::_Rb_tree<lyx::support::FileName, std::pair<lyx::support::FileName const, std::shared_ptr<lyx::graphics::CacheItem> >, std::_Select1st<std::pair<lyx::support::FileName const, std::shared_ptr<lyx::graphics::CacheItem> > >, std::less<lyx::support::FileName>, std::allocator<std::pair<lyx::support::FileName const, std::shared_ptr<lyx::graphics::CacheItem> > > >::_M_lower_bound (this=0x2cb2e20, __x=0x2dc9f10, __y=0x2cb2e28, __k=...) at /usr/include/c++/5/bits/stl_tree.h:1628 #7 0x0000000001454e0e in std::_Rb_tree<lyx::support::FileName, std::pair<lyx::support::FileName const, std::shared_ptr<lyx::graphics::CacheItem> >, std::_Select1st<std::pair<lyx::support::FileName const, std::shared_ptr<lyx::graphics::CacheItem> > >, std::less<lyx::support::FileName>, std::allocator<std::pair<lyx::support::FileName const, std::shared_ptr<lyx::graphics::CacheItem> > > >::find (this=0x2cb2e20, __k=...) at /usr/include/c++/5/bits/stl_tree.h:2295 #8 0x000000000145496f in std::map<lyx::support::FileName, std::shared_ptr<lyx::graphics::CacheItem>, std::less<lyx::support::FileName>, std::allocator<std::pair<lyx::support::FileName const, std::shared_ptr<lyx::graphics::CacheItem> > > >::find (this=0x2cb2e20, __x=...) at /usr/include/c++/5/bits/stl_map.h:846 #9 0x00000000014543ce in lyx::graphics::Cache::remove (this=0x1f28a18 <lyx::graphics::Cache::get()::singleton>, file=...) at /home/scott/lyxbuilds/master/repo/src/graphics/GraphicsCache.cpp:119 #10 0x000000000147aafd in lyx::graphics::Loader::Impl::resetFile (this=0x4e0c360, file=...) at /home/scott/lyxbuilds/master/repo/src/graphics/GraphicsLoader.cpp:393 #11 0x000000000147a944 in lyx::graphics::Loader::Impl::~Impl (this=0x4e0c360, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/graphics/GraphicsLoader.cpp:370 #12 0x000000000147a31d in lyx::graphics::Loader::~Loader (this=0x4e0c2e8, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/graphics/GraphicsLoader.cpp:243 #13 0x0000000001193b14 in lyx::RenderGraphic::~RenderGraphic (this=0x4e0c2d0, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/RenderGraphic.h:24 #14 0x0000000001193b54 in lyx::RenderGraphic::~RenderGraphic (this=0x4e0c2d0, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/RenderGraphic.h:24 #15 0x00000000010ad7b5 in lyx::InsetGraphics::~InsetGraphics (this=0x4e0bf90, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/InsetGraphics.cpp:196 #16 0x00000000010ad830 in lyx::InsetGraphics::~InsetGraphics (this=0x4e0bf90, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/InsetGraphics.cpp:197 #17 0x0000000000c671e0 in lyx::InsetList::~InsetList (this=0x4e0be58, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/InsetList.cpp:74 #18 0x0000000000da3988 in lyx::Paragraph::Private::~Private (this=0x4e0bd80, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/Paragraph.cpp:287 #19 0x0000000000d95d1a in lyx::Paragraph::~Paragraph (this=0x4e0bd60, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/Paragraph.cpp:1511 #20 0x0000000000cf50b8 in std::_List_node<lyx::Paragraph>::~_List_node (this=0x4e0bd50, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_list.h:106 #21 0x0000000000cf50d8 in __gnu_cxx::new_allocator<std::_List_node<lyx::Paragraph> >::destroy<std::_List_node<lyx::Paragraph> > (this=0x4e0bc60, __p=0x4e0bd50) at /usr/include/c++/5/ext/new_allocator.h:124 #22 0x0000000000cf407e in std::__cxx11::_List_base<lyx::Paragraph, std::allocator<lyx::Paragraph> >::_M_clear (this=0x4e0bc60) at /usr/include/c++/5/bits/list.tcc:75 #23 0x0000000000cf306e in std::__cxx11::_List_base<lyx::Paragraph, std::allocator<lyx::Paragraph> >::~_List_base (this=0x4e0bc60, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_list.h:446 #24 0x0000000000cf2954 in std::__cxx11::list<lyx::Paragraph, std::allocator<lyx::Paragraph> >::~list (this=0x4e0bc60, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_list.h:507 #25 0x0000000000cf2980 in lyx::RandomAccessList<lyx::Paragraph>::~RandomAccessList (this=0x4e0bc60, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/support/RandomAccessList.h:41 #26 0x0000000000cf29fa in lyx::ParagraphList::~ParagraphList (this=0x4e0bc60, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/ParagraphList.h:23 #27 0x0000000000cf2a2a in lyx::Text::~Text (this=0x4e0bc58, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/Text.h:41 #28 0x0000000000cf2a5c in lyx::InsetText::~InsetText (this=0x4e0bc40, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/InsetText.h:33 #29 0x000000000117d665 in lyx::InsetCollapsable::~InsetCollapsable (this=0x4e0bc40, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/InsetCollapsable.cpp:60 #30 0x00000000011078b8 in lyx::InsetInfo::~InsetInfo (this=0x4e0bc40, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/InsetInfo.h:80 #31 0x00000000011078ec in lyx::InsetInfo::~InsetInfo (this=0x4e0bc40, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/insets/InsetInfo.h:80 #32 0x0000000000c671e0 in lyx::InsetList::~InsetList (this=0x4e0b1e8, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/InsetList.cpp:74 #33 0x0000000000da3988 in lyx::Paragraph::Private::~Private (this=0x4e0b110, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/Paragraph.cpp:287 #34 0x0000000000d95d1a in lyx::Paragraph::~Paragraph (this=0x4e0b0b0, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/Paragraph.cpp:1511 #35 0x0000000000cf50b8 in std::_List_node<lyx::Paragraph>::~_List_node (this=0x4e0b0a0, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_list.h:106 #36 0x0000000000cf50d8 in __gnu_cxx::new_allocator<std::_List_node<lyx::Paragraph> >::destroy<std::_List_node<lyx::Paragraph> > (this=0x4dfeaf0, __p=0x4e0b0a0) at /usr/include/c++/5/ext/new_allocator.h:124 #37 0x0000000000cf407e in std::__cxx11::_List_base<lyx::Paragraph, std::allocator<lyx::Paragraph> >::_M_clear (this=0x4dfeaf0) at /usr/include/c++/5/bits/list.tcc:75 #38 0x0000000000cf306e in std::__cxx11::_List_base<lyx::Paragraph, std::allocator<lyx::Paragraph> >::~_List_base (this=0x4dfeaf0, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_list.h:446 #39 0x0000000000cf2954 in std::__cxx11::list<lyx::Paragraph, std::allocator<lyx::Paragraph> >::~list (this=0x4dfeaf0, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_list.h:507 #40 0x0000000000cf2980 in lyx::RandomAccessList<lyx::Paragraph>::~RandomAccessList (this=0x4dfeaf0, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/support/RandomAccessList.h:41 #41 0x0000000000cf29fa in lyx::ParagraphList::~ParagraphList (this=0x4dfeaf0, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/ParagraphList.h:23 #42 0x0000000000cf2d68 in std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> >::~pair (this=0x4dfeaf0, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_pair.h:96 #43 0x0000000000cf89b8 in std::_Destroy<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > > (__pointer=0x4dfeaf0) at /usr/include/c++/5/bits/stl_construct.h:93 #44 0x0000000000cf84c5 in std::_Destroy_aux<false>::__destroy<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> >*> (__first=0x4dfeaf0, __last=0x4dfeb30) at /usr/include/c++/5/bits/stl_construct.h:103 #45 0x0000000000cf7ed6 in std::_Destroy<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> >*> (__first=0x4dfeaf0, __last=0x4dfeb30) at /usr/include/c++/5/bits/stl_construct.h:126 #46 0x0000000000cf7456 in std::_Destroy<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> >*, std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > > (__first=0x4dfeaf0, __last=0x4dfeb30) at /usr/include/c++/5/bits/stl_construct.h:151 #47 0x0000000000cf6628 in std::deque<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> >, std::allocator<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > > >::_M_destroy_data_aux (this=0x1f16200 <lyx::(anonymous namespace)::tempCut>, __first=..., __last=...) at /usr/include/c++/5/bits/deque.tcc:839 #48 0x0000000000cf54ba in std::deque<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> >, std::allocator<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > > >::_M_destroy_data (this=0x1f16200 <lyx::(anonymous namespace)::tempCut>, __first=..., __last=...) at /usr/include/c++/5/bits/stl_deque.h:2037 #49 0x0000000000cf43d0 in std::deque<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> >, std::allocator<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > > >::~deque (this=0x1f16200 <lyx::(anonymous namespace)::tempCut>, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/stl_deque.h:1039 #50 0x0000000000cf8e54 in lyx::limited_stack<std::pair<lyx::ParagraphList, std::shared_ptr<lyx::DocumentClass const> > >::~limited_stack (this=0x1f16200 <lyx::(anonymous namespace)::tempCut>, __in_chrg=<optimized out>) at /home/scott/lyxbuilds/master/repo/src/support/limited_stack.h:27 #51 0x00007ffff507bff8 in __run_exit_handlers (status=0, listp=0x7ffff54055f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82 #52 0x00007ffff507c045 in __GI_exit (status=<optimized out>) at exit.c:104 #53 0x00007ffff5062837 in __libc_start_main (main=0xc7ba8d <main(int, char**)>, argc=6, argv=0x7fffffffd9b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd9a8) at ../csu/libc-start.c:325 #54 0x0000000000c62ea9 in _start () (gdb)
signature.asc
Description: PGP signature
