[asterisk-bugs] [Asterisk 0017187]: crash when calling ao2_unlock inside pthread_timer_disable_continuous - NOT FIXED PLEASE RE-OPEN
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jul 21 11:20:20 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17187
======================================================================
Reported By: Eddie Edwards
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17187
Category: Resources/res_timing_pthread
Reproducibility: random
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.6.1.18
JIRA: SWP-1297
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-04-15 08:06 CDT
Last Modified: 2010-07-21 11:20 CDT
======================================================================
Summary: crash when calling ao2_unlock inside
pthread_timer_disable_continuous - NOT FIXED PLEASE RE-OPEN
Description:
See https://issues.asterisk.org/view.php?id=15915. We are also experiencing
this issue. Asterisk 1.6.1.6.
Bug has been closed because Digium thinks it is a compiler bug. Quote
tilghman:
"As it turns out, the "@plt" is a dead giveaway as to the source of this
problem. This is a problem in the compiler/linker tools for your platform.
Please report this issue upstream to the package maintainers of your
distribution environment. This is NOT a bug in Asterisk, but a compiler (or
linker) bug."
This is clearly not the case. By the time the bug is hit (at load of
around 200 calls) ao2_unlock has already been called thousands if not
millions of times. The dynamic linker is not entered subsequently. There
is no evidence of a linker problem.
In all likelihood, Asterisk is trashing the PLT itself via a bad pointer.
Please re-open https://issues.asterisk.org/view.php?id=15915 and fix.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0015915 crash when calling ao2_unlock inside pt...
======================================================================
----------------------------------------------------------------------
(0124799) svnbot (reporter) - 2010-07-21 11:20
https://issues.asterisk.org/view.php?id=17187#c124799
----------------------------------------------------------------------
Repository: asterisk
Revision: 278479
_U branches/1.6.2/
U branches/1.6.2/res/res_timing_pthread.c
------------------------------------------------------------------------
r278479 | russell | 2010-07-21 11:20:17 -0500 (Wed, 21 Jul 2010) | 48
lines
Merged revisions 278465 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r278465 | russell | 2010-07-21 11:15:00 -0500 (Wed, 21 Jul 2010) | 41
lines
Use poll() instead of select() in res_timing_pthread to avoid stack
corruption.
This code did not properly check FD_SETSIZE to ensure that it did not
try to
select() on fds that were too large. Switching to poll() removes the
limitation
on the maximum fd value.
(closes issue https://issues.asterisk.org/view.php?id=15915)
Reported by: keiron
(closes issue https://issues.asterisk.org/view.php?id=17187)
Reported by: Eddie Edwards
(closes issue https://issues.asterisk.org/view.php?id=16494)
Reported by: Hubguru
(closes issue https://issues.asterisk.org/view.php?id=15731)
Reported by: flop
(closes issue https://issues.asterisk.org/view.php?id=12917)
Reported by: falves11
(closes issue https://issues.asterisk.org/view.php?id=14920)
Reported by: vrban
(closes issue https://issues.asterisk.org/view.php?id=17199)
Reported by: aleksey2000
(closes issue https://issues.asterisk.org/view.php?id=15406)
Reported by: kowalma
(closes issue https://issues.asterisk.org/view.php?id=17438)
Reported by: dcabot
(closes issue https://issues.asterisk.org/view.php?id=17325)
Reported by: glwgoes
(closes issue https://issues.asterisk.org/view.php?id=17118)
Reported by: erikje
possibly other issues, too ...
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=278479
Issue History
Date Modified Username Field Change
======================================================================
2010-07-21 11:20 svnbot Checkin
2010-07-21 11:20 svnbot Note Added: 0124799
======================================================================
More information about the asterisk-bugs
mailing list