[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] GCC 3.2 segfaults...
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] GCC 3.2 segfaults... |
Date: |
Fri, 8 Nov 2002 19:47:22 +0100 (MET) |
> The test described in my previous mail shows the same behaviour, i.e. some
> tree object
> must have been deleted more than once.
>
> I'm unable to reproduce this in non-optimized build. Also the bug seems to be
> unrelated
> to auto_save (i.e. reproducible without).
>
> Anyone have any ideas?
Well, all this looks very much to what I experienced with g++-3.0 :v(100x(
If a tree gets deleted more than once, then this is probably due to
the compiler (whence an agrravation if you use optimization) and
the same bug is likely to occur at *several* and *random* places
in the code (whence its possible appearance independently from auto-save).
If the bug is really this double-destruction bug, then I see three possible
fixes:
1) Finding a way to quickly trace down the routines where objects get
destroyed twice and make "no-op changes" to the code which make
the compiler obtemperate. This is only possible if the bugs occurs
at a few places (this is likely, because many other people would have
complained otherwise).
2) Support Hans Boehme's gc. This solves the problem for most pointer
objects whose destructors would become no-ops. However, there will
still be some destructors left which should do something. If we are
unlucky, then this aproach will not eliminate all bugs.
3) Wait for the g++ guys to do their job.
> Anyway, everyone using GCC-3.2 should be advised to use GCC-3.2 older than
> 20021029
> to eliminate a very obscure bug with destructors. Or wait for GCC-3.2.1 which
> should be
> released in a couple of weeks.
And which, hopefully, does eliminate this bug :^\=\
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., (continued)
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Joris van der Hoeven, 2002/11/04
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Igor V. Kovalenko, 2002/11/05
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Igor V. Kovalenko, 2002/11/05
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Igor V. Kovalenko, 2002/11/08
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., David Allouche, 2002/11/08
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Igor V. Kovalenko, 2002/11/08
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Joris van der Hoeven, 2002/11/08
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Igor V. Kovalenko, 2002/11/08
- Re: [Texmacs-dev] [PATCH] solves GCC 3.2 auto_save segfault for me..., Joris van der Hoeven, 2002/11/08
- [Texmacs-dev] GCC 3.2 segfaults..., Igor V. Kovalenko, 2002/11/08
- Re: [Texmacs-dev] GCC 3.2 segfaults...,
Joris van der Hoeven <=
- Re: [Texmacs-dev] GCC 3.2 status update, Igor V. Kovalenko, 2002/11/11
- Re: [Texmacs-dev] GCC 3.2 status update, Joris van der Hoeven, 2002/11/12
- [Texmacs-dev] Usability of TeXmacs on 2 year old computers, Álvaro Tejero Cantero, 2002/11/12
- Re: [Texmacs-dev] Usability of TeXmacs on 2 year old computers, Joris van der Hoeven, 2002/11/12
- Re: [Texmacs-dev] Usability of TeXmacs on 2 year old computers, Álvaro Tejero Cantero, 2002/11/13
- Re: [Texmacs-dev] Usability of TeXmacs on 2 year old computers, David Allouche, 2002/11/13
- Re: [Texmacs-dev] GCC 3.2 status update, Felix Breuer, 2002/11/12
- Re: [Texmacs-dev] GCC 3.2 status update, Alexander Isacson, 2002/11/12
- Re: [Texmacs-dev] GCC 3.2 status update, Felix Breuer, 2002/11/12
- Re: [Texmacs-dev] GCC 3.2 status update, Alexander Isacson, 2002/11/12