td icon indicating copy to clipboard operation
td copied to clipboard

TDLib crash: Check `mailbox_.empty()` failed

Open Vertigo3106 opened this issue 4 months ago • 2 comments

Random crashs happen after closing TDLib and log shows this error: "Check mailbox_.empty() failed"

It causes the whole app to crash as well.

[ 2][t 4][1757582707.369074344][AuthDataShared.cpp:118][#1][!Td]	DcId{4} [auth_key_id:16136114797530861627][state:OK][created_at:1732435781][last_used:1757583266]
[ 2][t 1][1757582707.369565010][Session.cpp:267][#1][!SessionProxy:4:main]	Generate new session_id 2500046306805190412 for auth key 16136114797530861627 for main DC4
[ 2][t 4][1757582727.381707191][Td.cpp:765][#1][!Td]	Close Td in state 1
[ 0][t 4][1757582727.382359266][ActorInfo.h:68][#1][!Td]	Check `mailbox_.empty()` failed

Additional info

  • No database is specified in setTdlibParameters.
  • TDLib version: 1.8.52
  • Commit hash: 5c77c4692c28eb48a68ef1c1eeb1b1d732d507d3
  • I've found that TDLib calls std::abort() somewhere.

Vertigo3106 avatar Sep 11 '25 13:09 Vertigo3106

Logs with verbosity level 15 may be helpful.

levlam avatar Sep 11 '25 13:09 levlam

Log with verbosity level 15

tdlib.log

Vertigo3106 avatar Sep 13 '25 07:09 Vertigo3106