[Anjuta-list] Re: [Anjuta-devel] [Help Wanted] Recent stability issues with Anjuta 1.x
- From: Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in>
- To: Jens Georg <mail jensgeorg de>
- Cc: Anjuta devel <anjuta-devel lists sourceforge net>, Anjuta List <anjuta-list lists sourceforge net>, Johannes Schmid <johannes schmid gmx de>, Stef <demurgets free fr>, Naba Kumar <kh_naba yahoo com>, Andy Piper <andy piper freeuk com>
- Subject: [Anjuta-list] Re: [Anjuta-devel] [Help Wanted] Recent stability issues with Anjuta 1.x
- Date: Thu Jan 24 20:01:03 2002
Wow Jens - I owe you a beer (or whatever you prefer) - get in touch the
next time you are in Calcutta !
OK - about the patch, I have a slightly better idea, simply increase the
allocated memory instead of doing the (sv_max_t -1) stuff. This,
because, we should play safe if case there an attempt to access
sv_max_t'th element. So, change
sv_icons = g_new(GdkPixmap *, sv_max_t);
sv_bitmaps = g_new(GdkBitmap *, sv_max_t);
to
sv_icons = g_new(GdkPixmap *, (sv_max_t+1));
sv_bitmaps = g_new(GdkBitmap *, (sv_max_t+1));
in an_symbol_view.c:175
and
fv_icons = g_new(GdkPixmap *, fv_max_t);
fv_bitmaps = g_new(GdkBitmap *, fv_max_t);
to
fv_icons = g_new(GdkPixmap *, (fv_max_t+1));
fv_bitmaps = g_new(GdkBitmap *, (fv_max_t+1));
in an_file_view.c:41
That's all. (Your line numbers may vary since my local tree has some
more stuff currently)
However, we need to make sure that we've really whacked the bug on the
head - so I'll try and put up another tarball AND a unified patch (after
synching with CVS head - CVS tarball is broken in the web site at the
moment :-(). Hopefully, we should be back on track by Tuesday at most.
About Solaris compilation, I'm upto gnome-core, hopefully I'll be able
to start fixing the Anjuta specific commpile issues by day end today. IN
that case, I'd like to fix as many things as possible before submitting
the unified patch. Is that OK with people ?
Rgds,
Biswa.
On Thu, 2002-01-24 at 21:18, Jens Georg wrote:
>
>
> On 23 Jan 2002 11:50:30 +0530
> "Biswapesh Chattopadhyay" <biswapesh_chatterjee tcscal co in> wrote:
>
> > Hi all
> >
> > We have been experiencing some serious stability issues with the recent
> > builds of Anjuta 1.x - probably to do with the new file and symbol
> > browsers. Unfortunately, these are pretty difficult to correct since
> > they are apprantly related to memory corruption. We desperately need
> > some help on this issue.
> >
> > I've uploaded a tarball of my local tree here:
> >
> > http://www.angelfire.com/linux/biswapesh/Downloads/anjuta-0.1.9-bc.tar.gz
>
> ok, solved the problem for this tarball, patch is attached.
>
> it was an array-out-of-bounds-problem - biswa, check if i modified
> something in a way that shouldn't be.
>
> Maybe gcc 2.96 and 3.0 are better at handling array out of bounds - things
>
> it does not work with current cvs... i'll track that down now...
>
> --
> * Origin: http://www.jensgeorg.de
>
> (See attached file: anjuta_kill.diff)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]