[asterisk-bugs] [Asterisk 0017801]: [patch] ERROR[7169] astobj2.c: bad magic number 0x0 for 0x8b1c3d0
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 20 05:14:47 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17801
======================================================================
Reported By: notthematrix
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17801
Category: Addons/General
Reproducibility: sometimes
Severity: crash
Priority: normal
Status: acknowledged
Asterisk Version: 1.8.0-beta2
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.8
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-08-05 07:57 CDT
Last Modified: 2010-09-20 05:14 CDT
======================================================================
Summary: [patch] ERROR[7169] astobj2.c: bad magic number 0x0
for 0x8b1c3d0
Description:
found a crash
happens randomly
[Aug 3 21:26:00] ERROR[7169] astobj2.c: bad magic number 0x0 for
0x8b1c3d0
[Aug 4 16:32:10] ERROR[31100] astobj2.c: bad magic number 0x0 for
0x6c13550
Then restaring
[Aug 4 16:32:15] VERBOSE[9142] config.c: == Parsing
'/etc/asterisk/asterisk.conf': [Aug 4 16:32:15] VERBOSE[9142] config.c:
== Found
Aug 4 20:04:14] VERBOSE[12064] app_macro.c: == Spawn extension
(macro-hangupcall, s, 9) exited non-zero on 'SIP/31251788117-0000000b' in
macro 'hangupca$
[Aug 4 20:04:14] ERROR[12064] astobj2.c: bad magic number 0x0 for
0x30caff0
[Aug 4 20:04:19] VERBOSE[14199] config.c: == Parsing
'/etc/asterisk/asterisk.conf': [Aug 4 20:04:19] VERBOSE[14199] config.c:
== Found
[Aug 5 14:05:48] VERBOSE[5735] app_dial.c: -- Called 31251788103
[Aug 5 14:05:48] ERROR[12953] astobj2.c: bad magic number 0x0 for
0x7f3cf40469b0
[Aug 5 14:05:52] VERBOSE[5748] config.c: == Parsing
'/etc/asterisk/asterisk.conf': [Aug 5 14:05:52] VERBOSE[5748] config.c:
== Found
etc
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0016057 [patch] Asterisk crashes with "Fix...
has duplicate 0017844 <a href="https://issues.asterisk.org/vi...
related to 0017710 bad magic number : loops indefinitly
======================================================================
----------------------------------------------------------------------
(0127121) alecdavis (manager) - 2010-09-20 05:14
https://issues.asterisk.org/view.php?id=17801#c127121
----------------------------------------------------------------------
bug17801.diff1.txt defer unlocking the channels ao2_container till the very
end of ast_do_masquerade.
Otherwise with no lock on the 'channels' ao2_container and releasing the
locks on 'original and clonechan' channel before the linking back into
ao2_container we get corrupted.
Also tried in ast_do_masquerade at done: the following, observing required
locking order - but no better :
unlock both channels
ao2_lock(channels)
lock both channels
unlock both channels (we should now be ok to ao2_link(channels, XXX)
ao2_link(channels, original)
ao2_link(channels, clonechan)
ao2_unlock(channels)
(
l
Issue History
Date Modified Username Field Change
======================================================================
2010-09-20 05:14 alecdavis Note Added: 0127121
======================================================================
More information about the asterisk-bugs
mailing list