[Home]

Summary:ASTERISK-16114: Bad magic number
Reporter:Barry GATEFAIT (bwg)Labels:
Date Opened:2010-05-19 01:04:13Date Closed:2010-05-19 16:16:06
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) Pb_bad_magic_no_2.rtf
Description:We regularly (i.e. practically every day) get the following message :
astobj2.c: bad magic number 0x0 for 0x2e33ed8

It repeats itself  indefenitly and very rapidly which I think causes * to halt after a few seconds or minutes.

Have attached a trace.

Rgds

****** ADDITIONAL INFORMATION ******

[May 19 14:55:28] VERBOSE[23292] pbx.c:   == Spawn extension (appel-recu, 6107, 13) exited non-z                          ero on 'DAHDI/i1/899591-281'
[May 19 14:55:28] DEBUG[23292] sig_pri.c: sig_pri_hangup 12
[May 19 14:55:28] DEBUG[23292] sig_pri.c: Not yet hungup...  Calling hangup once with icause, an                          d clearing call
[May 19 14:55:32] VERBOSE[23314] pbx.c:   == Spawn extension (appel-recu, 6119, 36) exited non-z                          ero on 'DAHDI/i1/760636-282'
[May 19 14:55:32] DEBUG[23314] sig_pri.c: sig_pri_hangup 13
[May 19 14:55:32] DEBUG[23314] sig_pri.c: Not yet hungup...  Calling hangup once with icause, an                          d clearing call
[May 19 14:55:40] VERBOSE[10838] chan_sip.c:   == Extension Changed 6265[groupes] new state Idle                           for Notify User 6282
[May 19 14:55:40] VERBOSE[23257] pbx.c:   == Spawn extension (appel-recu, 6265, 33) exited non-z                          ero on 'Local/6265@nouvelle-caledonie-bfea;2'
[May 19 14:55:40] VERBOSE[10838] chan_sip.c:   == Extension Changed 6265[groupes] new state Idle                           for Notify User 6264
[May 19 14:55:40] VERBOSE[10838] chan_sip.c:   == Extension Changed 6265[groupes] new state Idle                           for Notify User 6267
[May 19 14:55:41] VERBOSE[10838] chan_sip.c:   == Extension Changed 6265[groupes] new state Idle                           for Notify User 6260
[May 19 14:55:41] DEBUG[23258] sig_pri.c: sig_pri_hangup 8
[May 19 14:55:41] DEBUG[23258] sig_pri.c: Not yet hungup...  Calling hangup once with icause, an                          d clearing call
[May 19 14:57:35] VERBOSE[23336] app_verbose.c: Appel reçu de l'OPT depuis le 439068 pour le 610                          0
[May 19 14:57:50] VERBOSE[23336] pbx.c:   == Spawn extension (nouvelle-caledonie, 6260, 1) exite                          d non-zero on 'DAHDI/i1/439068-283'
[May 19 14:57:50] VERBOSE[23336] app_verbose.c: Appel pour l'extension 6260
[May 19 14:57:50] VERBOSE[23336] app_verbose.c:  Appel du poste 6260 par le 0439068
[May 19 14:57:50] VERBOSE[23336] app_verbose.c: Le poste est déployé
[May 19 14:57:50] VERBOSE[23336] app_verbose.c: Appel de 6260/6260 par 0439068
[May 19 14:57:50] VERBOSE[23336] app_verbose.c: Appels en cours pour 6260 : 0
[May 19 14:57:50] VERBOSE[10838] chan_sip.c:   == Extension Changed 6260[groupes] new state Ring                          ing for Notify User 6270
[May 19 14:57:50] VERBOSE[10838] chan_sip.c:   == Extension Changed 6260[groupes] new state Ring                          ing for Notify User 6269
[May 19 14:57:50] VERBOSE[10838] chan_sip.c:   == Extension Changed 6260[groupes] new state Ring                          ing for Notify User 6282
[May 19 14:57:50] VERBOSE[10838] chan_sip.c:   == Extension Changed 6260[groupes] new state Ring                          ing for Notify User 6267
[May 19 14:57:50] VERBOSE[10838] chan_sip.c:   == Extension Changed 6260[groupes] new state Ring                          ing for Notify User 6265
[May 19 14:57:50] VERBOSE[10838] chan_sip.c:   == Extension Changed 6260[groupes] new state Ring                          ing for Notify User 6261
[May 19 14:57:56] ERROR[10848] astobj2.c: bad magic number 0x0 for 0x2e33ed8
[May 19 14:57:56] ERROR[10848] astobj2.c: bad magic number 0x0 for 0x2e33ed8
[May 19 14:57:56] ERROR[10848] astobj2.c: bad magic number 0x0 for 0x2e33ed8
Comments:By: Alec Davis (alecdavis) 2010-05-19 03:33:08

Thanks for the bug report.

Please provide a backtrace, you will need to recompile and reinstall asterisk with DON'T OPTIMIZE enabled - from 'make menuselect'.
Then follow the documentation in asterisk/doc/backtrace.txt .

Also useful is repeatable dialplan example so that this can be setup by a developer.

By: Paul Belanger (pabelanger) 2010-05-19 09:19:03

I suspect this to be a duplicate of ASTERISK-15819, can you please try the patch attached to that issue.

By: Leif Madsen (lmadsen) 2010-05-19 11:00:22

I agree this appears to be a duplicate so please follow the existing issue.

By: Alec Davis (alecdavis) 2010-05-19 16:16:06

The patch at ASTERISK-15819 was applied to trunk at -r253490
You have reported 236802. Either as pableanger suggests apply the patch or try updating to the latest svn.

Even though the symptom may be a duplicate, please report in ASTERISK-15819 the dialplan example, and the backtraces.