Comments (5)
While chasing this I found that chan_echolink is not the only module that segfaults on unload.
chan_voter and chan_tlb also segfault on unload. All three have the same code in unload_module
unload_crash.txt
In the text file I posted there is a log_warning that I added while debugging.
from asterisk.
It has been a while since I looked at the code for these, but the modules typically have the "old" and "new" hooks for registering themselves with Asterisk and provide routines for loading (setup) and unloading (cleanup).
it is very likely that the modules above are using an incorrect hook for unloading (likely due to a conditional compile directive) so the code that would cleanup before the module is unloaded is not included in the compiled binary, causing the segfault.
from asterisk.
from asterisk.
Possibly, but what also needs to be done is to check to make sure that the cleanup routines are indeed freeing any memory/pointers that were allocated prior to telling Asterisk it can unload the module -- and causing the segfault.
from asterisk.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from asterisk.
Related Issues (20)
- feature/serial signaling for USB channel drivers HOT 2
- Feature/DCS support HOT 2
- Feature/Kerchunk_Filter HOT 1
- Crashes Related to Connections HOT 6
- feature/update_build_enviorment
- Develop and master branches differ HOT 1
- Exit Behavior
- Crashed Related to RTCM Connect Time HOT 2
- Feature request: Add MDC1200 and notch filter by default
- custom_audio_filters HOT 5
- APRS server address hardcoded in channel driver HOT 1
- .send_text being called once for every connected echolink node
- feature/update_readme HOT 2
- linkcount error HOT 11
- Add support chan_alsaradio HOT 1
- Wrong echolink number Node in status - EL Android HOT 2
- core dump when many nodes connected HOT 6
- feature/increase_call_list_size HOT 1
- bug/invalid_CD_name HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk.