Le 26/05/2017 à 23:29, Guillaume MM a écrit :
Le 26/05/2017 à 23:15, PhilipPirrip a écrit :
On 05/26/2017 05:04 PM, PhilipPirrip wrote:

I think I caught this one too. I was working on a document with a few float figures exported from inkscape as pdf, LyX 2.3.0alpha1 crashed after updating (saving as pdf) one of the figures. I was running J. Matos' version from https://copr.fedorainfracloud.org/coprs/jamatos/lyx-next/
Will try to reproduce.




This is how I crashed LyX now:
I had my 3000 word document open, four figure floats in it: Fig1.pdf to Fig4.pdf.
"/bin/cp Fig4.pdf Fig3.pdf" was enough to crash it.




Thanks, I'll have a look.



Here is a trace.


Thread 1 "lyx" received signal SIGSEGV, Segmentation fault.
0x00007ffff68612ef in QFileInfo::absoluteFilePath() const ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#0  0x00007ffff68612ef in QFileInfo::absoluteFilePath() const ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x0000000000d3a681 in lyx::support::FileName::removeFile (
    this=this@entry=0x2fd0d68) at ../../../src/support/FileName.cpp:612
#2  0x0000000000cfbcbe in lyx::graphics::Converter::Impl::converted (
this=0x2fd0d10, retval=0) at ../../src/graphics/GraphicsConverter.cpp:205 #3 0x0000000000cfc28f in std::_Mem_fn_base<void (lyx::graphics::Converter::Impl::*)(int, int), true>::operator()<int, int, void>(lyx::graphics::Converter::Impl*, int&&, int&&) const (__object=<optimized out>, this=<optimized out>)
    at /usr/include/c++/5/functional:600
#4 std::_Bind<std::_Mem_fn<void (lyx::graphics::Converter::Impl::*)(int, int)> (lyx::graphics::Converter::Impl*, std::_Placeholder<1>, std::_Placeholder<2>)>::__call<void, int&&, int&&, 0ul, 1ul, 2ul>(std::tuple<int&&, int&&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (__args=<optimized out>, this=<optimized out>)
    at /usr/include/c++/5/functional:1074
#5 std::_Bind<std::_Mem_fn<void (lyx::graphics::Converter::Impl::*)(int, int)> (lyx::graphics::Converter::Impl*, std::_Placeholder<1>, std::_Placeholder<2>)>::operator()<int, int, void>(int&&, int&&) (this=<optimized out>)
    at /usr/include/c++/5/functional:1133
#6 boost::detail::function::void_function_obj_invoker2<std::_Bind<std::_Mem_fn<void (lyx::graphics::Converter::Impl::*)(int, int)> (lyx::graphics::Converter::Impl*, std::_Placeholder<1>, std::_Placeholder<2>)>, void, int, int>::invoke(boost::detail::function::function_buffer&, int, int) (function_obj_ptr=...,
    a0=<optimized out>, a1=<optimized out>)
    at ../../3rdparty/boost/boost/function/function_template.hpp:159
#7  0x0000000000d535ed in boost::function2<void, int, int>::operator() (
    a1=<optimized out>, a0=<optimized out>, this=<optimized out>)
    at ../../../3rdparty/boost/boost/function/function_template.hpp:771
#8 boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::m_invoke<boost::function<void (int, int)>, 0u, 1u, int&, int&>(boost::function<void (int, int)>&, boost::signals2::detail::unsigned_meta_array<0u, 1u>, std::tuple<int&, int&> const&, boost::enable_if<boost::is_void<boost::function<void (int, int)>::result_type>, void>::type*) const (
    args=std::tuple containing = {...}, func=..., this=<optimized out>)
at ../../../3rdparty/boost/boost/signals2/detail/variadic_slot_invoker.hpp:105
[...]
#18 lyx::support::ForkedProcess::emitSignal (this=this@entry=0x2db1bf0)
    at ../../../src/support/ForkedCalls.cpp:116
#19 0x0000000000d4f28e in lyx::support::ForkedCallsController::handleCompletedProcesses () at ../../../src/support/ForkedCalls.cpp:662 #20 0x0000000000a72ba9 in lyx::frontend::GuiApplication::handleRegularEvents (
    this=<optimized out>)
    at ../../../../src/frontends/qt4/GuiApplication.cpp:2680



Reply via email to