[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(mgp-users 00407) Re: bugreport (segmentation fault)
- To: mgp-users@mew.org
- Subject: (mgp-users 00407) Re: bugreport (segmentation fault)
- From: Yoshifumi Nishida <nishida@csl.sony.co.jp>
- Date: Tue, 26 Sep 2000 00:50:35 +0900
- In-reply-to: <>
- Posted: Tue, 26 Sep 2000 00:50:26 +0900
- References: <> <> <>
- Reply-to: mgp-users@mew.org
From: Peter Vandenabeele <peter@mind.be>
Subject: (mgp-users 00406) Re: bugreport (segmentation fault)
Date: Mon, 25 Sep 2000 00:30:10 +0900
Message-ID: <>
peter> Thanks for the reply. Sorry for the confusion.
peter> I did actually test it now (and yesterday) with mgp 1.07a
peter> _and_ mgp 1.06a on Linux (Red Hat 6.2) and it still crashes.
peter> The reason I stayed with 1.06a was that 1.07a has another
peter> issue with transparancy that we are looking into now.
peter>
peter> Removed the images below, but that has the same effect
peter> (seg fault on t21, OK on t22)..
Hmmm... How about trying the following patch?
Anyway, I'd like to recommend not to use %cont and %bar directive in
the same line.
--
Yoshifumi Nishida <nishida@csl.sony.co.jp>
*** draw.c.orig Tue Sep 26 00:37:05 2000
--- draw.c Tue Sep 26 00:40:47 2000
***************
*** 3075,3081 ****
XFillRectangle(display, state->target, gcsbar, st, state->ypos + width, len, swidth);
state->ypos += width + swidth + VERT_GAP(char_size[caching]) / 2;
! state->maxascent = width + swidth;
}
static void
--- 3075,3082 ----
XFillRectangle(display, state->target, gcsbar, st, state->ypos + width, len, swidth);
state->ypos += width + swidth + VERT_GAP(char_size[caching]) / 2;
! if (state->maxascent < width + swidth)
! state->maxascent = width + swidth;
}
static void