> So, please test.  Should fix bugs # 218 and #221.  And un-break all of the
lines
> that my last commit broke.

:-(  No, problem is back. As soon as I type something to command Roger, same
thing happens.
Line 421:       *(Uint32*)pixel = color;
The pointer 'pixel' points into the ether / is invalid.

Call stack:
lineColor2(SDL_Surface * 0x00844e20, short 598, short 338, short 598, short
401, unsigned int 0) line 421 + 6 bytes
sdl_draw_line(_gfx_driver * 0x100ab120, rect_t {...}, gfx_color_t {...}, int
2, int 0) line 480 + 42 bytes
_gfxop_draw_line_clipped(gfx_state_t * 0x00435308 static_gfx_state, rect_t
{...}, gfx_color_t {...}, int 2, int 0) line 994 + 76 bytes
gfxop_draw_rectangle(gfx_state_t * 0x00435308 static_gfx_state, rect_t
{...}, gfx_color_t {...}, int 2, int 0) line 1091 + 67 bytes
_gfxwop_rect_draw(_gfxw_widget * 0x01318d38, point_t {...}) line 589 + 135
bytes
_gfxwop_container_draw_contents(_gfxw_widget * 0x0128fd38, _gfxw_widget *
0x01318ae0) line 1397 + 36 bytes
_gfxwop_list_draw(_gfxw_widget * 0x0128fd38, point_t {...}) line 1607 + 16
bytes
_gfxwop_port_draw(_gfxw_widget * 0x012eef20, point_t {...}) line 1986 + 37
bytes
_gfxwop_container_draw_contents(_gfxw_widget * 0x00b68eb0, _gfxw_widget *
0x01318970) line 1397 + 36 bytes
_gfxwop_port_draw(_gfxw_widget * 0x00b68eb0, point_t {...}) line 1993 + 16
bytes
_gfxwop_container_draw_contents(_gfxw_widget * 0x00b4e420, _gfxw_widget *
0x00b4f218) line 1397 + 36 bytes
_gfxwop_visual_draw(_gfxw_widget * 0x00b4e420, point_t {...}) line 1841 + 16
bytes
kNewWindow(_state * 0x008831d8, int 19, int 9, unsigned short 33922) line
2372 + 49 bytes
run_vm(_state * 0x008831d8, int 0) line 769 + 136 bytes
_game_run(_state * 0x008831d8, int 0) line 1554 + 41 bytes
game_run(_state * * 0x00435300 gamestate) line 1620 + 11 bytes
main(int 1, char * * 0x00880cc0) line 1064 + 10 bytes
mainCRTStartup() line 206 + 25 bytes

Try again good sir! :-)
Alex.

----- Original Message -----
From: "Stuffed Crust" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 7:10 AM
Subject: [freesci-develop] Re: SQ3 bug


> On Sat, Jul 14, 2001 at 11:47:44AM +0930, Alex Angas wrote:
> > Call stack is:
> > > lineColor(SDL_Surface * 0x008353c8, short 598, short 338, short 598,
short
> > 401, unsigned int 0) line 422 + 6 bytes
>
> Okay, this is bogus.  We're not clipping, so the scaling code is
> generating pixels outside the drawable area.
>
> If you look at the parameters, we're drawing a point at (598,401) which
> is outside the 640x400 window.
>
> I'm going to revert to the old linedraw code and rip out the
> sdl_gfxprimitive library.
>
>  - Pizza
> --
> Solomon Peachy                                    pizzaATfucktheusers.org
> I ain't broke, but I'm badly bent.                           ICQ# 1318344
> Patience comes to those who wait.
>     ...It's not "Beanbag Love", it's a "Transanimate Relationship"...
>


Reply via email to