[Home]

Summary:ASTERISK-26525: [UBSAN] bridge_holding.c: member access within misaligned address
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2016-10-30 06:55:31Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Core/Bridging
Versions:13.12.1 13.15.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) full.txt
( 1) messages.txt
( 2) runtest_log.txt
Description:Asterisk 13 git branch

{code}
bridge_holding.c:429:6: runtime error: member access within misaligned address 0x616000050e5d for type 'const struct deferred_data', which requires 8 byte alignment

0x616000050e5d: note: pointer points here

00 00 00 01 f5 1b 03  d2 9e 7f 00 00 60 00 00  00 00 00 00 f8 ff 00 00  f8 ff f0 ff f8 ff f8 ff  f8

            ^
   #0 0x7f9ed2033004  (/tmp/asterisk-testsuite/1531af2bba0b0cfe1678b5447efcc7df/run_1/ast1/usr/lib/asterisk/modules/bridge_holding.so+0x7004)
   #1 0x5332fc in bridge_channel_do_callback /usr/src/asterisk/main/bridge_channel.c:1313
   #2 0x5380e3 in bridge_channel_handle_action /usr/src/asterisk/main/bridge_channel.c:1965
   #3 0x53d651 in bridge_channel_handle_write /usr/src/asterisk/main/bridge_channel.c:2336
   #4 0x53eb21 in bridge_channel_wait /usr/src/asterisk/main/bridge_channel.c:2597
   #5 0x5405f3 in bridge_channel_internal_join /usr/src/asterisk/main/bridge_channel.c:2732
   #6 0x4f24b3 in ast_bridge_join /usr/src/asterisk/main/bridge.c:1712
   #7 0x7f9edc7215f8  (/tmp/asterisk-testsuite/1531af2bba0b0cfe1678b5447efcc7df/run_1/ast1/usr/lib/asterisk/modules/app_agent_pool.so+0x1d5f8)
   #8 0x7f9edc726966  (/tmp/asterisk-testsuite/1531af2bba0b0cfe1678b5447efcc7df/run_1/ast1/usr/lib/asterisk/modules/app_agent_pool.so+0x22966)
   #9 0x82e9ee in pbx_exec /usr/src/asterisk/main/pbx_app.c:485
   #10 0x7fe6f7 in pbx_extension_helper /usr/src/asterisk/main/pbx.c:2884
   #11 0x806624 in ast_spawn_extension /usr/src/asterisk/main/pbx.c:4110
   #12 0x8082c9 in __ast_pbx_run /usr/src/asterisk/main/pbx.c:4285
   #13 0x80b239 in pbx_thread /usr/src/asterisk/main/pbx.c:4605
   #14 0x982e6a in dummy_start /usr/src/asterisk/main/utils.c:1235
   #15 0x7f9efc8f90a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3)
   #16 0x7f9efb93362c in clone (/lib/x86_64-linux-gnu/libc.so.6+0xe862c)
{code}


{code}
root@0bfa9456f68a:/usr/src/asterisk# git log
commit 6b1c55dc9be90904363dbcf958a9fcc243c85629
Author: George Joseph <gjoseph@digium.com>
Date:   Fri Oct 28 15:59:19 2016 -0600

   pjproject_bundled:  Fix issue where "/version.mak" wasn't found

root@0bfa9456f68a:/usr/src/asterisk# git branch
* 13

{code}


Comments:By: Asterisk Team (asteriskteam) 2016-10-30 06:55:33.022-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Badalian Vyacheslav (slavon) 2017-04-24 22:39:35.694-0500

Added logs