[eigen] unable to step into cxx11_tensor_shuffling via gdb

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

 

I’m using source code f3a22f35b044 from https://bitbucket.org/eigen/eigen/ with ubuntu 14.04 x64 with default compiler gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3), and the build commands are:

hg clone https://bitbucket.org/eigen/eigen/

cd  eigen

cmake -DEIGEN_TEST_CXX11=1  -DEIGEN_TEST_NO_OPENGL=true -DCMAKE_BUILD_TYPE=Debug ../

make cxx11_tensor_shuffling

 

Under unsupported/test, I tried to run the test via gdb, but segmentation fault.

$ gdb ./cxx11_tensor_shuffling

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1

Copyright (C) 2014 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "x86_64-linux-gnu".

Type "show configuration" for configuration details.

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>.

Find the GDB manual and other documentation resources online at:

<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".

Type "apropos word" to search for commands related to "word"...

Reading symbols from ./cxx11_tensor_shuffling...Segmentation fault (core dumped)

 

Does anyone has the same issue and/or know how to debug it inside gdb? Thanks.

 

Btw, cxx11_tensor_shuffling is just an example, I also tried some other cxx11_tensor_*, they are also failed to be loaded inside gdb.

 

Thanks

Yejun



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/