← All tasks
cpptdlib/td #3090Not a task: not reproduced

Test_Client_Simple SIGSEGV when BUILD_SHARED_LIBS:BOOL=ON

envgap__tdlib__td-3090

01 / FAILURE SIGNATURE

As reported upstream

1/1 Test #1: run_all_tests ....................***Exception: SegFault 21.05 sec
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
672f837c20c2ae236177c8498234fe4b7cf2d0a7
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

tdlib/td #3090 · read the original issue
At fe6f2f93e79f6d1ce49c010ec4931b7dc8554538 & 9b6ff58, using Debian & Nix build environments:



```

1/1 Test #1: run_all_tests ....................***Exception: SegFault 21.05 sec

[...]

[ 1][t 1][1729113899.004297256][tests.cpp:229]  Run test [name:Test_Client_Simple]

[ 3][t 0][1729113899.004932880][Client.cpp:600] Create client 1

[ 3][t 0][1729113899.004970550][Client.cpp:383] Initialize client 1





0% tests passed, 1 tests failed out of 1

```



Building with `-DBUILD_SHARED_LIBS:BOOL=OFF` makes it pass fine. Can get a proper stack trace tomorrow, but issue is at

https://github.com/tdlib/td/blob/fe6f2f93e79f6d1ce49c010ec4931b7dc8554538/test/tdclient.cpp#L855

->

https://github.com/tdlib/td/blob/fe6f2f93e79f6d1ce49c010ec4931b7dc8554538/tdactor/td/actor/impl/ActorInfo.h#L41 with `Scheduler::context()` returning `NULL`.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]