Georg Baum wrote:
> Am Mittwoch, 14. Juni 2006 19:34 schrieb Peter Kümmel:
>> Under Windows it crahes here when leaving Lyx:
>>
>> src/lyx_main.C
>> #else
>>      if (err_sig == SIGSEGV || !getEnv("LYXDEBUG").empty())
>> #endif
>>              lyx::support::abort();
>>      exit(0);  <-------------------- line 442
> 
> Sorry, that happens here too, I accidentally tested the wrong executable.
> I begin to understand more and more: We may not delete a QtView (which is 
> derived from QmainWindow) after the main QApplication does not exist 
> anymore.
> Does this patch work for you?
> 
> 
> Georg

Still the same:

        
        lyx-qt4.exe!lyx::support::abort()  Line 22 + 0x8 bytes  C++
>       lyx-qt4.exe!error_handler(int err_sig=11)  Line 448     C++
        msvcr80d.dll!10212fc0()         
        lyx-qt4.exe!__tmainCRTStartup()  Line 603 + 0x17 bytes  C
        lyx-qt4.exe!boost::scoped_ptr<LyXScreen>::~scoped_ptr<LyXScreen>()  
Line 77 + 0xb bytes C++
        lyx-qt4.exe!BufferView::Pimpl::~Pimpl()  + 0x8a bytes   C++
        lyx-qt4.exe!BufferView::Pimpl::`scalar deleting destructor'()  + 0x16 
bytes     C++
        lyx-qt4.exe!BufferView::~BufferView()  Line 70 + 0x1e bytes     C++
        lyx-qt4.exe!BufferView::`scalar deleting destructor'()  + 0x16 bytes    
C++
        lyx-qt4.exe!boost::checked_delete<BufferView>(BufferView * 
x=0x024f0190)  Line 34 + 0x1c bytes  C++
        lyx-qt4.exe!boost::detail::sp_counted_impl_p<BufferView>::dispose()  
Line 76 + 0xc bytes        C++
        lyx-qt4.exe!boost::detail::sp_counted_base::release()  Line 89 + 0xf 
bytes      C++
        lyx-qt4.exe!boost::detail::shared_count::~shared_count()  Line 163      
C++
        lyx-qt4.exe!boost::shared_ptr<BufferView>::~shared_ptr<BufferView>()  + 
0x19 bytes      C++
        lyx-qt4.exe!LyXView::~LyXView()  Line 74 + 0x80 bytes   C++
        lyx-qt4.exe!lyx::frontend::QtView::~QtView()  + 0x7a bytes      C++
        lyx-qt4.exe!lyx::frontend::QtView::`scalar deleting destructor'()  + 
0x16 bytes C++
        
lyx-qt4.exe!boost::checked_delete<lyx::frontend::QtView>(lyx::frontend::QtView 
* x=0x0252bad0)  Line 34 + 0x23 bytes    C++
        
lyx-qt4.exe!boost::detail::sp_counted_impl_p<lyx::frontend::QtView>::dispose()  
Line 76 + 0xc bytes     C++
        lyx-qt4.exe!boost::detail::sp_counted_base::release()  Line 89 + 0xf 
bytes      C++
        lyx-qt4.exe!boost::detail::shared_count::~shared_count()  Line 163      
C++
        
lyx-qt4.exe!boost::shared_ptr<lyx::frontend::QtView>::~shared_ptr<lyx::frontend::QtView>()
  + 0x19 bytes        C++
        lyx-qt4.exe!lyx_gui::start(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> > & 
batch="", const 
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> 
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > > > & files=[0](), unsigned int width=530, unsigned int height=456, int 
posx=273, int posy=177, bool maximize=false)  Line 269 + 0x18 bytes        C++
        lyx-qt4.exe!LyX::exec2(int & argc=1, char * * argv=0x01fb5e10)  Line 
346 + 0x33 bytes   C++
        lyx-qt4.exe!lyx_gui::exec(int & argc=1, char * * argv=0x01fb5e10)  Line 
222 + 0x14 bytes        C++
        lyx-qt4.exe!LyX::priv_exec(int & argc=1, char * * argv=0x01fb5e10)  
Line 231 + 0xd bytes        C++
        lyx-qt4.exe!LyX::exec(int & argc=1, char * * argv=0x01fb5e10)  Line 155 
C++
        lyx-qt4.exe!main(int argc=1, char * * argv=0x01fb5e10)  Line 47 + 0xd 
bytes     C++
        lyx-qt4.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes  C
        lyx-qt4.exe!mainCRTStartup()  Line 403  C

Reply via email to