On Wednesday 20 February 2002 6:44 pm, Dekel Tsur wrote: Could you run it with -dbg graphics. Then you should see the conversion script. I agree though we shouldn't crash.
I think that we need a test on the success of the "cp" command. See GraphicsConverter move_file for what's going on. Or that pront out of the shell script. I take it that "mv" failed because your /tmp dir is on a different partition? Can you send me the document and tell me what converters you use? Angus > When loading a file with 3 jpeg images, I get the following > > # InsetGraphics = 1 > # InsetGraphics = 2 > # InsetGraphics = 3 > > Program received signal SIGSEGV, Segmentation fault. > 0x400bf67d in xpmParseData () > (gdb) mv: /tmp/lyx_tmpdir30964a30964/gconversion30964a30964.xpm: No such file or directory > cp: /tmp/lyx_tmpdir30964a30964/gconversion30964a30964.xpm: No such file or directory > (gdb) bt > > #0 0x400bf67d in xpmParseData () > #1 0x400be87b in xpmParseData () > #2 0x400bcb31 in XpmReadFileToXpmImage () > #3 0x813b9a3 in grfx::GImageXPM::loadImage () > #4 0x8138378 in grfx::GCacheItem::loadImage () > #5 0x8138046 in grfx::GCacheItem::imageConverted () > #6 0x81dbf91 in SigC::ObjectSlot1_<void, lyxstring const &, grfx::GCacheItem>::callback () > #7 0x81afb76 in SigC::Signal1<void, lyxstring const &, SigC::Marshal<void> >::emit () > #8 0x813b296 in grfx::ConvProcess::converted () > #9 0x81dbeb9 in SigC::ObjectSlot3_<void, lyxstring, int, int, grfx::ConvProcess>::callback () > #10 0x81f2b29 in SigC::Signal3<void, lyxstring, int, int, SigC::Marshal<void> >::emit () > #11 0x81a6b6e in Forkedcall::emitSignal () > #12 0x81a7628 in ForkedcallsController::timer () > #13 0x81f234d in SigC::ObjectSlot0_<void, ForkedcallsController>::callback () > #14 0x81aea01 in SigC::Signal0<void, SigC::Marshal<void> >::emit () > #15 0x813d1b6 in Timeout::emit () > #16 0x8176bec in C_intern_timeout_cb () > #17 0x400ac58d in fl_handle_timeouts () > #18 0x4008c74a in fl_set_idle_delta () > #19 0x4008b5f3 in fl_last_event () > #20 0x4008bee2 in fl_treat_interaction_events () > #21 0x4008bf1c in fl_check_forms () > #22 0x8173419 in GUIRunTime::runTime () > #23 0x809d3f1 in LyXGUI::runTime () > #24 0x809da0a in LyX::LyX () > #25 0x80b76a6 in main ()