PANIC: gwlib/list.c:502: lock: Assertion `list != NULL' failed.

Deon van der Merwe <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

Last night I noticed my wapbox's are restarting rather frequently
(sometimes...).  I enabled DEBUG logging, and here is a couple of
samples.  How do I go about finding out why this happens?  Maybe this
is enough information to point someone else towards an answer?

Running:
- INFO: Kannel wapbox version cvs-20051117 starting up.
- Linux wapgw 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005
i686 i686 i386 GNU/Linux

2006-01-16 04:25:26 [6284] [8] DEBUG: Normalizing charset from UTF-8
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: machine 0x96e98e0, state
CONNECTED, event S-MethodResult.req
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: method 848, state
PROCESSING, event S-MethodResult.req
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: Mapping
`application/xhtml+xml', WSP 1.2 to 0xffffffff.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: Mapping `Date', WSP 1.2 to 0x0012.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: Mapping `Server', WSP 1.2 to 0x0026.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: Mapping `Content-Type', WSP
1.2 to 0x0011.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: Mapping `X-Cache', WSP 1.2
to 0xffffffff.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: Mapping `Proxy-Connection',
WSP 1.2 to 0xffffffff.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP 84/848: New method state REPLYING
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: resp_machine 848, state
RESULT_WAIT, event TR-Result.req.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP 84: New state CONNECTED
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: begin_sar_result(): data len = 4260
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: dispath_to_wdp(): psn = 1
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: dispath_to_wdp(): psn = 2
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP 848: New state RESULT_RESP_WAIT
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: Created WTPRespMachine
0x96f2e68 (849)
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: resp_machine 849, state
LISTEN, event RcvInvoke.
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP 849: New state LISTEN
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: Destroying WTPRespMachine
0x96f2e68 (849)
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: machine 0x96e98e0, state
CONNECTED, event TR-Invoke.ind
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP: method 848, state REPLYING,
event Abort
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: resp_machine 848, state
RESULT_RESP_WAIT, event TR-Abort.req.
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP 84/848: New method state NULL_METHOD
2006-01-16 04:25:26 [6284] [2] DEBUG: Destroying WSPMethodMachine 848
2006-01-16 04:25:26 [6284] [2] DEBUG: WSP 84: New state NULL_SESSION
2006-01-16 04:25:26 [6284] [2] DEBUG: Destroying WSPMachine 0x96e98e0
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP 848: New state LISTEN
2006-01-16 04:25:26 [6284] [6] DEBUG: WTP: Destroying WTPRespMachine
0x97175e0 (848)
2006-01-16 04:25:26 [6284] [0] PANIC: gwlib/list.c:502: lock:
Assertion `list != NULL' failed.
2006-01-16 04:25:26 [6284] [0] PANIC:
/usr/local/sbin/wapbox(gw_panic+0x16b) [0x80cff9e]
2006-01-16 04:25:26 [6284] [0] PANIC: /usr/local/sbin/wapbox [0x80ceea8]
2006-01-16 04:25:26 [6284] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_append+0x11) [0x80ce300]
2006-01-16 04:25:26 [6284] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_produce+0x14) [0x80ceb96]
2006-01-16 04:25:26 [6284] [0] PANIC:
/usr/local/sbin/wapbox(wtp_initiator_dispatch_event+0x17) [0x80a6312]
2006-01-16 04:25:26 [6284] [0] PANIC:
/usr/local/sbin/wapbox(wap_dispatch_datagram+0x11c) [0x80843f4]
2006-01-16 04:25:26 [6284] [0] PANIC:
/usr/local/sbin/wapbox(main+0x452) [0x805a699]
2006-01-16 04:25:26 [6284] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xc6) [0x2b6de6]
2006-01-16 04:25:26 [6284] [0] PANIC: /usr/local/sbin/wapbox [0x8058a81]

2006-01-16 05:55:03 [8773] [6] DEBUG: WTP: resp_machine 6, state
RESULT_RESP_WAIT, event RcvAck.
2006-01-16 05:55:03 [8773] [6] DEBUG: WTP: continue_sar_result():
lsegm=2, nsegm=10, csegm=-1
2006-01-16 05:55:03 [8773] [6] DEBUG: WTP: dispath_to_wdp(): psn = 3
2006-01-16 05:55:03 [8773] [6] DEBUG: WTP: dispath_to_wdp(): psn = 4
2006-01-16 05:55:03 [8773] [6] DEBUG: WTP: dispath_to_wdp(): psn = 5
2006-01-16 05:55:03 [8773] [6] DEBUG: WTP 6: New state RESULT_RESP_WAIT
2006-01-16 05:55:04 [8773] [0] PANIC: gwlib/list.c:502: lock:
Assertion `list != NULL' failed.
2006-01-16 05:55:04 [8773] [0] PANIC:
/usr/local/sbin/wapbox(gw_panic+0x16b) [0x80cff9e]
2006-01-16 05:55:04 [8773] [0] PANIC: /usr/local/sbin/wapbox [0x80ceea8]
2006-01-16 05:55:04 [8773] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_append+0x11) [0x80ce300]
2006-01-16 05:55:04 [8773] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_produce+0x14) [0x80ceb96]
2006-01-16 05:55:04 [8773] [0] PANIC:
/usr/local/sbin/wapbox(wtp_initiator_dispatch_event+0x17) [0x80a6312]
2006-01-16 05:55:04 [8773] [0] PANIC:
/usr/local/sbin/wapbox(wap_dispatch_datagram+0x11c) [0x80843f4]
2006-01-16 05:55:04 [8773] [0] PANIC:
/usr/local/sbin/wapbox(main+0x452) [0x805a699]
2006-01-16 05:55:04 [8773] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xc6) [0x2b6de6]
2006-01-16 05:55:04 [8773] [0] PANIC: /usr/local/sbin/wapbox [0x8058a81]

2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: machine 0x995e270, state
CONNECTED, event S-MethodResult.req
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: method 301, state
PROCESSING, event S-MethodResult.req
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `text/html', WSP
1.2 to 0x0002.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `Server', WSP 1.2 to 0x0026.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `Date', WSP 1.2 to 0x0012.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `X-Powered-By', WSP
1.2 to 0xffffffff.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `Location', WSP 1.2
to 0x001c.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `Content-Length',
WSP 1.2 to 0x000d.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `Content-Type', WSP
1.2 to 0x0011.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `Cache-Control',
WSP 1.2 to 0x0008.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `X-Cache', WSP 1.2
to 0xffffffff.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `Proxy-Connection',
WSP 1.2 to 0xffffffff.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP: Mapping `X-WAP.TOD', WSP
1.2 to 0xffffffff.
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP 51/301: New method state REPLYING
2006-01-16 06:02:48 [8867] [2] DEBUG: WSP 51: New state CONNECTED
2006-01-16 06:02:48 [8867] [6] DEBUG: WTP: resp_machine 301, state
RESULT_WAIT, event TR-Result.req.
2006-01-16 06:02:48 [8867] [6] DEBUG: WTP: begin_sar_result(): data len = 300
2006-01-16 06:02:48 [8867] [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
2006-01-16 06:02:48 [8867] [6] DEBUG: WTP 301: New state RESULT_RESP_WAIT
2006-01-16 06:02:48 [8867] [0] PANIC: gwlib/list.c:502: lock:
Assertion `list != NULL' failed.
2006-01-16 06:02:48 [8867] [0] PANIC:
/usr/local/sbin/wapbox(gw_panic+0x16b) [0x80cff9e]
2006-01-16 06:02:48 [8867] [0] PANIC: /usr/local/sbin/wapbox [0x80ceea8]
2006-01-16 06:02:48 [8867] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_append+0x11) [0x80ce300]
2006-01-16 06:02:48 [8867] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_produce+0x14) [0x80ceb96]
2006-01-16 06:02:48 [8867] [0] PANIC:
/usr/local/sbin/wapbox(wtp_initiator_dispatch_event+0x17) [0x80a6312]
2006-01-16 06:02:48 [8867] [0] PANIC:
/usr/local/sbin/wapbox(wap_dispatch_datagram+0x11c) [0x80843f4]
2006-01-16 06:02:48 [8867] [0] PANIC:
/usr/local/sbin/wapbox(main+0x452) [0x805a699]
2006-01-16 06:02:48 [8867] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xc6) [0x2b6de6]
2006-01-16 06:02:48 [8867] [0] PANIC: /usr/local/sbin/wapbox [0x8058a81]

2006-01-16 06:24:20 [9006] [5] DEBUG: Timeout-R elapsed.
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: resp_machine 1334, state
RESULT_RESP_WAIT, event Timeout-R.
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP 1334: New state RESULT_RESP_WAIT
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: Created WTPRespMachine
0x9072d88 (1375)
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: resp_machine 1375, state
LISTEN, event RcvInvoke.
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP 1375: New state LISTEN
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: Destroying WTPRespMachine
0x9072d88 (1375)
2006-01-16 06:24:20 [9006] [2] DEBUG: WSP: machine 0x9060f48, state
CONNECTED, event TR-Invoke.ind
2006-01-16 06:24:20 [9006] [2] DEBUG: WSP: method 1334, state
REPLYING, event Abort
2006-01-16 06:24:20 [9006] [2] DEBUG: WSP 107/1334: New method state NULL_METHOD
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: resp_machine 1334, state
RESULT_RESP_WAIT, event TR-Abort.req.
2006-01-16 06:24:20 [9006] [2] DEBUG: Destroying WSPMethodMachine 1334
2006-01-16 06:24:20 [9006] [2] DEBUG: WSP 107: New state NULL_SESSION
2006-01-16 06:24:20 [9006] [2] DEBUG: Destroying WSPMachine 0x9060f48
2006-01-16 06:24:20 [9006] [2] DEBUG: cookie_destroy: Destroyed cookie
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP 1334: New state LISTEN
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: Destroying WTPRespMachine
0x9083980 (1334)
2006-01-16 06:24:20 [9006] [2] DEBUG: cookie_destroy: Destroyed cookie
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: resp_machine 1361, state
RESULT_RESP_WAIT, event RcvAck.
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: continue_sar_result():
lsegm=11, nsegm=12, csegm=8
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP: dispath_to_wdp(): psn = 12
2006-01-16 06:24:20 [9006] [6] DEBUG: WTP 1361: New state RESULT_RESP_WAIT
2006-01-16 06:24:21 [9006] [6] DEBUG: WTP: Created WTPRespMachine
0xb0cb1028 (1376)
2006-01-16 06:24:21 [9006] [6] DEBUG: WTP: resp_machine 1376, state
LISTEN, event RcvInvoke.
2006-01-16 06:24:21 [9006] [6] DEBUG: WTP 1376: New state INVOKE_RESP_WAIT
2006-01-16 06:24:21 [9006] [2] DEBUG: WSP: machine 0xb0c41380, state
CONNECTED, event TR-Invoke.ind
2006-01-16 06:24:21 [9006] [2] DEBUG: WSP: method 1376, state
NULL_METHOD, event TR-Invoke.ind
2006-01-16 06:24:21 [9006] [2] DEBUG: WSP 94/1376: New method state HOLDING
2006-01-16 06:24:21 [9006] [2] DEBUG: WSP: method 1376, state HOLDING,
event Release
2006-01-16 06:24:21 [9006] [2] DEBUG: WSP 94/1376: New method state REQUESTING
2006-01-16 06:24:21 [9006] [2] DEBUG: WSP 94: New state CONNECTED
2006-01-16 06:24:21 [9006] [5] DEBUG: Timeout-R elapsed.
2006-01-16 06:24:21 [9006] [6] DEBUG: WTP: resp_machine 1335, state
RESULT_RESP_WAIT, event Timeout-R.
2006-01-16 06:24:21 [9006] [6] DEBUG: WTP 1335: New state RESULT_RESP_WAIT
2006-01-16 06:24:21 [9006] [0] PANIC: gwlib/list.c:502: lock:
Assertion `list != NULL' failed.
2006-01-16 06:24:22 [9006] [0] PANIC:
/usr/local/sbin/wapbox(gw_panic+0x16b) [0x80cff9e]
2006-01-16 06:24:22 [9006] [0] PANIC: /usr/local/sbin/wapbox [0x80ceea8]
2006-01-16 06:24:22 [9006] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_append+0x11) [0x80ce300]
2006-01-16 06:24:22 [9006] [0] PANIC:
/usr/local/sbin/wapbox(gwlist_produce+0x14) [0x80ceb96]
2006-01-16 06:24:22 [9006] [0] PANIC:
/usr/local/sbin/wapbox(wtp_initiator_dispatch_event+0x17) [0x80a6312]
2006-01-16 06:24:22 [9006] [0] PANIC:
/usr/local/sbin/wapbox(wap_dispatch_datagram+0x11c) [0x80843f4]
2006-01-16 06:24:22 [9006] [0] PANIC:
/usr/local/sbin/wapbox(main+0x452) [0x805a699]
2006-01-16 06:24:22 [9006] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xc6) [0x2b6de6]
2006-01-16 06:24:22 [9006] [0] PANIC: /usr/local/sbin/wapbox [0x8058a81]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.