Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2006:
[Freeciv-Dev] Re: assert(0) doesn't tell me enough
Home

[Freeciv-Dev] Re: assert(0) doesn't tell me enough

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: assert(0) doesn't tell me enough
From: banjo <banjo@xxxxxxxxxx>
Date: Wed, 25 Jan 2006 20:16:23 +1300

Jason Dorje Short wrote:
banjo wrote:

Hey

With some of my rndCiv rulesets, the server dies with this message...

civserver: requirements.c:298: req_source_get_values: Assertion `0' failed.
Aborted

here's a backtrace from the server...


2: banjo has connected from localhost.localdomain.

Breakpoint 1, req_source_get_values (source=0xbfffb52c, type=0xbfffa3a4, value=0xbfffa3b0)
    at requirements.c:298
298       assert(0);
(gdb) bt
#0 req_source_get_values (source=0xbfffb52c, type=0xbfffa3a4, value=0xbfffa3b0)
    at requirements.c:298
#1 0x08107972 in req_get_values (req=0xbfffb52c, type=0xbfffa3a4, range=0xbfffa3a4, survives=0xbfffa3a4, negated=0xbfffa3a4, value=0xbfffa3a4) at requirements.c:427 #2 0x080be1b8 in dio_put_requirement (dout=0xbfffa400, preq=0xbfffa3a4) at dataio.c:742 #3 0x080fea86 in send_packet_ruleset_building_100 (pc=0x81b92e0, packet=0xbfffb480)
    at packets_gen.c:25136
#4 0x080ff118 in lsend_packet_ruleset_building (dest=0xbfffa3a4, packet=0xbfffb480)
    at packets_gen.c:25240
#5  0x0808ed34 in send_ruleset_buildings (dest=0x84e75e0) at ruleset.c:2754
#6  0x0808fc62 in send_rulesets (dest=0x84e75e0) at ruleset.c:3096
#7 0x08073238 in establish_new_connection (pconn=0x81b92e0) at connecthand.c:102
#8  0x080739e2 in handle_login_request (pconn=0x81b92e0, req=0x83383c0)
    at connecthand.c:279
#9  0x080522e7 in handle_packet_input (pconn=0x81b92e0, packet=0xc8, type=4)
    at srv_main.c:1007
#10 0x080a2554 in handle_incoming_client_packets (pconn=0x81b92e0) at sernet.c:389
#11 0x080a2945 in sniff_packets () at sernet.c:732
#12 0x08053ba5 in srv_loop () at srv_main.c:1810
#13 0x0805357b in srv_main () at srv_main.c:1742
#14 0x0804aadb in main (argc=135677262, argv=0xbffffad4) at civserver.c:263
(gdb) s
civserver: requirements.c:298: req_source_get_values: Assertion `0' failed.

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()


have fun
-billy



[Prev in Thread] Current Thread [Next in Thread]