-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
test_PyDataProvider2 failed due to segfault #430
Comments
Could you use debug mode to rerun this test for a better callstack? To build a debug version, you need set CMAKE_BUILD_TYPE=Debug when build paddle by cmake |
30: I1110 19:30:14.924366 17254 Util.cpp:155] commandline: /home/haonanyu/paddle/build/paddle/gserver/tests/test_PyDataProvider2 This is what I got after set Debug flag. |
* update nccl2 dist train tips * update * update * update * update * follow comments
Co-authored-by: wangyue50 <wangyue50@baidu.com>
* add ipu_build_use_ipumodel * up 0 * fix using ipumodels * disable real ipu ci * add use_ipumodel flag for ut * restore ci * up x
* add new argument for easy load prune program * add argument make load pruned program more easier * change save function arg * fix test * fix format
[idl57-Alienware-Area-51-R2]haonanyu:~/paddle/build(ret:8)$ PYTHONPATH= ctest -R DataProvider2 -V
UpdateCTestConfiguration from :/home/haonanyu/paddle/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/haonanyu/paddle/build/DartConfiguration.tcl
Test project /home/haonanyu/paddle/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 28
Start 28: test_PyDataProvider2
28: Test command: /home/haonanyu/paddle/paddle/.set_python_path.sh "-d" "/home/haonanyu/paddle/paddle/gserver/tests:/home/haonanyu/paddle/python" "/home/haonanyu/paddle/build/paddle/gserver/tests/test_PyDataProvider2"
28: Test timeout computed to be: 9.99988e+06
28: + getopts d: opt
28: + case $opt in
28: + PYPATH=/home/haonanyu/paddle/paddle/gserver/tests:/home/haonanyu/paddle/python
28: + getopts d: opt
28: + shift 2
28: + export PYTHONPATH=/home/haonanyu/paddle/paddle/gserver/tests:/home/haonanyu/paddle/python:
28: + PYTHONPATH=/home/haonanyu/paddle/paddle/gserver/tests:/home/haonanyu/paddle/python:
28: + /home/haonanyu/paddle/build/paddle/gserver/tests/test_PyDataProvider2
28: WARNING: Logging before InitGoogleLogging() is written to STDERR
28: I1110 17:27:47.987854 27631 hl_dso_loader.cc:51] Try to find cuda library: libcudart.so from default system path.
28: I1110 17:27:47.988507 27631 Util.cpp:155] commandline: /home/haonanyu/paddle/build/paddle/gserver/tests/test_PyDataProvider2
28: I1110 17:27:48.128258 27631 hl_dso_loader.cc:51] Try to find cuda library: libcublas.so from default system path.
28: I1110 17:27:48.208549 27631 hl_dso_loader.cc:51] Try to find cuda library: libcurand.so from default system path.
28: I1110 17:27:48.217546 27631 hl_dso_loader.cc:51] Try to find cuda library: libcudnn.so from default system path.
28: I1110 17:27:50.104863 27631 Util.cpp:130] Calling runInitFunctions
28: I1110 17:27:50.105031 27631 Util.cpp:143] Call runInitFunctions done.
28: File "", line 11
28: paddle version:
28: ^
28: SyntaxError: invalid syntax
28: [==========] Running 11 tests from 1 test case.
28: [----------] Global test environment set-up.
28: [----------] 11 tests from PyDataProvider2
28: [ RUN ] PyDataProvider2.dense_no_seq
28: I1110 17:27:50.160810 27631 PyDataProvider2.cpp:257] loading dataprovider test_PyDataProvider2::test_dense_no_seq
28: [ OK ] PyDataProvider2.dense_no_seq (104 ms)
28: [ RUN ] PyDataProvider2.index_no_seq
28: I1110 17:27:50.216799 27631 PyDataProvider2.cpp:257] loading dataprovider test_PyDataProvider2::test_index_no_seq
28: [ OK ] PyDataProvider2.index_no_seq (1 ms)
28: [ RUN ] PyDataProvider2.init_hook
28: I1110 17:27:50.218468 27631 PyDataProvider2.cpp:257] loading dataprovider test_PyDataProvider2::test_init_hook
28: [ OK ] PyDataProvider2.init_hook (2 ms)
28: [ RUN ] PyDataProvider2.sparse_no_value_no_seq
28: I1110 17:27:50.219805 27631 PyDataProvider2.cpp:257] loading dataprovider test_PyDataProvider2::test_sparse_non_value_no_seq
28: [ OK ] PyDataProvider2.sparse_no_value_no_seq (1 ms)
28: [ RUN ] PyDataProvider2.sparse_value_no_seq
28: I1110 17:27:50.220360 27631 PyDataProvider2.cpp:257] loading dataprovider test_PyDataProvider2::test_sparse_value_no_seq
28: *** Aborted at 1478827670 (unix time) try "date -d @1478827670" if you are using GNU date ***
28: PC: @ 0x7f22cf507bf8 (unknown)
28: *** SIGSEGV (@0xa9) received by PID 27631 (TID 0x7f2266550700) from PID 169; stack trace: ***
28: @ 0x7f22cff34340 (unknown)
28: @ 0x7f22cf507bf8 (unknown)
28: @ 0x7f22cf5174be (unknown)
28: @ 0x7f22cf4a18b7 (unknown)
28: @ 0x7f22cf4a24eb (unknown)
28: @ 0x7f22cf4a2556 (unknown)
28: @ 0x7f22cf4e943f (unknown)
28: @ 0x7f22cf4caf7e (unknown)
28: @ 0x7f22cf504153 (unknown)
28: @ 0x7f22cf4cbe20 (unknown)
28: @ 0x7f22cf504153 (unknown)
28: @ 0x7f22cf41347b (unknown)
28: @ 0x65c6cb paddle::PyDataProvider2::loadThread()
28: @ 0x7f22cec96a60 (unknown)
28: @ 0x7f22cff2c182 start_thread
28: @ 0x7f22ce3fe47d (unknown)
28: @ 0x0 (unknown)
28: /home/haonanyu/paddle/paddle/.set_python_path.sh: line 42: 27631 Segmentation fault (core dumped) $@
1/1 Test #28: test_PyDataProvider2 .............***Failed 2.58 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 2.58 sec
The following tests FAILED:
28 - test_PyDataProvider2 (Failed)
Errors while running CTest
The text was updated successfully, but these errors were encountered: