[Home]

Summary:ASTERISK-25765: TSAN: data races and lock-order-inversions (potential deadlocks)
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2016-02-09 19:21:54.000-0600Date Closed:2016-05-24 16:05:10
Priority:MinorRegression?
Status:Closed/CompleteComponents:
Versions:13.7.0 Frequency of
Occurrence
Related
Issues:
Environment:gcc version 5.2.1 20150902 (Red Hat 5.2.1-2) (GCC) Attachments:( 0) tsan.22242
Description:In log file...
Comments:By: Asterisk Team (asteriskteam) 2016-02-09 19:21:55.767-0600

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) 2016-02-09 19:22:56.862-0600

TSAN Log

By: Joshua C. Colp (jcolp) 2016-02-09 19:46:24.406-0600

This can't be against 11.13.0...

Functionality in the log does not exist in 11. What version is it actually against?

By: Badalian Vyacheslav (slavon) 2016-02-09 19:49:48.965-0600

Sorry! Version Fixed

By: Badalian Vyacheslav (slavon) 2016-02-11 23:10:48.142-0600

Created separate issues:
ASTERISK-25773
ASTERISK-25774
ASTERISK-25775
ASTERISK-25776
ASTERISK-25777
ASTERISK-25778
ASTERISK-25779
ASTERISK-25780
ASTERISK-25781
ASTERISK-25782
ASTERISK-25783
ASTERISK-25784
run:
{{TSAN_OPTIONS="second_deadlock_stack=1 halt_on_error=1 force_seq_cst_atomics=1 suppressions=tsup.txt" asterisk -gc}}

current {{tsup.txt}} for clear run and stop:
{code}
# globals
race:ast_options
race:consolethread
race:sig_flags
race:ast_socket
race:args
race:global_logmask

race:pthread_mutex_destroy
race:json_mem_free
race:ast_unregister_thread

race:worker_set_state

race:pj_time_decode

race:ast_begin_shutdown

deadlock:ast_sorcery_load
deadlock:ast_sip_initialize_sorcery_auth
deadlock:topic_add_subscription
deadlock:ast_hint_extension
{code}


By: Joshua C. Colp (jcolp) 2016-02-12 08:30:44.492-0600

[~slavon] What's the purpose of this issue if you created individual issues for things?

By: Badalian Vyacheslav (slavon) 2016-02-12 10:57:45.314-0600

I created them after this request. It has written to the history and connectivity is not lost. This post I think you can close or make Strory

By: Corey Farrell (coreyfarrell) 2016-05-24 16:05:10.168-0500

The issues here are posted to separated bug reports, closing as duplicate.