Summary: | ASTERISK-13057: chan_iax2 flood with 'No private structure for packet' | ||
Reporter: | master (master) | Labels: | |
Date Opened: | 2008-11-12 06:23:33.000-0600 | Date Closed: | 2011-06-07 14:08:11 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20081202__bug13884.diff.txt ( 1) 20090116__bug13884__DEBUG_ONLY__1.6.0.diff.txt | |
Description: | I upgraded 2 servers to 1.4.22 and I get this every few seconds. This. did not happen on 1.4.21.1. Same configure between upgrades. [Nov 12 23:18:16] WARNING[14083]: chan_iax2.c:4345 iax2_send: No private structure for packet? [Nov 12 23:19:06] WARNING[14091]: chan_iax2.c:4345 iax2_send: No private structure for packet? [Nov 12 23:19:56] WARNING[14166]: chan_iax2.c:4345 iax2_send: No private structure for packet? [Nov 12 23:20:46] WARNING[14151]: chan_iax2.c:4345 iax2_send: No private structure for packet? ****** ADDITIONAL INFORMATION ****** No third party modules. | ||
Comments: | By: Leif Madsen (lmadsen) 2008-12-02 16:24:34.000-0600 Can you please explain how to reproduce this issue? Without being able to reproduce it we're not going to know where the issue lies. Thanks! By: Tilghman Lesher (tilghman) 2008-12-02 19:29:32.000-0600 Please try running with this patch. It should help us track down exactly where the packet is failing. By: Mikel Lindsaar (raasdnil) 2009-01-14 18:01:14.000-0600 OK, I am getting this also on Asterisk version 1.6.0. Would that patch also work on 1.6? I'd be willing to try it out and report back my findings if it does. By: Tilghman Lesher (tilghman) 2009-01-14 18:26:13.000-0600 raasdnil: possibly. Please try it out. By: Mikel Lindsaar (raasdnil) 2009-01-14 22:06:51.000-0600 OK, I tried it out and applied the patch. At the same time I updated to 1.6.0.3. I haven't gotten the same error message now. Now the following appears in the logs: [Jan 15 15:04:59] WARNING[30575] chan_iax2.c: Unable to cancel schedule ID 69421. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1127). [Jan 15 15:05:12] WARNING[30575] chan_iax2.c: Unable to cancel schedule ID 70831. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1127). [Jan 15 15:05:12] WARNING[30577] chan_iax2.c: Unable to cancel schedule ID 70847. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1127). [Jan 15 15:05:15] WARNING[30575] chan_iax2.c: Unable to cancel schedule ID 71398. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1127). By: Tilghman Lesher (tilghman) 2009-01-15 13:10:13.000-0600 raasdnil: New patch uploaded. Again, only for debugging purposes, not a direct fix. By: Mikel Lindsaar (raasdnil) 2009-01-16 03:03:48.000-0600 (I should add, i think this error is disrelated to the intitial ticket... as this log error (the Unable to cancel schedule) has been appearing in my log for weeks... I think the upgrade to 1.6.0.3 handled the initial error that is on this ticket). OK... loaded next patch. Now I get lots of: [Jan 16 19:43:28] WARNING[19526] chan_iax2.c: Unable to cancel schedule ID 4813193. This is probably a bug (chan_iax2.c: update_jbsched, line 2888). [Jan 16 19:43:37] WARNING[19523] chan_iax2.c: Unable to cancel schedule ID 4816277. This is probably a bug (chan_iax2.c: update_jbsched, line 2888). [Jan 16 19:49:06] WARNING[19523] chan_iax2.c: Unable to cancel schedule ID 4902804. This is probably a bug (chan_iax2.c: update_jbsched, line 2888). [Jan 16 19:54:20] WARNING[19522] chan_iax2.c: Unable to cancel schedule ID 5004358. This is probably a bug (chan_iax2.c: update_jbsched, line 2888). [Jan 16 20:00:08] WARNING[19527] chan_iax2.c: Unable to cancel schedule ID 5142504. This is probably a bug (chan_iax2.c: update_jbsched, line 2888). [Jan 16 20:00:08] WARNING[19526] chan_iax2.c: Unable to cancel schedule ID 5142525. This is probably a bug (chan_iax2.c: update_jbsched, line 2888). By: Tilghman Lesher (tilghman) 2009-01-16 11:11:13.000-0600 Aha. Found why that occurs. This patch should fix those warnings. By: Tilghman Lesher (tilghman) 2009-01-29 15:56:25.000-0600 raasdnil: any further updates? By: Mikel Lindsaar (raasdnil) 2009-02-16 23:13:47.000-0600 I am loading the patch now and rebuilding, will be able to restart the server tonight. Mikel By: Leif Madsen (lmadsen) 2009-02-19 09:44:13.000-0600 raasdnil: ping! :) Just curious if that patch worked for you? By: Mikel Lindsaar (raasdnil) 2009-02-19 16:10:42.000-0600 So I applied the patch, still getting an error... [Feb 19 20:02:22] WARNING[13757] chan_iax2.c: Unable to cancel schedule ID 4433671. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 20:02:27] WARNING[13764] chan_iax2.c: Unable to cancel schedule ID 4435095. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 20:51:01] WARNING[13757] chan_iax2.c: Unable to cancel schedule ID 5142721. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 20:51:01] WARNING[13760] chan_iax2.c: Unable to cancel schedule ID 5142748. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 21:18:42] WARNING[13756] chan_iax2.c: Unable to cancel schedule ID 5432627. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 21:59:46] WARNING[13763] chan_iax2.c: Unable to cancel schedule ID 5760041. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 22:55:11] WARNING[13758] chan_iax2.c: Unable to cancel schedule ID 5966391. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 22:57:00] WARNING[13761] chan_iax2.c: Unable to cancel schedule ID 5985439. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 22:57:10] WARNING[13760] chan_iax2.c: Unable to cancel schedule ID 5989215. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). [Feb 19 22:57:11] WARNING[13763] chan_iax2.c: Unable to cancel schedule ID 5989386. This is probably a bug (chan_iax2.c: iax2_sched_replace, line 1122). By: Mikel Lindsaar (raasdnil) 2009-03-23 20:42:57 I'm getting this error still.. but also another one, don't know if it is related: [Mar 24 12:39:32] WARNING[5584]: chan_iax2.c:1200 __send_lagrq: I was supposed to send a LAGRQ with callno 14634, but no such call exists (and I cannot remove lagid, either). [Mar 24 12:39:33] WARNING[5579]: chan_iax2.c:4654 iax2_send: No private structure for packet? (frametype 6/subtype 13) [Mar 24 12:40:12] WARNING[5579]: chan_iax2.c:1200 __send_lagrq: I was supposed to send a LAGRQ with callno 952, but no such call exists (and I cannot remove lagid, either). [Mar 24 12:40:23] WARNING[5576]: chan_iax2.c:4654 iax2_send: No private structure for packet? (frametype 6/subtype 13) [Mar 24 12:40:32] WARNING[5580]: chan_iax2.c:1200 __send_lagrq: I was supposed to send a LAGRQ with callno 3475, but no such call exists (and I cannot remove lagid, either). [Mar 24 12:41:13] WARNING[5581]: chan_iax2.c:4654 iax2_send: No private structure for packet? (frametype 6/subtype 13) By: Tilghman Lesher (tilghman) 2009-03-26 17:20:43 raasdnil: do you still have the debug patch applied? By: Tilghman Lesher (tilghman) 2009-03-26 17:39:44 I'd also recommend upgrading to the latest 1.4, as dvossel has been making various improvements to our implementation of the IAX2 protocol. By: Tilghman Lesher (tilghman) 2009-04-08 11:49:56 No reply from reporter. |