You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "xiaobiaozhao (via GitHub)" <gi...@apache.org> on 2023/02/12 09:00:31 UTC

[GitHub] [incubator-kvrocks] xiaobiaozhao opened a new issue, #1254: ASan/TSan does not work well with JeMalloc

xiaobiaozhao opened a new issue, #1254:
URL: https://github.com/apache/incubator-kvrocks/issues/1254

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   Mac  & Ubuntu all versions
   
   ### Minimal reproduce step
   
   `./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_TSAN=ON`
   `./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_ASAN=ON`
   
   ### What did you expect to see?
   
   build succeed
   
   ### What did you see instead?
   
   ./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_TSAN=ON
   $ /usr/bin/cmake /root/work/incubator-kvrocks -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DENABLE_TSAN=ON
   -- The CXX compiler identification is GNU 11.3.0
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Check for working CXX compiler: /usr/bin/g++ - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   CMake Error at CMakeLists.txt:67 (message):
     **### ASan/TSan does not work well with JeMalloc**
   
   -- Configuring incomplete, errors occurred!
   See also "/root/work/incubator-kvrocks/build/CMakeFiles/CMakeOutput.log".
   Traceback (most recent call last):
     File "/root/work/incubator-kvrocks/./x.py", line 397, in <module>
       args.func(**arg_dict)
     File "/root/work/incubator-kvrocks/./x.py", line 122, in build
       run(cmake, str(basedir), *cmake_options, verbose=True, cwd=dir)
     File "/root/work/incubator-kvrocks/./x.py", line 68, in run
       raise RuntimeError(err)
   RuntimeError: 
   failed to run: ('/usr/bin/cmake', '/root/work/incubator-kvrocks', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DCMAKE_C_COMPILER=gcc', '-DCMAKE_CXX_COMPILER=g++', '-DENABLE_TSAN=ON')
   exit with code: 1
   
   ### Anything Else?
   
   I also test  `./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_TSAN=ON -DENABLE_OPENSSL=ON` build is OK.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] git-hulk commented on issue #1254: ASan/TSan does not work well with JeMalloc

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk commented on issue #1254:
URL: https://github.com/apache/incubator-kvrocks/issues/1254#issuecomment-1425581862

   It's a expected behavior, you can have a look at the CMakeList.txt.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] xiaobiaozhao commented on issue #1254: ASan/TSan does not work well with JeMalloc

Posted by "xiaobiaozhao (via GitHub)" <gi...@apache.org>.
xiaobiaozhao commented on issue #1254:
URL: https://github.com/apache/incubator-kvrocks/issues/1254#issuecomment-1425777523

   > 
   
   OK, Thx


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] xiaobiaozhao commented on issue #1254: build failed

Posted by "xiaobiaozhao (via GitHub)" <gi...@apache.org>.
xiaobiaozhao commented on issue #1254:
URL: https://github.com/apache/incubator-kvrocks/issues/1254#issuecomment-1425446957

   Will this be a feature?  @PragmaTwice 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] xiaobiaozhao commented on issue #1254: ASan/TSan does not work well with JeMalloc

Posted by "xiaobiaozhao (via GitHub)" <gi...@apache.org>.
xiaobiaozhao commented on issue #1254:
URL: https://github.com/apache/incubator-kvrocks/issues/1254#issuecomment-1426979010

   reopen the issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] git-hulk closed issue #1254: ASan/TSan does not work well with JeMalloc

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk closed issue #1254: ASan/TSan does not work well with JeMalloc
URL: https://github.com/apache/incubator-kvrocks/issues/1254


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice closed issue #1254: ASan/TSan does not work well with JeMalloc

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
PragmaTwice closed issue #1254: ASan/TSan does not work well with JeMalloc
URL: https://github.com/apache/incubator-kvrocks/issues/1254


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org