Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after a few seconds of running several accounts #35

Open
AqlaSolutions opened this issue Jul 14, 2023 · 8 comments
Open

Crash after a few seconds of running several accounts #35

AqlaSolutions opened this issue Jul 14, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@AqlaSolutions
Copy link

AqlaSolutions commented Jul 14, 2023

No extra options are specified.

ucrtbase.dll exception code 0xc0000409 at offset 0x000000000007286e

Имя сбойного приложения: Telegram.exe, версия: 1.0.0.0, метка времени: 0x62a3c35e
Имя сбойного модуля: ucrtbase.dll, версия: 10.0.19041.789, метка времени: 0x2bd748bf
Код исключения: 0xc0000409
Смещение ошибки: 0x000000000007286e
Время запуска сбойного приложения: 0x01d9b69ad397a0e8
Путь сбойного модуля: C:\Windows\System32\ucrtbase.dll
Код приложения, связанного со сбойным пакетом: App

tdlib_log.txt:


[ 1][t 5][1689370411.553994894][Td.cpp:3557][#1][!Td][&td_init]	Successfully inited database
[ 1][t 5][1689370411.554042100][Td.cpp:3736][#1][!Td][&td_init]	Create StateManager
[ 1][t 5][1689370411.554054737][Td.cpp:3753][#1][!Td][&td_init]	Create OptionManager
[ 1][t 5][1689370411.554405927][Td.cpp:3757][#1][!Td][&td_init]	Create ConnectionCreator
[ 1][t 5][1689370411.554429769][Td.cpp:3776][#1][!Td][&td_init]	Create TempAuthKeyWatchdog
[ 1][t 5][1689370411.554439544][Td.cpp:3779][#1][!Td][&td_init]	Create ConfigManager
[ 1][t 5][1689370411.554728031][Td.cpp:3618][#1][!Td][&td_init]	Create NetQueryDispatcher
[ 1][t 5][1689370411.554872512][Td.cpp:3627][#1][!Td][&td_init]	Create AuthManager
[ 1][t 5][1689370411.554894924][Td.cpp:3785][#1][!Td][&td_init]	Create FileManager
[ 1][t 5][1689370411.554925203][Td.cpp:3855][#1][!Td][&td_init]	Create Managers
[ 1][t 5][1689370411.555160760][Td.cpp:3645][#1][!Td][&td_init]	Send binlog events
[ 1][t 5][1689370411.555175304][Td.cpp:3716][#1][!Td][&td_init]	Ping datacenter
[ 2][t 5][1689370411.555196523][AuthDataShared.cpp:112][#1][!Td]	DcId{1} [auth_key_id:16577749304744471637][state:OK][created_at:1688720689][last_used:0]
[ 1][t 5][1689370411.555222034][Td.cpp:3727][#1][!Td][&td_init]	Finish initialization
[ 1][t 5][1689370411.555231094][Td.cpp:3540][#1][!Td][&td_init]	Continue to execute 1 pending requests
[ 2][t20][1689370411.558317661][Session.cpp:269][#4][!SessionProxy:2:main]	Generate new session_id 7206260836465277733 for temp auth key 0 for main DC2
[ 2][t12][1689370411.559330940][Session.cpp:269][#3][!SessionProxy:5:main]	Generate new session_id 15254543752122261384 for temp auth key 0 for main DC5
[ 2][t25][1689370411.561268568][Session.cpp:269][#5][!SessionProxy:1:main]	Generate new session_id 2286193965061803981 for temp auth key 0 for main DC1
[ 2][t 5][1689370411.565159797][Session.cpp:269][#1][!SessionProxy:1:main]	Generate new session_id 7091911839467313770 for temp auth key 0 for main DC1
[ 2][t10][1689370411.570721149][Session.cpp:269][#2][!SessionProxy:1:main]	Generate new session_id 10537487293625190603 for temp auth key 0 for main DC1
[ 2][t30][1689370411.574445009][Session.cpp:269][#6][!SessionProxy:2:main]	Generate new session_id 4498839341774702429 for temp auth key 0 for main DC2
[ 2][t30][1689370412.346451044][SessionProxy.cpp:261][#6][!SessionProxy:2:main]	Have tmp_auth_key 6082110489702109578: NoAuth
[ 2][t30][1689370412.346471548][Session.cpp:1426][#6][!Session:2:main]	Update auth key in session_id 4498839341774702429 to 6082110489702109578
[ 2][t20][1689370412.358435630][SessionProxy.cpp:261][#4][!SessionProxy:2:main]	Have tmp_auth_key 15531472037589502633: NoAuth
[ 2][t20][1689370412.358455419][Session.cpp:1426][#4][!Session:2:main]	Update auth key in session_id 7206260836465277733 to 15531472037589502633
[ 2][t30][1689370412.447398424][TempAuthKeyWatchdog.h:115][#6][!TempAuthKeyWatchdog]	Start auth_dropTempAuthKeys except keys {6082110489702109578}
[ 2][t20][1689370412.463130712][TempAuthKeyWatchdog.h:115][#4][!TempAuthKeyWatchdog]	Start auth_dropTempAuthKeys except keys {-2915272036120048983}
[ 2][t20][1689370412.497313737][SessionProxy.cpp:261][#4][!SessionProxy:2:main]	Have tmp_auth_key 15531472037589502633: OK
[ 2][t30][1689370412.531384706][SessionProxy.cpp:261][#6][!SessionProxy:2:main]	Have tmp_auth_key 6082110489702109578: OK
[ 2][t10][1689370412.733711719][SessionProxy.cpp:261][#2][!SessionProxy:1:main]	Have tmp_auth_key 18032583913316232492: NoAuth
[ 2][t10][1689370412.733834743][Session.cpp:1426][#2][!Session:1:main]	Update auth key in session_id 10537487293625190603 to 18032583913316232492
[ 2][t25][1689370412.812772989][SessionProxy.cpp:261][#5][!SessionProxy:1:main]	Have tmp_auth_key 2959349712866793370: NoAuth
[ 2][t25][1689370412.812792778][Session.cpp:1426][#5][!Session:1:main]	Update auth key in session_id 2286193965061803981 to 2959349712866793370
[ 2][t10][1689370412.842502355][TempAuthKeyWatchdog.h:115][#2][!TempAuthKeyWatchdog]	Start auth_dropTempAuthKeys except keys {-414160160393319124}
[ 2][t 5][1689370412.842608213][SessionProxy.cpp:261][#1][!SessionProxy:1:main]	Have tmp_auth_key 1184468118735853998: NoAuth
[ 2][t 5][1689370412.842620849][Session.cpp:1426][#1][!Session:1:main]	Update auth key in session_id 7091911839467313770 to 1184468118735853998
[ 2][t25][1689370412.919514894][TempAuthKeyWatchdog.h:115][#5][!TempAuthKeyWatchdog]	Start auth_dropTempAuthKeys except keys {2959349712866793370}
[ 2][t12][1689370412.921201705][SessionProxy.cpp:261][#3][!SessionProxy:5:main]	Have tmp_auth_key 3140361302363680837: NoAuth
[ 2][t12][1689370412.921221017][Session.cpp:1426][#3][!Session:5:main]	Update auth key in session_id 15254543752122261384 to 3140361302363680837
[ 2][t 5][1689370412.949528932][TempAuthKeyWatchdog.h:115][#1][!TempAuthKeyWatchdog]	Start auth_dropTempAuthKeys except keys {1184468118735853998}
[ 2][t10][1689370412.955986976][SessionProxy.cpp:261][#2][!SessionProxy:1:main]	Have tmp_auth_key 18032583913316232492: OK
[ 2][t12][1689370413.024549722][TempAuthKeyWatchdog.h:115][#3][!TempAuthKeyWatchdog]	Start auth_dropTempAuthKeys except keys {3140361302363680837}
[ 2][t25][1689370413.052751779][SessionProxy.cpp:261][#5][!SessionProxy:1:main]	Have tmp_auth_key 2959349712866793370: OK
[ 2][t 5][1689370413.061594724][SessionProxy.cpp:261][#1][!SessionProxy:1:main]	Have tmp_auth_key 1184468118735853998: OK
[ 2][t12][1689370413.197188138][SessionProxy.cpp:261][#3][!SessionProxy:5:main]	Have tmp_auth_key 3140361302363680837: OK
[ 0][t20][1689370419.561815738][Status.h:558][#4][!Td][&status_.is_ok()]	[Error : 400 : Invalid group call identifier specified]
[ 0][t30][1689370419.562708139][Status.h:558][#6][!Td][&status_.is_ok()]	[Error : 400 : Invalid group call identifier specified]
[ 0][t10][1689370419.654074668][Status.h:558][#2][!Td][&status_.is_ok()]	[Error : 400 : Invalid group call identifier specified]
@cavallium
Copy link
Member

That's a weird error, I can't reproduce it currently

@AqlaSolutions
Copy link
Author

Try using tdlight with Unigram https://github.com/UnigramDev/Unigram/

@cavallium
Copy link
Member

Do you have set the option "disable_group_calls" to true or false?

@AqlaSolutions
Copy link
Author

AqlaSolutions commented Aug 6, 2023

@cavallium true, my options:

                _client.Send(new SetOption("disable_group_calls", new OptionValueBoolean(true)));
                _client.Send(new SetOption("disable_auto_download", new OptionValueBoolean(true)));
                _client.Send(new SetOption("disable_minithumbnails", new OptionValueBoolean(true)));
                _client.Send(new SetOption("disable_document_filenames", new OptionValueBoolean(true)));

But while troubleshooting the crash I tried removing all these options and the result was still the same.

@AqlaSolutions
Copy link
Author

AqlaSolutions commented Aug 6, 2023

The error is:

{s_=0x000002512c1a0008 "[ 0][t 5][1691305803.252136468][Status.h:558][#1][!Td][&status_.is_ok()]\t[Error : 400 : Invalid group call identifier specified]\n" ...}

image

group_call_id = 0

@AqlaSolutions
Copy link
Author

Ah, disable_group_calls option might be stored as disabled in the db even though my code doesn't contain this setting now

@AqlaSolutions
Copy link
Author

AqlaSolutions commented Aug 6, 2023

Yeah, it works without the crash when I explicitly set disable_group_calls to false

@cavallium
Copy link
Member

I should add a warning about that option in the readme, thanks

@cavallium cavallium self-assigned this Aug 7, 2023
@cavallium cavallium added the bug Something isn't working label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants