discovery icon indicating copy to clipboard operation
discovery copied to clipboard

Sementation fault: 11

Open chrisabruce opened this issue 6 years ago • 4 comments

Not sure why I am getting this only on --release. Non release version has no issue. --release works on gcc-arm-none-eabi-74 though.

OSX 10.14 toolchain: (brew) px4/px4/gcc-arm-none-eabi-80 rust ver: rustc 1.32.0 (9fda7c223 2019-01-16)

Chriss-Mac-Pro:06-hello-world chris$ cd ../07-registers/
Chriss-Mac-Pro:07-registers chris$ cargo run --release
   Compiling panic-itm v0.4.0
   Compiling aux7 v0.1.0 (/Users/chris/dev/discovery/src/07-registers/auxiliary)
   Compiling registers v0.1.0 (/Users/chris/dev/discovery/src/07-registers)
    Finished release [optimized + debuginfo] target(s) in 1.91s
     Running `arm-none-eabi-gdb -q -x openocd.gdb /Users/chris/dev/discovery/target/thumbv7em-none-eabihf/release/registers`
Reading symbols from /Users/chris/dev/discovery/target/thumbv7em-none-eabihf/release/registers...
Segmentation fault: 11

chrisabruce avatar Feb 14 '19 03:02 chrisabruce

looks like the issue is from gdb. How did you install gdb?

mathk avatar Mar 06 '19 18:03 mathk

I have this issue too. I installed it through brew install armmbed/formulae/arm-none-eabi-gcc which installs the toolchain from here.

tpwrules avatar Jun 25 '19 19:06 tpwrules

I have this issue too. I installed it through brew install armmbed/formulae/arm-none-eabi-gcc

I have this issue too. Exactly.

cargo 1.39.0 (1c6ec66d5 2019-09-30) rustc 1.39.0 (4560ea788 2019-11-04) GNU gdb (GNU Tools for Arm Embedded Processors 8-2018-q4-major) 8.2.50.20181213-git

dseverov avatar Nov 10 '19 18:11 dseverov

It seems solution is there https://github.com/ARMmbed/homebrew-formulae/pull/27

dseverov avatar Nov 10 '19 19:11 dseverov