[Freeciv-Dev] (PR#6337) Hash registration
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#6337) Hash registration |
From: |
"Cameron Morland" <cameron@xxxxxxxxxx> |
Date: |
Tue, 30 Sep 2003 12:50:43 -0700 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
Hi,
I don't know what to do in this circumstance. In sanitycheck.c:279 we
want to assert(!is_ground_unit(find_unit_by_id(punit->transported_by))),
but find_unit_by_id returns NULL in my particular case, indicating that
the unit is not "registered". I don't get this hash stuff; what should
we do if the unit is not registered?
Unfortunately I seem unable to cause this particular crash to occur
again, but if someone could answer, I'll know next time.
Program received signal SIGSEGV, Segmentation fault.
0x080ae87e in unit_type (punit=0x0) at unittype.c:96
96 return get_unit_type(punit->type);
(gdb) bt
#0 0x080ae87e in unit_type (punit=0x0) at unittype.c:96
#1 0x080aca0e in is_ground_unit (punit=0x0) at unit.c:346
#2 0x08083676 in check_units () at sanitycheck.c:279
#3 0x080839c0 in sanity_check () at sanitycheck.c:345
#4 0x0804eae2 in main_loop () at srv_main.c:1481
#5 0x0804ec8e in srv_main () at srv_main.c:1590
#6 0x08049f46 in main (argc=3, argv=0xbfffe024) at civserver.c:154
#7 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
- [Freeciv-Dev] (PR#6337) Hash registration,
Cameron Morland <=
|
|