[LBBS-80] mod_mimeparse: Occasional segfault when running tests

LBBS-100
mod_spamassassin: Duplicate close of file descriptor
LBBS-70
mod_smtp_delivery_external: Use SRS for externally forwarded messages
LBBS-80
mod_mimeparse: Occasional segfault when running tests
LBBS-99
mod_webmail: Memory leak when SORT used
ASTERISK-139
app_sms: File a gcc 15 bug for false positive vectorization warning
PHREAKSCRIPT-64
res_smdr_whozz: Add optional DTMF detection via FXO port
PHREAKSCRIPT-65
wanpipe: wanpipe modules fail to load
LBBS-98
net_smtp: Fix message processing actions being skipped in some cases
LBBS-90
mod_smtp_delivery_external: Improve queuing process
LBBS-97
system.c: Evaluate shell syntax/variables when launching programs
LBBS-96
pty: CR NUL is sometimes split up, leaking to flaky test
LBBS-95
mod_mailscript: Add ADDFLAG action
LBBS-94
net_imap: No response from remote IMAP server at login
ASTERISK-58
xml: Add config documentation
ASTERISK-138
pbx.c: Allow KEEPALIVE emulation
PHREAKSCRIPT-61
No rule to make target 'vpmadt032_loader/vpmadt032_x86_64.o'
DAHLIN-9
No rule to make target 'vpmadt032_loader/vpmadt032_x86_64.o'
PHREAKSCRIPT-53
app_george: Cancel in-progress recording if nobody said anything
DAHLIN-13
wct4xxp: Taking address of expression of type void
DAHLIN-12
oct612x, wct4xxp: Compilation failure on next kernel
PHREAKSCRIPT-28
app_predial: Failure to retrieve user agent property
ASTERISK-81
format_lame: MP3 read and write with LAME library
SLACK-5
Failed to receive reply... when message sent
PHREAKSCRIPT-36
app_audichron: Tone not working after announcements
LBBS-86
Deadlock on internal lock mutex
LBBS-13
pty.c: Attempt to lock previously destroyed mutex
LBBS-93
mod_discord: Reply function on Discord doesn't translate well to IRC
ASTERISK-121
Upstream PhreakScript patches
ASTERISK-63
Upstream certain PhreakScript modules
ASTERISK-33
docs: Update obsolete wiki links
ASTERISK-3
Asterisk Wiki issues
PHREAKSCRIPT-63
chan_dahdi: Unused variable x
LBBS-92
Gmail bug causes disconnect after MOVE of certain messages
PHREAKNET-55
PhreakNet telegrams should also page recipient
LBBS-91
readline.c: Crash in memmove
PHREAKSCRIPT-62
res_smdr_whozz: Initialization usually fails in practice
PHREAKNET-6
Verification flags international calls
ASTERISK-137
sig_analog: Add alternate dial pulse scheme support
LBBS-89
mod_sysop: Improve history navigation and tab completion
ASTERISK-22
general: Fix various typos
LBBS-31
mod_sieve: Major Sieve filtering overhaul and improvements
LBBS-42
mod_discord: Actions not relayed properly from IRC
LBBS-44
io_tls: TLS errors when no certs are defined
ASTERISK-110
chan_iax2: Implement MWI
LBBS-84
net_imap: Microsoft clients disconnected after 1 hour
LBBS-88
net_imap: IDLE data not being processed in realtime
LBBS-74
net_ssh: Sessions persist even when they no longer exist
LBBS-3
module.c: Module ref tracking is flaky
DAHLIN-11
Use dev_addr_set instead of directly modifying const buffer
LBBS-2
module.c: Improve module loading process
LBBS-22
mod_mail_trash: Eliminate bbs_pthread_cancel_kill
PHREAKNET-46
Polycom IP phones not provisioning
SLACK-6
Can't post messages in enterprise workspaces using RTM API
PHREAKNET-39
Splice Fred Covington prompts for speaking clock
DAHLIN-2
Fix typos and dead links
PHREAKSCAN-1
Raw data upload restricted to 15M
LBBS-87
mod_webmail: Null dereference in FETCHLIST
ASTERISK-136
app_voicemail: Voicemails stored but no email sent
LBBS-85
net_imap: Malformed IMAP FETCH response
PHREAKNET-54
Fix trunking to Telstar
LBBS-1
mod_slack: Workspace fails to initialize due to restrictions
ASTERISK-122
res_pjsip_device_features: Excessive refcount on endpoint object
PHREAKSCRIPT-59
Add PhreakScript option to enable EMPULSE
DAHLIN-10
Allow enabling EMPULSE and EMFLASH simultaneously
LBBS-83
Node deadlock on shutdown
LBBS-82
localtime_r deadlock
LBBS-81
io_tls: Crash due to uninitialized memory
PHREAKSCRIPT-60
phreak script install failed without --version 22
PHREAKSCAN-2
Improve automation
LBBS-47
Email enhancements
LBBS-78
node.c: node->ip can be NULL
LBBS-77
test_terminals: Test is now flaky
LBBS-79
Makefile: cp -n is deprecated
PHREAKNET-53
Change in IP address for hosted lines
PHREAKSCRIPT-58
sig_analog: Allow hearpulsing gain to be adjusted
PHREAKSCRIPT-57
res_alarmsystem: Segfault due to calling ast_dtmf_stream on NULL channel
ASTERISK-135
Mutex errors on FreeBSD
LBBS-75
net_smtp: Allow plain text delivery if requirestarttls is false
PHREAKSCRIPT-55
dahdi_tool not installed
ASTERISK-134
chan_dahdi: Improve configuration validation
PHREAKSCRIPT-52
res_alarmsystem: IP loss reported even if no outage
LBBS-76
net_imap: Remote MOVE/COPY operations fail in some circumstances
PHREAKSCRIPT-43
Add spanconfig command
PHREAKSCRIPT-56
DAHDI Tools: Apply unmerged patches
ASTERISK-131
chan_dahdi: Automatically update time when DST starts/ends
ASTERISK-130
Verify that res_xmpp can compile and be used
WSSMAIL-5
Add full attachment support
DAHTOOL-5
Disabling span auto-assignment implodes kernel
PHREAKNET-52
Cisco end of CSR signing support
LBBS-18
net_ssh: High CPU trying to end SSH session
ASTERISK-106
chan_pjsip: Modify From header appropriately for unavailable presentation
ASTERISK-124
app_mixmonitor: Allow cancelling in-progress recording/recipients
ASTERISK-129
core: Add ref/unref for ast_moh callbacks
PHREAKSCRIPT-54
Replace LOAD_STR_INT with ast_yesno
ASTERISK-128
Rename ast_sip_presence_xml_ functions
ASTERISK-127
func_codecs: view/update codecs
DAHLIN-8
Readd native SF support
ASTERISK-126
chan_iax2: Add fixed jitterbuffer
PHREAKNET-49
ML model for 3-slot coin detection
ASTERISK-125
app_voicemail: Warning when hanging up during playback
ASTERISK-48
func_devstate: Delete empty from AstDB
ASTERISK-108
config.c: Investigate and fix various config file rewrite bugs
LBBS-25
mod_mail_trash: Attempts to open files as directories
LBBS-30
net_nntp: Complete overhaul/rewrite to use maildirs
INTERLINKED-20
Closing multiple issues simultaneously doesn't work
PHREAKNET-47
Add automation for bill mailings
PHREAKSCRIPT-51
Add 32-bit/ARM builds
DAHLIN-7
Mega-issue to upstream out-of-tree DAHDI patches
ASTERISK-123
app_voicemail: Add ability to disable "thank-you" when ending voicemail
PHREAKSCRIPT-50
app_acts: Finish fine tuning and bug fixes
SLACK-4
Slack client exits due to SSL_ERROR_ZERO_RETURN
ASTERISK-83
res_pjsip_device_features: Add forwarding and DND synchronization
PHREAKSCRIPT-42
Syntax Error on chan_dahdi
PHREAKSCRIPT-48
res_alarmsystem.conf.sample: Config is not commented by default
WSSMAIL-10
Can scroll down past bottom of page on larger screens
PHREAKSCRIPT-49
wanpipe doesn't compile above 6.1 kernel
LBBS-21
net_imap: Proxy clients orphaned without associated IMAP session
LBBS-73
net_imap: Invalid memory access client->imap->tag
LBBS-19
tls.c: Occasional SEGV at shutdowns of TLS connections
DAHLIN-6
Frame relay broken
PHREAKSCRIPT-47
make webvmail
PHREAKSCRIPT-46
menuselect
PHREAKSCRIPT-45
TDMoIP driver module
PHREAKSCRIPT-44
Finish ADSI applications
DAHTOOL-4
dahdi_genconf: Hangs when run initially after span assignment
WSSMAIL-6
Add option to auto-reconnect if disconnected
PHREAKSCRIPT-41
Create virtual modem application using softmodem
PHREAKNET-41
Allow for more granular billing based on switch ZIP code
PHREAKNET-33
Finish TSPS web console
ASTERISK-82
app_queue: Allow queue strategy to be manipulated externally
ASTERISK-101
func_tonedetect: 2600 Hz detection not working or suboptimal
LBBS-72
mod_webdav: Add WebDAV support
LBBS-71
Limit registrations from same IP within a certain amount of time
LBBS-57
Occasional 100% CPU usage on SSH session termination
ASTERISK-120
app_senddtmf: SendDTMF failure if not answering channel
ASTERISK-119
app_dial: Progress timeout doesn't cause Dial to exit
TEST-1
Test issue
ASTERISK-117
app_voicemail: Pager email generation is broken
ASTERISK-118
chan_iax2: Improve encryption support
LBBS-60
Prevent clients from monopolizing nodes (DOS)
DAHTOOL-3
Compilation warnings on 32-bit (i686)
LBBS-14
net_imap: SEGV in strncmp
WSSMAIL-11
Use accurate hyperlinks for folders
WSSMAIL-1
Preview pane doesn't take up allotted space
WSSMAIL-2
Implicitly mark messages read when deleting
LBBS-12
mod_webmail: client_flush_pending_output infinite loop
LBBS-50
mod_chanserv: NULL dereference when joining IRC channel
LBBS-68
scripts: Improve backup script error reporting
LBBS-26
server_setup.sh: Autocreate all default directories
LBBS-54
mod_mailscript: Add RECIPIENT condition
LBBS-55
net_telnet: Don't use strerror if res is 0
LBBS-67
net_ftp: Set node protocol to FTPES if using Explicit TLS
ASTERISK-116
app_dial: Strange/broken behavior with 'U' option
LBBS-62
net_imap: IMAP client frequently fails for Microsoft accounts
LBBS-53
Assertion when forwarding to external recipient
PHREAKSCRIPT-40
res_msp: Indentation messed up
PHREAKSCRIPT-32
app_alarmsystem: Add alarm system application
INTERLINKED-13
Comment and Close doesn't close issue
PHREAKSCRIPT-31
phreaknet config does not update verify.conf
PHREAKSCRIPT-27
res_msp not patched in during install
PHREAKSCRIPT-26
format_mp3 prereqs not always available
SLACK-1
slack-client: Deadlock when relaying messages
LBBS-69
net_ssh: SFTP uploads fail with WinSCP
WSSMAIL-15
Allow navigating messages using arrow keys
DAHLIN-4
Improve manual span assignment process
ASTERISK-115
chan_iax2: Some pattern matches ignored if included in incoming context
DAHLIN-5
FXO rings off hook when rotary dialing on the line
ASTERISK-114
chan_iax2: DP cache warning when using switch
ASTERISK-113
app_disa: Unrecognized option when providing context
ASTERISK-15
chan_dahdi: Allow sending SDMF Caller ID
ASTERISK-104
Improve dahdi show channels output
ASTERISK-112
chan_dahdi: Raw power ring audible on recall ring from IAX2 to DAHDI
ASTERISK-111
chan_dahdi: MWI while off-hook when hung up on after recall ring
ASTERISK-64
chan_dahdi: autoreoriginate doesn't work if caller hung up on
ASTERISK-105
chan_dahdi: Add CLI command to display line voltages
ASTERISK-88
chan_dahdi: Add ADSI on-hook download support
PHREAKSCRIPT-29
res_phreaknet: Don't try making API requests if not a PhreakNet node
ASTERISK-109
voicemail.conf.sample: Clarify misnamed option behavior
INTERLINKED-17
Blog: Issues with tag editing and viewing
LBBS-15
smtp: Locking errors, deadlock when queue runs during delivery
ASTERISK-68
res_pjsip_sca: Segfaults on startup with SCA
PHREAKSCRIPT-39
Add optional flag to not update system first
PHREAKSCRIPT-38
res_phreaknet: Increase cURL timeouts
LBBS-32
mod_spamassassin: Improve default spam handling
PHREAKSCRIPT-37
app_softmodem: Support speeds higher than 2400bps
LBBS-59
Add HTTP endpoint for updating IRC presence automatically
PHREAKSCRIPT-35
app_mail: SendMail returns SUCCESS
LBBS-66
logger: Add rate limiting of log messages
INTERLINKED-15
Improve paging API
ASTERISK-107
indications.conf.sample: Add confirmation tone
LBBS-65
net_smtp: Allow internal trusted hosts to be exempt from protocol violation checks
INTERLINKED-16
Add option to not be notified about user's own issues
LBBS-16
io_compress: Occasional memory corruption on shutdown
WSSMAIL-14
Checkbox range selection doesn't always work reliably
PHREAKSCRIPT-34
app_verify: Check additional headers for STIR/SHAKEN attestation
PHREAKSCRIPT-33
verify.conf: Flag invalid NXXs as illegitimate for NANPA calls
LBBS-64
mod_operator: Crash with more than 64 options?
ASTERISK-19
chan_dahdi: Remove sig_analog paths
LBBS-61
net_imap: Soft assertion in parse_flags_string
LBBS-63
net_imap, io_compress: Spurious warnings if quota exceeded
ASTERISK-93
chan_dahdi: DSP optimizations
PHREAKSCRIPT-30
MD5/RSA authenticated calls frequently fail
PHREAKNET-45
Operator system PSPs are outdated
LBBS-46
Block malicious mail servers after repeated failures
WSSMAIL-13
Improve multi-INBOX navigation
WSSMAIL-12
Add one-click "Not junk" button
LBBS-6
Add menu system scripting engine
LBBS-58
net_irc: Make ping interval adjustable
ASTERISK-103
GitHub Issue 661 was not autoclosed by PR
PHREAKNET-44
Show only sum of message units used per month on bills
ASTERISK-96
asterisk.adsi: Add Call Waiting Deluxe integration to resident script
LBBS-56
net_snpp: Add Simple Network Paging Protocol support
ASTERISK-102
app_voicemail: Play RDNIS if present when listening to envelope
ASTERISK-46
dsp.c: Remove ast_ prefixes for static functions
ASTERISK-52
dsp.c: Add ast_freq_reset
PHREAKSCRIPT-20
dsp.c: coin DSP patch breaks faxing
WSSMAIL-9
Sent email uploads can fail due to relative host difference
SLACK-3
examples: Add example program to log everything to a CSV
LBBS-52
net_smtp: Add limited support for VRFY and EXPN
PHREAKNET-42
Provisioning fails for lines with certain features
ASTERISK-100
chan_dahdi: PRI lock held at module unload
LBBS-51
General TDD improvements
PHREAKSCRIPT-25
chan_sccp no longer compiles
PHREAKNET-40
Recent Change provisioning bug increments device name by 1
ASTERISK-99
pjsip: Add Cisco CUCM patch functionality
ASTERISK-98
Add hangup callbacks
ASTERISK-97
func_groupcount: Add group vars
LBBS-49
Add functionality expected of a traditional BBS package
LBBS-48
net_irc: Support multi-server networks
WSSMAIL-8
Add NNTP support and IRC integration
EVERGREEN-3
Add NNTP support for newsgroups
PHREAKSCRIPT-24
DAHDI builds in GitHub CI occasionally fail due to IPv6
PHREAKSCRIPT-23
res_phreaknet: Increase cURL timeout
PHREAKSCRIPT-22
Add framehook to display dialed digits
PHREAKSCRIPT-21
app_looparound: Add LoopAround application
ASTERISK-95
testsuite README: Update outdated references
ASTERISK-94
app_chanspy: Fix bad audio with single direction operation
LBBS-45
Use isoexec whenever possible
CAMI-1
Action Originate Returns -1
EVERGREEN-2
Navigation breaks when requirefromhelomatch=no in LBBS
ASTERISK-92
config.c: ast_variable_update doesn't update all instances
PHREAKSCRIPT-19
app_verify: Double free
PHREAKSCRIPT-18
Add better test coverage for 32-bit systems
PHREAKSCRIPT-17
res_phreaknet: iax.conf, et. al. are truncated when there is no disk space left
LBBS-43
mod_discord: Improve handling of in-thread replies
LBBS-41
socket.c: SEGV in bbs_node_readline
ASTERISK-91
features.c: Add warning to not set BRIDGE_NOANSWER as global variable
ASTERISK-90
chan_iax2: Add log message for rejected calls
ASTERISK-89
app_stack: Print proper exit location for PBXless channels
ASTERISK-87
asterisk.c: Prevent creation of duplicate Asterisk processes

← All Issues || New Issue →

Sort Normal || Priority

Details


mod_mimeparse can sometimes cause issues when unloaded:

[2024-11-14 14:19:12.851] [1;32m  DEBUG[0m[37137]: [1;37mmodule.c:1600 unload_modules_helper[0m: Attempting to unload mod_mimeparse.so
[2024-11-14 14:19:12.854] [1;32m  DEBUG[0m[37137]: [1;37mmodule.c:1612 unload_modules_helper[0m: Module mod_mimeparse.so previously was in use but unloaded on pass 2
[2024-11-14 14:19:12.855] [1;32m  DEBUG[0m[37137]: [1;37mmodule.c:310 logged_dlclose[0m: dlclose: mod_mimeparse
[2024-11-14 14:19:12.855]  === Unregistering module mod_mimeparse
[2024-11-14 14:19:13.333] [1;32m  DEBUG[0m: test.c:886 run_test: Child process 37137 has exited
[2024-11-14 14:19:13.333] [1;31m  ERROR[0m: test.c:889 run_test: Process 37137 (/home/runner/work/lbbs/lbbs/tests/test_imap.so) killed, signal Segmentation fault
[2024-11-14 14:19:13.333] [1;32m  DEBUG[0m: test.c:895 run_test: Test return code so far is 0
[2024-11-14 14:19:13.333] [1;32m  DEBUG[0m: test.c:396 io_relay: read returned 0
==37137== Thread 3:
==37137== Jump to the invalid address stated on the next line
==37137==    at 0x621D683: ???
==37137==    by 0x158F01: thread_run (thread.c:411)
==37137==    by 0x50FBA93: start_thread (pthread_create.c:447)
==37137==    by 0x5188A33: clone (clone.S:100)
==37137==  Address 0x621d683 is in the Text segment of /usr/lib/lbbs/modules/net_smtp.so
==37137==    at 0x621D683: ???
==37137== 
==37137== 
==37137== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==37137==  Access not within mapped region at address 0x621D683
==37137==    at 0x621D683: ???
==37137==    by 0x158F01: thread_run (thread.c:411)
==37137==    by 0x50FBA93: start_thread (pthread_create.c:447)
==37137==    by 0x5188A33: clone (clone.S:100)
==37137==  If you believe this happened as a result of a stack
==37137==  overflow in your program's main thread (unlikely but
==37137==  possible), you can try to increase the size of the
==37137==  main thread stack using the --main-stacksize= flag.
==37137==  The main thread stack size used in this run was 8388608.

Another example: https://github.com/InterLinked1/lbbs/actions/runs/12060196582/job/33630180204

==37299== 1 errors in context 1 of 3:
==37299== Thread 3:
==37299== Jump to the invalid address stated on the next line
==37299==    at 0x621D6B3: ???
==37299==    by 0x159BF1: thread_run (thread.c:411)
==37299==    by 0x50FBA93: start_thread (pthread_create.c:447)
==37299==    by 0x5188A33: clone (clone.S:100)
==37299==  Address 0x621d6b3 is in the Text segment of /usr/lib/lbbs/modules/net_smtp.so
==37299==    at 0x621D6B3: ???

Another example:

[2025-03-04 02:33:34.597]  === Unregistering module mod_mail
[2025-03-04 02:33:34.599] [1;32m  DEBUG[0m[37582]: [1;37mmodule.c:1856 unload_modules_helper[0m: Attempting to unload mod_mimeparse.so
[2025-03-04 02:33:34.603] [1;32m  DEBUG[0m[37582]: [1;37mmodule.c:1868 unload_modules_helper[0m: Module mod_mimeparse.so previously was in use but unloaded on pass 2
[2025-03-04 02:33:34.603] [1;32m  DEBUG[0m[37582]: [1;37mmodule.c:330 logged_dlclose[0m: dlclose: mod_mimeparse
[2025-03-04 02:33:34.603]  === Unregistering module mod_mimeparse
[2025-03-04 02:33:35.518] [1;32m  DEBUG[0m: test.c:894 run_test: Child process 37582 has exited
[2025-03-04 02:33:35.518] [1;31m  ERROR[0m: test.c:897 run_test: Process 37582 (/home/runner/work/lbbs/lbbs/tests/test_imap.so) killed, signal Segmentation fault
[2025-03-04 02:33:35.518] [1;32m  DEBUG[0m: test.c:905 run_test: Test return code so far is 0
[2025-03-04 02:33:35.518] [1;32m  DEBUG[0m: test.c:401 io_relay: read returned 0
==37582== Thread 3:
==37582== Jump to the invalid address stated on the next line
==37582==    at 0x56670B3: ???
==37582==    by 0x159DC1: thread_run (thread.c:421)
==37582==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37582==    by 0x5068A33: clone (clone.S:100)
==37582==  Address 0x56670b3 is in the Text segment of /usr/lib/lbbs/modules/net_smtp.so
==37582==    at 0x56670B3: ???
==37582== 
==37582== 
==37582== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==37582==  Access not within mapped region at address 0x56670B3
==37582==    at 0x56670B3: ???
==37582==    by 0x159DC1: thread_run (thread.c:421)
==37582==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37582==    by 0x5068A33: clone (clone.S:100)
==37582==  If you believe this happened as a result of a stack
==37582==  overflow in your program's main thread (unlikely but
==37582==  possible), you can try to increase the size of the
==37582==  main thread stack using the --main-stacksize= flag.
==37582==  The main thread stack size used in this run was 8388608.

And another:

[2025-03-04 03:57:40.510]   DEBUG[26762]: module.c:1856 unload_modules_helper: Attempting to unload net_imap.so
[2025-03-04 03:57:40.516]   DEBUG[26762]: module.c:907 dec_refcounts: net_imap no longer depends on module mod_mail.so
[2025-03-04 03:57:40.507]   DEBUG[26769]: node.c:698 node_free: Node 4 now freed
[2025-03-04 03:57:40.517]   DEBUG[26762]: module.c:907 dec_refcounts: net_imap no longer depends on module mod_mimeparse.so
[2025-03-04 03:57:40.519]   DEBUG[26762]: module.c:330 logged_dlclose: dlclose: net_imap
[2025-03-04 03:57:40.517]   DEBUG[26765]: socket.c:738 tcp_multilistener: TCP multilistener is now watching 2 sockets
[2025-03-04 03:57:40.520]  === Unregistering module net_imap
[2025-03-04 03:57:40.521]   DEBUG[26762]: module.c:1856 unload_modules_helper: Attempting to unload net_smtp.so
[2025-03-04 03:57:40.524]   DEBUG[26762]: module.c:907 dec_refcounts: net_smtp no longer depends on module mod_mail.so
[2025-03-04 03:57:40.525]   DEBUG[26762]: module.c:330 logged_dlclose: dlclose: net_smtp
[2025-03-04 03:57:40.525]  === Unregistering module net_smtp
[2025-03-04 03:57:40.529]   DEBUG[26762]: module.c:1856 unload_modules_helper: Attempting to unload mod_mail.so
[2025-03-04 03:57:40.531]   DEBUG[26762]: module.c:1868 unload_modules_helper: Module mod_mail.so previously was in use but unloaded on pass 2
[2025-03-04 03:57:40.521]   == Node 4 has exited
[2025-03-04 03:57:40.531]   DEBUG[26762]: module.c:330 logged_dlclose: dlclose: mod_mail
[2025-03-04 03:57:40.532]  === Unregistering module mod_mail
[2025-03-04 03:57:41.407]   DEBUG: test.c:898 run_test: Child process 26762 has exited
[2025-03-04 03:57:41.407]   ERROR: test.c:901 run_test: Process 26762 (/home/runner/work/lbbs/lbbs/tests/test_imap_msn.so) killed, signal Segmentation fault
[2025-03-04 03:57:41.407]   DEBUG: test.c:909 run_test: Test return code so far is 0
[2025-03-04 03:57:41.407]   DEBUG: test.c:401 io_relay: read returned 0
==26762== Thread 6:
==26762== Jump to the invalid address stated on the next line
==26762==    at 0x5CD2622: ???
==26762==    by 0x156F14: thread_run (thread.c:421)
==26762==    by 0x4F16AC2: start_thread (pthread_create.c:442)
==26762==    by 0x4FA7A03: clone (clone.S:100)
==26762==  Address 0x5cd2622 is in the Text segment of /usr/lib/lbbs/modules/net_imap.so
==26762==    at 0x5CD2622: ???
==26762== 
==26762== 
==26762== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==26762==  Access not within mapped region at address 0x5CD2622
==26762==    at 0x5CD2622: ???
==26762==    by 0x156F14: thread_run (thread.c:421)
==26762==    by 0x4F16AC2: start_thread (pthread_create.c:442)
==26762==    by 0x4FA7A03: clone (clone.S:100)
==26762==  If you believe this happened as a result of a stack
==26762==  overflow in your program's main thread (unlikely but
==26762==  possible), you can try to increase the size of the
==26762==  main thread stack using the --main-stacksize= flag.
==26762==  The main thread stack size used in this run was 8388608.

And another:

[2025-03-05 02:19:21.207] [1;32m  DEBUG[0m[37580]: [1;37mmodule.c:935 dec_refcounts[0m: net_imap no longer depends on module mod_mimeparse.so
[2025-03-05 02:19:21.208] [1;32m  DEBUG[0m[37580]: [1;37mmodule.c:347 logged_dlclose[0m: dlclose: net_imap
[2025-03-05 02:19:21.209]  === Unregistering module net_imap
[2025-03-05 02:19:21.208] [1;32m  DEBUG[0m[37592]: [1;37mnode.c:698 node_free[0m: Node 2 now freed
[2025-03-05 02:19:21.210] [1;32m  DEBUG[0m[37580]: [1;37mmodule.c:1905 unload_modules_helper[0m: Attempting to unload net_smtp.so
[2025-03-05 02:19:21.213] [1;32m  DEBUG[0m[37580]: [1;37mmodule.c:935 dec_refcounts[0m: net_smtp no longer depends on module mod_mail.so
[2025-03-05 02:19:21.215] [1;32m  DEBUG[0m[37580]: [1;37mmodule.c:347 logged_dlclose[0m: dlclose: net_smtp
[2025-03-05 02:19:21.215]  === Unregistering module net_smtp
[2025-03-05 02:19:21.211]   == Node 2 has exited
[2025-03-05 02:19:21.214] [1;32m  DEBUG[0m[37583]: [1;37msocket.c:738 tcp_multilistener[0m: TCP multilistener is now watching 0 sockets
[2025-03-05 02:19:21.220] [1;32m  DEBUG[0m[37583]: [1;37mthread.c:138 __thread_unregister[0m: Thread 37583 is exiting (detached)
[2025-03-05 02:19:21.221] [1;32m  DEBUG[0m[37580]: [1;37mmodule.c:1905 unload_modules_helper[0m: Attempting to unload mod_mail.so
[2025-03-05 02:19:22.239] [1;32m  DEBUG[0m: test.c:907 run_test: Child process 37580 has exited
[2025-03-05 02:19:22.239] [1;31m  ERROR[0m: test.c:910 run_test: Process 37580 (/home/runner/work/lbbs/lbbs/tests/test_imap.so) killed, signal Segmentation fault
[2025-03-05 02:19:22.239] [1;32m  DEBUG[0m: test.c:918 run_test: Test return code so far is 0
[2025-03-05 02:19:22.239] [1;32m  DEBUG[0m: test.c:407 io_relay: read returned 0
==37580== Thread 3:
==37580== Jump to the invalid address stated on the next line
==37580==    at 0x56670B3: ???
==37580==    by 0x159CE1: thread_run (thread.c:421)
==37580==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37580==    by 0x5068A33: clone (clone.S:100)
==37580==  Address 0x56670b3 is in the Text segment of /usr/lib/lbbs/modules/net_smtp.so
==37580==    at 0x56670B3: ???

And another:

[2025-03-06 02:43:40.020] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:1905 unload_modules_helper[0m: Attempting to unload net_imap.so
[2025-03-06 02:43:40.026] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:935 dec_refcounts[0m: net_imap no longer depends on module mod_mail.so
[2025-03-06 02:43:40.011]   == Node 2 has exited
[2025-03-06 02:43:40.028] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:935 dec_refcounts[0m: net_imap no longer depends on module mod_mimeparse.so
[2025-03-06 02:43:40.028] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:347 logged_dlclose[0m: dlclose: net_imap
[2025-03-06 02:43:40.028]  === Unregistering module net_imap
[2025-03-06 02:43:40.030] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:1905 unload_modules_helper[0m: Attempting to unload net_smtp.so
[2025-03-06 02:43:40.033] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:935 dec_refcounts[0m: net_smtp no longer depends on module mod_mail.so
[2025-03-06 02:43:40.027] [1;32m  DEBUG[0m[37558]: [1;37msocket.c:738 tcp_multilistener[0m: TCP multilistener is now watching 2 sockets
[2025-03-06 02:43:40.034] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:347 logged_dlclose[0m: dlclose: net_smtp
[2025-03-06 02:43:40.034]  === Unregistering module net_smtp
[2025-03-06 02:43:40.038] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:1905 unload_modules_helper[0m: Attempting to unload mod_mail.so
[2025-03-06 02:43:40.040] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:1920 unload_modules_helper[0m: Module mod_mail.so previously was in use but unloaded on pass 2
[2025-03-06 02:43:40.041] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:347 logged_dlclose[0m: dlclose: mod_mail
[2025-03-06 02:43:40.041]  === Unregistering module mod_mail
[2025-03-06 02:43:40.042] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:1905 unload_modules_helper[0m: Attempting to unload mod_mimeparse.so
[2025-03-06 02:43:40.046] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:1920 unload_modules_helper[0m: Module mod_mimeparse.so previously was in use but unloaded on pass 2
[2025-03-06 02:43:40.047] [1;32m  DEBUG[0m[37555]: [1;37mmodule.c:347 logged_dlclose[0m: dlclose: mod_mimeparse
[2025-03-06 02:43:40.047]  === Unregistering module mod_mimeparse
[2025-03-06 02:43:40.056] [1;32m  DEBUG[0m[37558]: [1;37msocket.c:738 tcp_multilistener[0m: TCP multilistener is now watching 0 sockets
[2025-03-06 02:43:40.058] [1;32m  DEBUG[0m[37558]: [1;37mthread.c:138 __thread_unregister[0m: Thread 37558 is exiting (detached)
[2025-03-06 02:43:40.943] [1;32m  DEBUG[0m: test.c:942 run_test: Child process 37555 has exited
[2025-03-06 02:43:40.943] [1;31m  ERROR[0m: test.c:945 run_test: Process 37555 (/home/runner/work/lbbs/lbbs/tests/test_imap.so) killed, signal Segmentation fault
[2025-03-06 02:43:40.943] [1;32m  DEBUG[0m: test.c:953 run_test: Test return code so far is 0
[2025-03-06 02:43:40.944] [1;32m  DEBUG[0m: test.c:418 io_relay: read returned 0
==37555== Thread 3:
==37555== Jump to the invalid address stated on the next line
==37555==    at 0x56670B3: ???
==37555==    by 0x15A7D1: thread_run (thread.c:421)
==37555==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37555==    by 0x5068A33: clone (clone.S:100)
==37555==  Address 0x56670b3 is in the Text segment of /usr/lib/lbbs/modules/net_smtp.so
==37555==    at 0x56670B3: ???
==37555== 
==37555== 
==37555== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==37555==  Access not within mapped region at address 0x56670B3
==37555==    at 0x56670B3: ???
==37555==    by 0x15A7D1: thread_run (thread.c:421)
==37555==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37555==    by 0x5068A33: clone (clone.S:100)
==37555==  If you believe this happened as a result of a stack
==37555==  overflow in your program's main thread (unlikely but
==37555==  possible), you can try to increase the size of the
==37555==  main thread stack using the --main-stacksize= flag.
==37555==  The main thread stack size used in this run was 8388608.

And another:

[2025-03-06 04:20:20.607]   DEBUG[37127]: module.c:1905 unload_modules_helper: Attempting to unload net_imap.so
[2025-03-06 04:20:20.613]   DEBUG[37127]: module.c:935 dec_refcounts: net_imap no longer depends on module mod_mail.so
[2025-03-06 04:20:20.613]   DEBUG[37127]: module.c:935 dec_refcounts: net_imap no longer depends on module mod_mimeparse.so
[2025-03-06 04:20:20.613]   DEBUG[37127]: module.c:347 logged_dlclose: dlclose: net_imap
[2025-03-06 04:20:20.613]  === Unregistering module net_imap
[2025-03-06 04:20:20.615]   DEBUG[37127]: module.c:1905 unload_modules_helper: Attempting to unload net_smtp.so
[2025-03-06 04:20:20.617]   DEBUG[37127]: module.c:935 dec_refcounts: net_smtp no longer depends on module mod_mail.so
[2025-03-06 04:20:20.618]   DEBUG[37127]: module.c:347 logged_dlclose: dlclose: net_smtp
[2025-03-06 04:20:20.618]  === Unregistering module net_smtp
[2025-03-06 04:20:20.620]   DEBUG[37129]: socket.c:738 tcp_multilistener: TCP multilistener is now watching 0 sockets
[2025-03-06 04:20:20.623]   DEBUG[37127]: module.c:1905 unload_modules_helper: Attempting to unload mod_mail.so
[2025-03-06 04:20:20.625]   DEBUG[37129]: thread.c:138 __thread_unregister: Thread 37129 is exiting (detached)
[2025-03-06 04:20:21.534]   DEBUG: test.c:1010 run_test: Child process 37127 has exited
[2025-03-06 04:20:21.534]   ERROR: test.c:1013 run_test: Process 37127 (/home/runner/work/lbbs/lbbs/tests/test_imap_msn.so) killed, signal Segmentation fault
[2025-03-06 04:20:21.534]   DEBUG: test.c:1021 run_test: Test return code so far is 0
[2025-03-06 04:20:21.534]   DEBUG: test.c:422 io_relay: read returned 0
==37127== Thread 6:
==37127== Jump to the invalid address stated on the next line
==37127==    at 0x5D8B4A0: ???
==37127==    by 0x159CF1: thread_run (thread.c:421)
==37127==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37127==    by 0x5068A33: clone (clone.S:100)
==37127==  Address 0x5d8b4a0 is in the Text segment of /usr/lib/lbbs/modules/net_imap.so
==37127==    at 0x5D8B4A0: ???
==37127== 
==37127== 
==37127== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==37127==  Access not within mapped region at address 0x5D8B4A0
==37127==    at 0x5D8B4A0: ???
==37127==    by 0x159CF1: thread_run (thread.c:421)
==37127==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37127==    by 0x5068A33: clone (clone.S:100)
==37127==  If you believe this happened as a result of a stack
==37127==  overflow in your program's main thread (unlikely but
==37127==  possible), you can try to increase the size of the
==37127==  main thread stack using the --main-stacksize= flag.
==37127==  The main thread stack size used in this run was 8388608.

Another:

[2025-03-11 12:55:48.386]  === Unregistering module net_imap
[2025-03-11 12:55:48.387]   DEBUG[37410]: module.c:1924 unload_modules_helper: Attempting to unload net_smtp.so
[2025-03-11 12:55:48.388]   DEBUG[37412]: socket.c:738 tcp_multilistener: TCP multilistener is now watching 4 sockets
[2025-03-11 12:55:48.391]   DEBUG[37412]: socket.c:738 tcp_multilistener: TCP multilistener is now watching 2 sockets
[2025-03-11 12:55:48.391]   DEBUG[37410]: module.c:952 dec_refcounts: net_smtp no longer depends on module mod_mail.so
[2025-03-11 12:55:48.392]   DEBUG[37410]: module.c:347 logged_dlclose: dlclose: net_smtp
[2025-03-11 12:55:48.392]   DEBUG[37412]: socket.c:738 tcp_multilistener: TCP multilistener is now watching 2 sockets
[2025-03-11 12:55:48.392]   DEBUG[37414]: node.c:649 node_shutdown: Node 1 has no PTY thread to clean up
[2025-03-11 12:55:48.393]  === Unregistering module net_smtp
[2025-03-11 12:55:48.395]   DEBUG[37410]: module.c:1916 unload_modules_helper: Skipping unload of net_ws.so with use count 1 on pass 1
[2025-03-11 12:55:48.396]   DEBUG[37410]: module.c:1916 unload_modules_helper: Skipping unload of mod_http.so with use count 1 on pass 2
[2025-03-11 12:55:48.396]   DEBUG[37410]: module.c:1924 unload_modules_helper: Attempting to unload mod_mail.so
[2025-03-11 12:55:48.399]   DEBUG[37410]: module.c:1939 unload_modules_helper: Module mod_mail.so previously was in use but unloaded on pass 2
[2025-03-11 12:55:48.399]   DEBUG[37410]: module.c:347 logged_dlclose: dlclose: mod_mail
[2025-03-11 12:55:48.400]  === Unregistering module mod_mail
[2025-03-11 12:55:48.401]   DEBUG[37414]: node.c:680 node_shutdown: Shutdown pending finalization for node 1
[2025-03-11 12:55:48.402]   DEBUG[37410]: module.c:1924 unload_modules_helper: Attempting to unload mod_mimeparse.so
[2025-03-11 12:55:48.402]   DEBUG[37414]: node.c:698 node_free: Node 1 now freed
[2025-03-11 12:55:48.406]   DEBUG[37410]: module.c:1939 unload_modules_helper: Module mod_mimeparse.so previously was in use but unloaded on pass 2
[2025-03-11 12:55:48.406]   DEBUG[37410]: module.c:347 logged_dlclose: dlclose: mod_mimeparse
[2025-03-11 12:55:48.407]  === Unregistering module mod_mimeparse
[2025-03-11 12:55:48.415]   DEBUG[37410]: module.c:1924 unload_modules_helper: Attempting to unload net_ws.so
[2025-03-11 12:55:48.417]   DEBUG[37410]: module.c:1939 unload_modules_helper: Module net_ws.so previously was in use but unloaded on pass 2
[2025-03-11 12:55:48.417]   DEBUG[37412]: socket.c:738 tcp_multilistener: TCP multilistener is now watching 0 sockets
[2025-03-11 12:55:48.418]   DEBUG[37410]: module.c:952 dec_refcounts: net_ws no longer depends on module mod_http.so
[2025-03-11 12:55:48.418]   DEBUG[37410]: module.c:347 logged_dlclose: dlclose: net_ws
[2025-03-11 12:55:48.418]  === Unregistering module net_ws
[2025-03-11 12:55:48.422]   == Node 1 has exited
[2025-03-11 12:55:49.319]   DEBUG: test.c:1028 run_test: Child process 37410 has exited
[2025-03-11 12:55:49.319]   ERROR: test.c:1031 run_test: Process 37410 (/home/runner/work/lbbs/lbbs/tests/test_webmail.so) killed, signal Segmentation fault
[2025-03-11 12:55:49.319]   DEBUG: test.c:1039 run_test: Test /home/runner/work/lbbs/lbbs/tests/test_webmail.so return code so far is 0
[2025-03-11 12:55:49.319]   DEBUG: test.c:438 io_relay: read returned 0
==37410== Thread 4:
==37410== Jump to the invalid address stated on the next line
==37410==    at 0x5D90690: ???
==37410==    by 0x159F91: thread_run (thread.c:421)
==37410==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37410==    by 0x5068A33: clone (clone.S:100)
==37410==  Address 0x5d90690 is in the Text segment of /usr/lib/lbbs/modules/net_ws.so
==37410==    at 0x5D90690: ???
==37410== 
==37410== 
==37410== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==37410==  Access not within mapped region at address 0x5D90690
==37410==    at 0x5D90690: ???
==37410==    by 0x159F91: thread_run (thread.c:421)
==37410==    by 0x4FDBAA3: start_thread (pthread_create.c:447)
==37410==    by 0x5068A33: clone (clone.S:100)
==37410==  If you believe this happened as a result of a stack
==37410==  overflow in your program's main thread (unlikely but
==37410==  possible), you can try to increase the size of the
==37410==  main thread stack using the --main-stacksize= flag.
==37410==  The main thread stack size used in this run was 8388608.

Another:

[2025-03-15 15:05:21.914]   DEBUG[26823]: module.c:347 logged_dlclose: dlclose: net_imap
[2025-03-15 15:05:21.914]  === Unregistering module net_imap
[2025-03-15 15:05:21.915]   DEBUG[26823]: module.c:1928 unload_modules_helper: Attempting to unload net_smtp.so
[2025-03-15 15:05:21.918]   DEBUG[26823]: module.c:952 dec_refcounts: net_smtp no longer depends on module mod_mail.so
[2025-03-15 15:05:21.920]   DEBUG[26825]: socket.c:738 tcp_multilistener: TCP multilistener is now watching 0 sockets
[2025-03-15 15:05:21.888]   == Node 4 has exited
[2025-03-15 15:05:21.920]   DEBUG[26823]: module.c:347 logged_dlclose: dlclose: net_smtp
[2025-03-15 15:05:21.920]  === Unregistering module net_smtp
[2025-03-15 15:05:21.924]   DEBUG[26823]: module.c:1928 unload_modules_helper: Attempting to unload mod_mail.so
[2025-03-15 15:05:21.926]   DEBUG[26823]: module.c:1943 unload_modules_helper: Module mod_mail.so previously was in use but unloaded on pass 2
[2025-03-15 15:05:21.926]   DEBUG[26823]: module.c:347 logged_dlclose: dlclose: mod_mail
[2025-03-15 15:05:21.927]  === Unregistering module mod_mail
[2025-03-15 15:05:21.928]   DEBUG[26823]: module.c:1928 unload_modules_helper: Attempting to unload mod_mimeparse.so
[2025-03-15 15:05:21.935]   DEBUG[26823]: module.c:1943 unload_modules_helper: Module mod_mimeparse.so previously was in use but unloaded on pass 2
[2025-03-15 15:05:21.935]   DEBUG[26823]: module.c:347 logged_dlclose: dlclose: mod_mimeparse
[2025-03-15 15:05:21.935]  === Unregistering module mod_mimeparse
[2025-03-15 15:05:21.944]   DEBUG[26825]: thread.c:138 __thread_unregister: Thread 26825 is exiting (detached)
[2025-03-15 15:05:22.784]   DEBUG: test.c:1033 run_test: Child process 26823 has exited
[2025-03-15 15:05:22.784]   ERROR: test.c:1036 run_test: Process 26823 (/home/runner/work/lbbs/lbbs/tests/test_imap_msn.so) killed, signal Segmentation fault
[2025-03-15 15:05:22.784]   DEBUG: test.c:1044 run_test: Test /home/runner/work/lbbs/lbbs/tests/test_imap_msn.so return code so far is 0
[2025-03-15 15:05:22.784]   DEBUG: test.c:441 io_relay: read returned 0
==26823== Thread 6:
==26823== Jump to the invalid address stated on the next line
==26823==    at 0x5CD2622: ???
==26823==    by 0x157234: thread_run (thread.c:421)
==26823==    by 0x4F16AC2: start_thread (pthread_create.c:442)
==26823==    by 0x4FA7A03: clone (clone.S:100)
==26823==  Address 0x5cd2622 is in the Text segment of /usr/lib/lbbs/modules/net_imap.so
==26823==    at 0x5CD2622: ???
==26823== 
==26823== 
==26823== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==26823==  Access not within mapped region at address 0x5CD2622
==26823==    at 0x5CD2622: ???
==26823==    by 0x157234: thread_run (thread.c:421)
==26823==    by 0x4F16AC2: start_thread (pthread_create.c:442)
==26823==    by 0x4FA7A03: clone (clone.S:100)
==26823==  If you believe this happened as a result of a stack
==26823==  overflow in your program's main thread (unlikely but
==26823==  possible), you can try to increase the size of the
==26823==  main thread stack using the --main-stacksize= flag.
==26823==  The main thread stack size used in this run was 8388608.

Possibly related:

[2025-03-15 16:45:20.231]  === Unregistering module net_smtp
[2025-03-15 16:45:20.234]   DEBUG[37342]: module.c:1920 unload_modules_helper: Skipping unload of mod_mail.so with use count 1 on pass 2
...
[2025-03-15 16:45:25.053]   DEBUG[37342]: module.c:1920 unload_modules_helper: Skipping unload of net_imap.so with use count 1 on pass 26
Module                           # PR Reffing Module                 Ref Location
mod_mail.so                      1  1 net_smtp.so                    module.c:311 __bbs_require_module
mod_mimeparse.so                 1  1 net_imap.so                    module.c:311 __bbs_require_module
net_imap.so                      1  1                                node.c:373 __bbs_node_request
3 total references
[2025-03-15 16:45:25.058]   DEBUG[37342]: module.c:1968 unload_modules_helper: All nodes have exited
[2025-03-15 16:45:25.258]   DEBUG[37342]: module.c:1920 unload_modules_helper: Skipping unload of mod_mail.so with use count 1 on pass 27
...
[2025-03-15 16:45:30.077]   DEBUG[37342]: module.c:1920 unload_modules_helper: Skipping unload of net_imap.so with use count 1 on pass 51
Module                           # PR Reffing Module                 Ref Location
mod_mail.so                      1  1 net_smtp.so                    module.c:311 __bbs_require_module
mod_mimeparse.so                 1  1 net_imap.so                    module.c:311 __bbs_require_module
net_imap.so                      1  1                                node.c:373 __bbs_node_request
3 total references
[2025-03-15 16:45:30.078]   DEBUG[37342]: module.c:1968 unload_modules_helper: All nodes have exited
[2025-03-15 16:45:30.278]   ERROR[37342]: module.c:1976 unload_modules_helper: 3 modules could not be unloaded after 51 passes
[2025-03-15 16:45:30.279] WARNING[37342]: module.c:1992 unload_modules: Module mod_mail.so still registered during BBS shutdown
[2025-03-15 16:45:30.280] WARNING[37342]: module.c:1992 unload_modules: Module mod_mimeparse.so still registered during BBS shutdown
[2025-03-15 16:45:30.280] WARNING[37342]: module.c:1992 unload_modules: Module net_imap.so still registered during BBS shutdown
...
==37342== Invalid read of size 1
==37342==    at 0x484F226: strlen (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==37342==    by 0x4FA9DA7: __printf_buffer (vfprintf-process-arg.c:435)
==37342==    by 0x4FAA5A1: __vfprintf_internal (vfprintf-internal.c:1559)
==37342==    by 0x12E3CB: vprintf (stdio2.h:99)
==37342==    by 0x12E3CB: bbs_dprintf (logger.c:411)
==37342==    by 0x13D1F3: list_modulerefs (module.c:1450)
==37342==    by 0x13D1F3: unload_modules_helper (module.c:1963)
==37342==    by 0x13D1F3: unload_modules (module.c:1986)
==37342==    by 0x11DBFB: bbs_shutdown (bbs.c:589)
==37342==    by 0x11DBFB: bbs_shutdown (bbs.c:567)
==37342==    by 0x1179F0: monitor_sig_flags (bbs.c:847)
==37342==    by 0x1179F0: main (bbs.c:1137)
==37342==  Address 0x5282a80 is 208 bytes inside a block of size 220 free'd
==37342==    at 0x484988F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==37342==    by 0x139502: free_module (module.c:132)
==37342==    by 0x139502: bbs_module_unregister (module.c:187)
==37342==    by 0x40010F1: _dl_call_fini (dl-call_fini.c:43)
==37342==    by 0x40015B1: _dl_catch_exception (dl-catch.c:211)
==37342==    by 0x4001D38: _dl_close_worker.part.0 (dl-close.c:264)
==37342==    by 0x40027BD: _dl_close_worker (dl-close.c:120)
==37342==    by 0x40027BD: _dl_close (dl-close.c:793)
==37342==    by 0x400151B: _dl_catch_exception (dl-catch.c:237)
==37342==    by 0x4001668: _dl_catch_error (dl-catch.c:256)
==37342==    by 0x4FD6C82: _dlerror_run (dlerror.c:138)
==37342==    by 0x4FD69B5: dlclose@@GLIBC_2.34 (dlclose.c:31)
==37342==    by 0x13820C: logged_dlclose (module.c:349)
==37342==    by 0x1383E9: unload_dynamic_module (module.c:728)
==37342==  Block was alloc'd at
==37342==    at 0x484D953: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==37342==    by 0x118607: __bbs_calloc (alloc.c:83)
==37342==    by 0x138D0E: load_dlopen (module.c:380)
==37342==    by 0x139D6E: load_dynamic_module.constprop.0 (module.c:537)
==37342==    by 0x139836: load_resource.constprop.0 (module.c:802)
==37342==    by 0x13C6EB: do_autoload_module (module.c:1133)
==37342==    by 0x13C6EB: try_autoload_modules (module.c:1265)
==37342==    by 0x13C6EB: load_modules (module.c:1862)
==37342==    by 0x11762E: main (bbs.c:1104)

Comments

You must be logged in to leave a comment.