Bug#898553: grub-legacy 0.97-73 segfaults

2018-07-09 Thread Eugene Berdnikov
Hi, Bernard. > On Mon, Jul 09, 2018 at 05:41:45PM +0300, Eugene Berdnikov wrote: > I built probematic grub-legacy 0.97-73 debian package with you patch, Qualification: built with gcc-7.3.0 and gcc-8.1.0 compilers. Tested run of /usr/sbin/grub for both, MBR installation + boot for gcc-7. >

Bug#898553: grub-legacy 0.97-73 segfaults

2018-07-09 Thread Eugene Berdnikov
Hi, Bernard. On Fri, Jul 06, 2018 at 07:32:46PM +0200, Bernhard Übelacker wrote: > Attached patch is not relying on having the static variables accessible > after the stack got switched by putting pointer to them on the new stack. > > Tested so far: > - i386/amd64: /usr/sbin/grub works. > - amd

Bug#898553: grub-legacy 0.97-73 segfaults

2018-07-06 Thread Bernhard Übelacker
tags 897390 = patch quit Hello Eugene, I am not sure if gcc is here to blame as grub is here doing something unusual. Also there might be some (yet unknown) command line switch to gcc to restore old behaviour... Nevertheless I was curious on getting that working again ... Attached patch is not

Bug#898553: grub-legacy 0.97-73 segfaults

2018-07-05 Thread Bernhard Übelacker
Hello Eugene, I just tried to reproduce the issue and collect some more information. Unfortunately grub-legacy has not yet a dbgsym package. But is also crashing with a self built package. # gdb -q --args /usr/sbin/grub Reading symbols from /usr/sbin/grub...done. (gdb) display/i $pc 1: x/i $pc (

Bug#898553: grub-legacy 0.97-73 segfaults

2018-05-17 Thread Eugene Berdnikov
On Sun, May 13, 2018 at 04:31:10PM +0300, Eugene B. Berdnikov wrote: > Package: grub-legacy > Version: 0.97-73 > Severity: important > Justification: critical > > In grub-legacy 0.97-73 binary /usr/sbin/grub segfaults on start. > Binary from 0.97-72 works as expected. Segfaults are on amd64 an

Bug#898553: grub-legacy 0.97-73 segfaults

2018-05-13 Thread Eugene B. Berdnikov
Package: grub-legacy Version: 0.97-73 Severity: important Justification: critical In grub-legacy 0.97-73 binary /usr/sbin/grub segfaults on start. Binary from 0.97-72 works as expected. # ldd /usr/sbin/grub linux-gate.so.1 (0xb7fc4000) libncurses.so.6 => /lib/i386-linux-gnu/libn