This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug: RUN: xform_unit_view weirdness with


On Sat, Jul 27, 2002 at 08:09:38AM -0400, Steven S. Dick wrote:
> However, this last save dies on recovery.  It segfaults here:
> #0  0x811c662 in repair_if_damaged (unit=0x81d76e0) at plan.c:1760
> 
>     if (u_hp_recovery(u) <= 0
>     	&& (any_auto_repair ? !will_be_auto_repaired[u] : TRUE))
> 
> u = 3
> any_auto_repair = -1
> will_be_auto_repaired[3] = 0x0

Sorry, mistranscribed that.
will_be_auto_repaired = 0x0
so will_be_auto_repaired[u] would be a null pointer dereference.

Also, the warning message "xform_unit_view weirdness with"
comes from line 727 of ui.c; once passing the warning, the display
appears totally disabled, and refreshing does not restore it.

	Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]