bmenu icon indicating copy to clipboard operation
bmenu copied to clipboard

Segfault RPi 400

Open pepi55 opened this issue 5 years ago • 0 comments

After compiling on a raspberrypi 400:

Program received signal SIGSEGV, Segmentation fault.
0x0000aaaaaaaab538 in menu_load () at src/menu.c:154
154                             command[i][j] = c;
(gdb) p command
$1 = {0xaaaaaaabf510 "/bin/clear", 0xaaaaaaac0980 "/bin/ls -l", '\377' <repeats 190 times>..., 0x0, 0x0, 0x0, 0x0,
  0x0, 0x0, 0x0, 0x0}
(gdb) p c
$2 = 255 '\377'
(gdb) p i
$3 = 1
(gdb) p j
$4 = 128640
$ uname -a
Linux Pie400 5.4.77-1-MANJARO-ARM #1 SMP PREEMPT Tue Nov 17 18:22:54 CST 2020 aarch64 GNU/Linux
$ gcc --version
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled as: CFLAGS="-O0 -ggdb -Wall -pedantic" make -j $(nproc)

Before that: make -j $(nproc) && sudo make install -- same error.

pepi55 avatar Dec 07 '20 21:12 pepi55