Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF: Bug on my compilation of the thing



I wrote earlier today:
>experiencing occasional crashes (on SGI IRIX 5.3) under 0.92.5 nowadays.
>Haven't had the time to track them down yet, but I thought I'd mention it,
>just as an FYI. When(If) I do get time I'll do a proper report.

What timing! It just happened again. Here's the stack dump out of dbx:

(dbx) where
>  0 _kill(0x3145, 0x6, 0x7fffaa50, 0x0) ["kill.s":15, 0xfae25d4]
   1 raise(0x6, 0x6, 0x7fffaa50, 0x0) ["raise.c":22, 0xfae3928]
   2 abort(0x3145, 0x6, 0x7fffaa50, 0x0) ["abort.c":37, 0xfb17354]
   3 fatal_signal(0x1, 0x1, 0x7fffaa50, 0x0) ["init.c":516, 0x4329fc]
   4 rec_sigsegv(0xb, 0x6, 0x7fffaa50, 0x0) ["init.c":460, 0x432740]
   5 _sigtramp(0x3145, 0x6, 0x7fffab10, 0x0) ["sigtramp.s":59, 0xfad5958]
   6 change_abil(0xfabf1e4, 0x7fffaa60, 0x2, 0x1019fb8c) ["living.c":421, 0x48b328]
   7 remove_force(0x7fffaa60, 0x7fffaa60, 0x2, 0x1019fb8c) ["time.c":127, 0x474bd8]
   8 process_object(0x7fffaa60, 0x7fffaa60, 0x2, 0x1019fb8c) ["time.c":668, 0x477188]
   9 process_events(0x0, 0x7fffaa60, 0x2, 0x1019fb8c) ["main.c":683, 0x43f8c0]
   10 main(0x2, 0x7fffaf4c, 0x7fffaf58, 0x1019fb8c) ["main.c":866, 0x4402cc]
   11 __start() ["crt1text.s":133, 0x4114ac]
(dbx) 

Comments: at the moment this happened, my char wasn't doing a darned thing,
just avoiding monsters while running through a new map. Sometimes it seems
like my char definitely causes the crash, but not this time.

I can't see any obvious goofs around the offending source lines, but then
I don't know much about the way the program is structured..

Hmm.. but in the stack trace.. The first parameter of change_abil looks fishy;
it's out of range. (compare with other pointers).. (I gather from looking
at the typedef of object in struct.h that op->env (line 127 in server/time.c)
is supposed to point to another object (or NULL), unless there's some
deliberate funny business going on somewhere).

--
John R. Murray murray@indigo2.scri.fsu.edu     http://www.scri.fsu.edu/~murray/
FSU Aikido Club/North Florida Aikikai       home of Miko's Aikido MPEGs and the
Tallahassee, FL                            WWW Aikido online calendar of events

Politics, n: from "poly ticks", short for "many small bloodsucking insects"
    -- Henry Spencer