Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: Do I feel more comfortable? Not much, as now one has to remember to add a member variable to this list (and hopefully I didn't miss one in the first place). What do you think? That Tabular should be merged with InsetTabular. Or at

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Alfredo Braunstein wrote: >> Jean-Marc Lasgouttes wrote: >> >>> Wouldn't it be safer to define a Tabular::operator= and update the >>> pointers there? Or it is that I do not know what I am talking about? >>> >> >> This would be it. > Why do you define operator=()

Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Jean-Marc Lasgouttes wrote: Wouldn't it be safer to define a Tabular::operator= and update the pointers there? Or it is that I do not know what I am talking about? This would be it. Why do you define operator=() ? Implementing the copy ctor is sufficent AF

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Wouldn't it be safer to define a Tabular::operator= and update the > pointers there? Or it is that I do not know what I am talking about? This would be it. Do I feel more comfortable? Not much, as now one has to remember to add a member variable to this list (and ho

Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Wouldn't it be safer to define a Tabular::operator= and update the pointers there? Or it is that I do not know what I am talking about? operator= will automatically use the copy ctor. But Alfredo's pa

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: >> This seems to fix it. The problem was that a default Tabular::Tabular was >> called and so InsetTableCell inside CellData inside a new Tabular still >> pointed to the old Tabular. > > Wouldn't it be safer to define a Tabular::operator= and update the > pointers ther

Re: crash on tabular

2008-05-23 Thread Jean-Marc Lasgouttes
Alfredo Braunstein <[EMAIL PROTECTED]> writes: > Alfredo Braunstein wrote: > >> File->New >> Insert table, leave 5x5 default >> select it, cut it paste it. enter the table with the cursor -> crash > > This seems to fix it. The problem was that a default Tabular::Tabular was > called and so InsetTa

Re: crash on tabular

2008-05-23 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Alfredo Braunstein wrote: File->New Insert table, leave 5x5 default select it, cut it paste it. enter the table with the cursor -> crash This seems to fix it. The problem was that a default Tabular::Tabular was called and so InsetTableCell inside CellData ins

Re: crash on tabular

2008-05-23 Thread Alfredo Braunstein
Alfredo Braunstein wrote: > File->New > Insert table, leave 5x5 default > select it, cut it paste it. enter the table with the cursor -> crash This seems to fix it. The problem was that a default Tabular::Tabular was called and so InsetTableCell inside CellData inside a new Tabular still pointed

Re: crash on tabular

2008-05-20 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Alfredo Braunstein <[EMAIL PROTECTED]> writes: > >> File->New >> Insert table, leave 5x5 default >> select it, cut it paste it. enter the table with the cursor -> crash > > You only visit us for bad news, don't you? I leave you alone for 5 minutes and you manage to

Re: crash on tabular

2008-05-20 Thread Jean-Marc Lasgouttes
Alfredo Braunstein <[EMAIL PROTECTED]> writes: > File->New > Insert table, leave 5x5 default > select it, cut it paste it. enter the table with the cursor -> crash You only visit us for bad news, don't you? JMarc

Re: crash on tabular

2008-05-20 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: I hope I don't have to say to you that you are welcome to give comment even if you are not actively participating, do I? Uhm. What about: one of LyX strongest points has always been social skills of its developers That's a good one.

Re: crash on tabular

2008-05-20 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Alfredo Braunstein wrote: >> Abdelrazak Younes wrote: >> >> >>> That was just a way to say "Welcome back Alfredo!" :-) >>> >> >> Thanks but you know, I never really left, I'm just not doing anything >> useful :-/ >> > > So you are secretly having fun watching

Re: crash on tabular

2008-05-20 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: That was just a way to say "Welcome back Alfredo!" :-) Thanks but you know, I never really left, I'm just not doing anything useful :-/ So you are secretly having fun watching us having our little dramas? Bad boy... I hope I d

Re: crash on tabular

2008-05-20 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Alfredo Braunstein wrote: >> File->New >> Insert table, leave 5x5 default >> select it, cut it paste it. enter the table with the cursor -> crash >> > Why don't you fix it? Let us call it plan B :-p > That was just a way to say "Welcome back Alfredo!" :-) Thanks bu

Re: crash on tabular

2008-05-20 Thread Abdelrazak Younes
Alfredo Braunstein wrote: File->New Insert table, leave 5x5 default select it, cut it paste it. enter the table with the cursor -> crash Why don't you fix it? That was just a way to say "Welcome back Alfredo!" :-) Abdel.

crash on tabular

2008-05-20 Thread Alfredo Braunstein
File->New Insert table, leave 5x5 default select it, cut it paste it. enter the table with the cursor -> crash /usr/include/c++/4.2/debug/vector:205:error: attempt to subscript container with out-of-bounds index 24, but container only holds 0 elements. Objects involved in the operation: sequ

Re: Bug: Crash on tabular panel call.

2003-01-27 Thread Juergen Spitzmueller
Joao Luis Meloni Assirati wrote: > I managed to produce a crash by trying to invoke the tabular panel. Open > the attached document and, without moving the cursor, click with the right > mouse button on any cell of the table. This leads to a crash. Below is the > back trace with gdb. Now bug 850.

Re: Bug: Crash on tabular panel call.

2003-01-26 Thread Juergen Spitzmueller
John Levon wrote: > > Is it possible that this is the reason for the crash? If yes, where > > should we put this in qt? > > When I first looked at this, I could find no rationale for that code. > Probably I was wrong I'm not shure either. I do not quite understand the reason for the function and

Re: Bug: Crash on tabular panel call.

2003-01-25 Thread John Levon
On Sat, Jan 25, 2003 at 07:33:03PM +0100, Juergen Spitzmueller wrote: > Is it possible that this is the reason for the crash? If yes, where should we > put this in qt? When I first looked at this, I could find no rationale for that code. Probably I was wrong regards john -- "In the crack house

Re: Bug: Crash on tabular panel call.

2003-01-25 Thread Juergen Spitzmueller
Joao Luis Meloni Assirati wrote: > I managed to produce a crash by trying to invoke the tabular panel. Open > the attached document and, without moving the cursor, click with the right > mouse button on any cell of the table. This leads to a crash. Below is the > back trace with gdb. Confirmed (bu

Re: Bug: Crash on tabular panel call.

2003-01-24 Thread Joao Luis Meloni Assirati
On Sat, 25 Jan 2003, Joao Luis Meloni Assirati wrote: > > Hi, > > I managed to produce a crash by trying to invoke the tabular panel. Open > the attached document and, without moving the cursor, click with the right > mouse button on any cell of the table. This leads to a crash. Below is the > b

Bug: Crash on tabular panel call.

2003-01-24 Thread Joao Luis Meloni Assirati
Hi, I managed to produce a crash by trying to invoke the tabular panel. Open the attached document and, without moving the cursor, click with the right mouse button on any cell of the table. This leads to a crash. Below is the back trace with gdb. Regards, João. GNU gdb 2002-04-01-cvs Copyright