asterisk/main
Walter Doekes 80edcdcc45 Add _IO_stdin_used in version-script to fix SIGBUSes on Sparc.
The --version-script,asterisk.exports linker flag (and the module
exports) didn't provide _IO_stdin_used in the list of exported symbols.
That causes some kind of libc compatibility mode to kick in, where
stdio file structures (stdout/stderr) land somewhere else. In the
case of the Sparc, they landed on misaligned memory.

This became apparent first after r376428 (Reorder startup sequence)
when a lot of ast_log's were replaced with fprintf's. Writing to
stderr triggered a SIGBUS. (Compared to x86 and amd64 architectures,
the Sparc is very picky about memory alignment.)

(issue ASTERISK-21763)
(issue ASTERISK-21665)

Reported by: Jeremy Kister
Review: https://reviewboard.asterisk.org/r/2760/
........

Merged revisions 397377 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 397378 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-22 08:26:55 +00:00
..
editline Enable usage of system-provided NetBSD editline library if available. 2012-07-25 12:21:54 +00:00
stdtime Merged revisions 377138 via svnmerge from 2012-12-03 21:19:40 +00:00
Makefile Fix documentation replication issues 2013-08-01 17:07:52 +00:00
abstract_jb.c Remove ast_bridged_channel call from abstract_jb.c 2013-07-30 21:43:29 +00:00
acl.c Trivial patch to make 'best_score' defined for all architectures. 2012-10-07 17:33:38 +00:00
adsi.c Fix crash in unloading of res_adsi module 2012-06-26 13:23:12 +00:00
alaw.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
aoc.c Fix documentation replication issues 2013-08-01 17:07:52 +00:00
app.c ARI: Add recording controls 2013-08-06 14:44:45 +00:00
ast_expr2.c Allow the REALTIME() function to report errors back to the caller. 2012-07-11 17:16:50 +00:00
ast_expr2.fl Avoid cppcheck warnings; removing unused vars and a bit of cleanup. 2012-04-17 18:57:40 +00:00
ast_expr2.h Allow the REALTIME() function to report errors back to the caller. 2012-07-11 17:16:50 +00:00
ast_expr2.y Multiple revisions 360356-360357 2012-03-24 02:42:42 +00:00
ast_expr2f.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
asterisk.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
asterisk.dynamics Remove the old stub files, preferring the optional_api method. 2010-07-14 20:48:59 +00:00
asterisk.exports.in Add _IO_stdin_used in version-script to fix SIGBUSes on Sparc. 2013-08-22 08:26:55 +00:00
astfd.c Unregister CLI commands on exit 2013-08-20 15:36:10 +00:00
astmm.c Add backtrace generation to MALLOC_DEBUG memory corruption reports 2013-06-08 22:09:07 +00:00
astobj2.c Move ast_str_container_alloc and friends 2013-08-02 14:08:34 +00:00
audiohook.c Minor optimizations. 2013-07-19 23:30:10 +00:00
autochan.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
autoservice.c Don't leak frames when memory is full in autoservice_run. 2013-08-09 20:29:09 +00:00
backtrace.c Add backtrace generation to MALLOC_DEBUG memory corruption reports 2013-06-08 22:09:07 +00:00
bridge.c Deferred some more BUGBUG comments to a JIRA issue or XXX comment. 2013-08-21 18:58:28 +00:00
bridge_after.c A great big renaming patch 2013-07-25 04:06:32 +00:00
bridge_basic.c * Move ast_bridge_channel_setup_features() into bridge_basic.c. 2013-08-21 20:02:24 +00:00
bridge_channel.c Deferred some more BUGBUG comments to a JIRA issue or XXX comment. 2013-08-21 18:58:28 +00:00
bridge_roles.c ARI: bridges/{bridgeID}/addChannel: add roles parameter 2013-08-05 16:59:13 +00:00
buildinfo.c fix a few small things found by using sparse 2008-10-30 16:49:02 +00:00
callerid.c Allow for redirecting reasons to be set to arbitrary strings. 2012-09-25 19:29:14 +00:00
ccss.c Strip down the old event system 2013-08-17 14:39:27 +00:00
cdr.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
cel.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
channel.c Remove unsupported channel technology callbacks. 2013-08-15 00:16:39 +00:00
channel_internal_api.c Remove some resolved or obsolete BUGBUG comments. 2013-08-08 17:51:26 +00:00
chanvars.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
cli.c Remove leading spaces from the CLI command before parsing 2013-08-15 16:37:06 +00:00
config.c Add support for a realtime sorcery module. 2013-04-27 12:01:29 +00:00
config_options.c Changed some BUGBUG tags to associated JIRA issue tags. 2013-08-15 18:20:52 +00:00
core_local.c Fix documentation replication issues 2013-08-01 17:07:52 +00:00
core_unreal.c bridge_channel: Support the lonely flag and make ARI use it. 2013-08-09 17:22:28 +00:00
crypt.c Fix utils directory breakage. 2013-07-04 13:06:15 +00:00
cygload.c Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
data.c Fix invalid access to disposed memory in main/data unit test 2013-08-18 21:26:37 +00:00
datastore.c This is no longer needed. 2013-06-29 00:18:57 +00:00
db.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
devicestate.c Strip down the old event system 2013-08-17 14:39:27 +00:00
dial.c Change ast_hangup() to return void and be NULL safe. 2013-07-17 22:30:28 +00:00
dns.c Remove redundant code in dns.c 2013-07-14 02:05:04 +00:00
dnsmgr.c Migrate a large number of AMI events over to Stasis-Core 2013-05-24 20:44:07 +00:00
dsp.c Doxygen Updates - Title update 2012-10-18 14:17:40 +00:00
ecdisa.h Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
endpoints.c Split caching out from the stasis_caching_topic. 2013-08-01 13:49:34 +00:00
enum.c Migrate a large number of AMI events over to Stasis-Core 2013-05-24 20:44:07 +00:00
event.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
features.c * Move ast_bridge_channel_setup_features() into bridge_basic.c. 2013-08-21 20:02:24 +00:00
features_config.c Make DTMF attended transfer support feature-complete. 2013-07-23 15:28:11 +00:00
file.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
fixedjitterbuf.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
fixedjitterbuf.h Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
format.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
format_cap.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
format_pref.c Address uninitialized conditional that valgrind found 2013-03-27 19:52:19 +00:00
frame.c Merge in the bridge_construction branch to make the system use the Bridging API. 2013-05-21 18:00:22 +00:00
framehook.c bridge_native_rtp: Fix native bridge tech being incompatible when it should be. 2013-06-11 22:21:36 +00:00
fskmodem.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
fskmodem_float.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
fskmodem_int.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
global_datastores.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
hashtab.c Fix utilities compilation/linking. 2013-08-16 16:26:11 +00:00
heap.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
http.c Complete http_shutdown. 2013-08-21 17:12:30 +00:00
image.c Reset automerge property. 2012-12-11 22:25:21 +00:00
indications.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
io.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
jitterbuf.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
json.c Address JSON thread safety issues. 2013-08-02 14:27:35 +00:00
libasteriskssl.c Resolve memory leaks in TLS initialization and TLS client connections 2012-09-14 19:53:43 +00:00
libasteriskssl.exports.in Address OpenSSL initialization issues when using third-party libraries. 2012-01-30 21:21:16 +00:00
loader.c Improve sounds indexer CLI commands 2013-08-16 12:20:59 +00:00
lock.c Fix for segfault in __ast_rwlock_destroy with DEBUG_THREADS 2013-05-15 15:58:56 +00:00
logger.c Add backtrace generation to MALLOC_DEBUG memory corruption reports 2013-06-08 22:09:07 +00:00
manager.c Strip down the old event system 2013-08-17 14:39:27 +00:00
manager_bridges.c Make bridge snapshots use prefixes. 2013-08-08 19:16:33 +00:00
manager_channels.c Hide the Surrogate channels from external consumers; kill Masquerade events 2013-08-08 14:13:05 +00:00
manager_endpoints.c Split caching out from the stasis_caching_topic. 2013-08-01 13:49:34 +00:00
manager_mwi.c Fix documentation replication issues 2013-08-01 17:07:52 +00:00
manager_system.c Move channel driver Registry manager events to core. 2013-07-08 14:42:57 +00:00
md5.c md5: supress some compiler warnings. 2012-04-28 01:33:49 +00:00
media_index.c Index installed sounds and implement ARI sounds queries 2013-06-24 13:49:20 +00:00
message.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
mixmonitor.c Removed quotes from svn:keywords props on a few files. 2013-07-29 17:51:25 +00:00
named_acl.c Fix memory/ref counting leaks in a variety of locations 2013-06-25 01:12:58 +00:00
netsock.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
netsock2.c Fix NULL pointer segfault in ast_sockaddr_parse() 2012-06-20 02:07:00 +00:00
parking.c Allow res_parking to be unloadable 2013-08-17 15:01:54 +00:00
pbx.c Strip down the old event system 2013-08-17 14:39:27 +00:00
pickup.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
plc.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
poll.c Merged revisions 285268 via svnmerge from 2010-09-07 19:09:08 +00:00
presencestate.c Strip down the old event system 2013-08-17 14:39:27 +00:00
privacy.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
rtp_engine.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
say.c Fix saying of date in Dutch. 2012-09-25 23:10:22 +00:00
sched.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
sdp_srtp.c Merge in current pimp_my_sip work, including: 2013-06-22 14:03:22 +00:00
security_events.c Strip down the old event system 2013-08-17 14:39:27 +00:00
sha1.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
sip_api.c Don't make chan_sip export global symbols. 2012-10-11 15:49:02 +00:00
slinfactory.c Fix a memory copying bug in slinfactory which was causing mixmonitor issues. 2013-05-28 17:47:29 +00:00
sorcery.c Fix sorcery for some rather picky regex implementations. 2013-08-01 21:19:27 +00:00
sounds_index.c Improve sounds indexer CLI commands 2013-08-16 12:20:59 +00:00
srv.c Removed #if checks for crazy old versions of OS X. 2013-05-08 20:25:28 +00:00
stasis.c Stasis: address refcount races; implementation comments 2013-08-16 16:03:34 +00:00
stasis_bridges.c Remove extra CR/LF from AMI event. 2013-08-08 20:51:38 +00:00
stasis_cache.c Stasis: address refcount races; implementation comments 2013-08-16 16:03:34 +00:00
stasis_cache_pattern.c Stasis: address refcount races; implementation comments 2013-08-16 16:03:34 +00:00
stasis_channels.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
stasis_config.c Rename everything Stasis-HTTP to ARI 2013-07-27 23:11:02 +00:00
stasis_endpoints.c ARI: Remove the 'channel:' scheme from endpoint's channel list. 2013-08-21 16:09:09 +00:00
stasis_message.c Add vtable and methods for to_json and to_ami for Stasis messages 2013-06-11 15:46:35 +00:00
stasis_message_router.c Fix bridge/channel AMI event ordering issues 2013-07-23 13:39:50 +00:00
stasis_system.c Convert CCSS manager events to stasis. 2013-07-19 18:00:35 +00:00
stasis_wait.c Split caching out from the stasis_caching_topic. 2013-08-01 13:49:34 +00:00
strcompat.c Add builtin roundf() for systems lacking it. 2013-01-19 20:54:07 +00:00
strings.c Move ast_str_container_alloc and friends 2013-08-02 14:08:34 +00:00
stun.c Reset automerge property. 2012-12-11 22:25:21 +00:00
syslog.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
taskprocessor.c Merge the pimp_my_sip branch into trunk. 2013-04-25 18:25:31 +00:00
tcptls.c tcptls: Prevent unsupported options from being set 2013-03-15 12:53:03 +00:00
tdd.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
term.c Revamp of terminal color codes 2013-02-14 18:47:56 +00:00
test.c Update Asterisk's CDRs for the new bridging framework 2013-06-17 03:00:38 +00:00
threadpool.c Fix threadpool rapid growth problem. 2013-06-20 16:29:35 +00:00
threadstorage.c Unregister CLI commands on exit 2013-08-20 15:36:10 +00:00
timing.c Reset automerge property. 2012-12-11 22:25:21 +00:00
translate.c Add support for parsing SDP attributes, generating SDP attributes, and passing it through. 2012-07-13 16:49:40 +00:00
udptl.c UDPTL: Fix a regression where UDPTL won't load default settings 2013-08-21 23:09:14 +00:00
ulaw.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
utils.c Fix utilities compilation/linking. 2013-08-16 16:26:11 +00:00
uuid.c Add an \extref doxygen pointer for libuuid. 2013-04-26 20:32:11 +00:00
xml.c Fix documentation replication issues 2013-08-01 17:07:52 +00:00
xmldoc.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00