gpr icon indicating copy to clipboard operation
gpr copied to clipboard

Could not execute the sample tests

Open Ruka7 opened this issue 3 years ago • 6 comments

Hi, I tried to download the GCode parser and run the

cmake .
make -j
./all-tests

but it returned with a failure: error.pdf

Ruka7 avatar Sep 10 '21 08:09 Ruka7

@Ruka7 I cannot reproduce the error. Could you backtrace the segfault and post the backtrace?

dillonhuff avatar Sep 11 '21 03:09 dillonhuff

How should I backtrace it? I usually use gdb but it says there are "no debugging symbols found in ./all-tests"

Ruka7 avatar Sep 13 '21 07:09 Ruka7

Hi, @dillonhuff
The same problem with /* Full sample parsing Parse HAAS sample SIGSEGV - Segmentation violation signal */ Other tests passed.

childhoodisend avatar Nov 01 '21 10:11 childhoodisend

@childhoodisend could you send more details about your setup? What compiler and OS are you using? What commands did you use to build the project?

dillonhuff avatar Nov 02 '21 03:11 dillonhuff

@dillonhuff here the compiler, OS info and commands:

  1. gcc / g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

  2. NAME="Linux Mint" VERSION="20.2 (Uma)" UBUNTU_CODENAME=focal

  3. Commands are exactly the same as in repo. Release mode only. -DCMAKE_BUILD_TYPE=Release

childhoodisend avatar Nov 02 '21 09:11 childhoodisend

@childhoodisend could you build the project in debug mode and backtrace the segfault in gdb and then post the backtrace?

dillonhuff avatar Nov 03 '21 04:11 dillonhuff