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

Fix version conflict #25920 #25921

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

xunzhimeng
Copy link

As I use ctp library with taos library, symbol conflit and I got an error when connect to taos server.

@xunzhimeng xunzhimeng changed the title Fix version conflict Fix version conflict #25920 May 24, 2024
@tomchon
Copy link
Contributor

tomchon commented May 27, 2024

@xunzhimeng some testcase has errors:
[1m�[31m==583==ERROR: AddressSanitizer: odr-violation (0x5595561fd4a0):
�[1m�[0m [1] size=64 'buildinfo' /home/TDinternal/community/source/util/src/version.c:5:6
[2] size=64 'buildinfo' /home/TDinternal/community/source/util/src/version.c:5:6
These globals were registered at these points:
[1]:
#0 0x7f797183cf40 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341
#1 0x5595561a44b4 in __libc_csu_init (/home/TDinternal/debug/build/bin/taos+0x6c4b4)

[2]:
#0 0x7f797183cf40 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341
#1 0x7f79721dffe1 in call_init elf/dl-init.c:72

==583==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'buildinfo' at /home/TDinternal/community/source/util/src/version.c:5:6
==583==ABORTING

@xunzhimeng
Copy link
Author

@xunzhimeng some testcase has errors: [1m�[31m==583==ERROR: AddressSanitizer: odr-violation (0x5595561fd4a0): �[1m�[0m [1] size=64 'buildinfo' /home/TDinternal/community/source/util/src/version.c:5:6 [2] size=64 'buildinfo' /home/TDinternal/community/source/util/src/version.c:5:6 These globals were registered at these points: [1]: #0 0x7f797183cf40 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341 #1 0x5595561a44b4 in __libc_csu_init (/home/TDinternal/debug/build/bin/taos+0x6c4b4)

[2]: #0 0x7f797183cf40 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341 #1 0x7f79721dffe1 in call_init elf/dl-init.c:72

==583==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0 SUMMARY: AddressSanitizer: odr-violation: global 'buildinfo' at /home/TDinternal/community/source/util/src/version.c:5:6 ==583==ABORTING

sorry, I can not see the detail about the test, I have check 'buildinfo' in soure/util/src/version.c.in, there‘s no change with 'buildinfo', so can you debug it yourself?

@CLAassistant
Copy link

CLAassistant commented Jul 27, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants