Re: Segfault on math panel

2002-11-27 Thread Angus Leeming
On Wednesday 27 November 2002 3:17 pm, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > | On Wed, Nov 27, 2002 at 04:03:03PM +0100, Lars Gullik Bjønnes wrote: > >> "There is no such thing as a valid naked pointer." > | > | Tell the people who implement boost:: or std::vector

Re: Segfault on math panel

2002-11-27 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Nov 27, 2002 at 04:03:03PM +0100, Lars Gullik Bjønnes wrote: >> "There is no such thing as a valid naked pointer." > | Tell the people who implement boost:: or std::vector<>. > | Anyway, I think it's that time of the year again when it's better t

Re: Segfault on math panel

2002-11-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 27 November 2002 3:03 pm, Lars Gullik Bjønnes wrote: >> You already did, you forgot to initialize it. >> (and we have done that mistake in a lot of other places as well earlier) > | I can write invalid code with boost::smart_ptrs too you kno

Re: Segfault on math panel

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 04:03:03PM +0100, Lars Gullik Bjønnes wrote: > "There is no such thing as a valid naked pointer." Tell the people who implement boost:: or std::vector<>. Anyway, I think it's that time of the year again when it's better to leave lyx-devel alone. Things are broken by arbit

Re: Segfault on math panel

2002-11-27 Thread Angus Leeming
On Wednesday 27 November 2002 3:03 pm, Lars Gullik Bjønnes wrote: > You already did, you forgot to initialize it. > (and we have done that mistake in a lot of other places as well earlier) I can write invalid code with boost::smart_ptrs too you know. > | I would say that this is a > | perfectly v

Re: Segfault on math panel

2002-11-27 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Nov 27, 2002 at 02:58:57PM +, Angus Leeming wrote: >> There's no need to make things complicated just for the sake of making things >> complicated. There has to be a real reason too... > | But making things complicated ranks high as a real r

Re: Segfault on math panel

2002-11-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 27 November 2002 2:48 pm, Lars Gullik Bjønnes wrote: >> But do we like all these bald pointers? >> >> void ControlMath::showDaughter(void * key) >> { >> Store::iterator it = daughters_.find(key); >> weak_ptr new_active = >>

Re: Segfault on math panel

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 02:58:57PM +, Angus Leeming wrote: > There's no need to make things complicated just for the sake of making things > complicated. There has to be a real reason too... But making things complicated ranks high as a real reason... Andre' -- Those who desire to give up

Re: Segfault on math panel

2002-11-27 Thread Angus Leeming
On Wednesday 27 November 2002 2:48 pm, Lars Gullik Bjønnes wrote: > But do we like all these bald pointers? > > void ControlMath::showDaughter(void * key) > { > Store::iterator it = daughters_.find(key); > weak_ptr new_active = > (it == daughters_.end()) ? 0 : it->second;

Re: Segfault on math panel

2002-11-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 27 November 2002 12:43 pm, Lars Gullik Bjønnes wrote: >> Angus Leeming <[EMAIL PROTECTED]> writes: >> | On Wednesday 27 November 2002 3:17 am, John Levon wrote: >> | > but I can reproduce your math crash >> | >> | Which also has a silly caus

Re: Segfault on math panel

2002-11-27 Thread Angus Leeming
On Wednesday 27 November 2002 12:43 pm, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | On Wednesday 27 November 2002 3:17 am, John Levon wrote: > | > but I can reproduce your math crash > | > | Which also has a silly cause (although I can't reproduce it.) Bet it's > | fi

Re: Segfault on math panel

2002-11-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 27 November 2002 3:17 am, John Levon wrote: | > but I can reproduce your math crash | | Which also has a silly cause (although I can't reproduce it.) Bet it's fixed | by this though: | | ControlMath::ControlMath(LyXView & lv, Dialogs & d

Re: Segfault on math panel

2002-11-27 Thread Angus Leeming
On Wednesday 27 November 2002 3:17 am, John Levon wrote: > but I can reproduce your math crash Which also has a silly cause (although I can't reproduce it.) Bet it's fixed by this though: ControlMath::ControlMath(LyXView & lv, Dialogs & d) - : ControlDialogBD(lv, d) + : ControlDialo

Re: Segfault on math panel

2002-11-26 Thread John Levon
On Wed, Nov 27, 2002 at 12:28:20PM +1030, Darren Freeman wrote: > the segfault on file->new file->save just went away as of the last that was a silly but I can reproduce your math crash john

Re: Segfault on math panel

2002-11-26 Thread Darren Freeman
On Tue, 2002-11-26 at 21:40, Angus Leeming wrote: > On Tuesday 26 November 2002 10:59 am, Darren Freeman wrote: > > Dear list, > > > > Open the math panel. > > > > Click a button. > > > > *BOOM* > > > > segfault > > I do not see this at all, so it's going to be hard to fix your problem unless > y

Re: Segfault on math panel

2002-11-26 Thread John Levon
On Tue, Nov 26, 2002 at 09:29:33PM +1030, Darren Freeman wrote: > Wassup wit all these segfaults in the CVS as of about yesterday??? seems the boost update screwed us over > Never before has an editor segfaulted and left me get back in just > seconds to the exact character I was editing =) The

Re: Segfault on math panel

2002-11-26 Thread Angus Leeming
On Tuesday 26 November 2002 10:59 am, Darren Freeman wrote: > Dear list, > > Open the math panel. > > Click a button. > > *BOOM* > > segfault I do not see this at all, so it's going to be hard to fix your problem unless you supply something useful like a backtrace gdb lyx gdb> bt gdb> up > Was

Segfault on math panel

2002-11-26 Thread Darren Freeman
Dear list, Open the math panel. Click a button. *BOOM* segfault Wassup wit all these segfaults in the CVS as of about yesterday??? I've said it before and I'll say it again. Autosave in LyX ROCKS!!! Never before has an editor segfaulted and left me get back in just seconds to the exact charac