[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] RE: Texmacs segfault
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] RE: Texmacs segfault |
Date: |
Wed, 16 Oct 2002 13:30:27 +0200 (MET DST) |
> I added the following piece of code to src/Edit/Interface/edit_interface.cc
> in function void edit_interface_rep::handle_clear(clear_event ev) :
> -------------------------------------------------------------------
> win->set_background (dis->get_color (bg));
> +
> + if (nil(eb))
> + cerr << "edit_interface.cc : eb is NULL\n" << endl;
> +
> win->clear (max (eb->x1, X1), max (eb->y1, Y1),
> min (eb->x2, X2), min (eb->y2, Y2));
> -------------------------------------------------------------------
>
> So the crash I see is now isolated to this piece of code.
> Here a NULL eb rep is dereferenced in the first call to max().
> As I mentioned in previous mail the "-d" or "-e" command line args
> are sufficient for this to not happen at all.
>
> I see that this code will be rewritten soon, but
> in the mean time any ideas?
Please try to win->clear (X1, Y1, X2, Y2) in the case when nil(eb).
- Re: [Texmacs-dev] RE: Texmacs segfault, (continued)
- Re: [Texmacs-dev] RE: Texmacs segfault, Felix Breuer, 2002/10/23
- Re: [Texmacs-dev] RE: Texmacs segfault, Joris van der Hoeven, 2002/10/23
- Re: [Texmacs-dev] RE: Texmacs segfault, Felix Breuer, 2002/10/23
- Re: [Texmacs-dev] RE: Texmacs segfault, Joris van der Hoeven, 2002/10/11
- Re: [Texmacs-dev] RE: Texmacs segfault, David Allouche, 2002/10/15
[Texmacs-dev] RE: Texmacs segfault, Igor V. Kovalenko, 2002/10/13
[Texmacs-dev] RE: Texmacs segfault, Igor V. Kovalenko, 2002/10/15
- Re: [Texmacs-dev] RE: Texmacs segfault,
Joris van der Hoeven <=