[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-24 Thread Launchpad Bug Tracker
This bug was fixed in the package freeipmi - 1.6.4-3ubuntu1.1 --- freeipmi (1.6.4-3ubuntu1.1) focal; urgency=medium * d/p/lp-1875771-libfreeipmi-fix-segfault-in-SPMI-parsing.patch: fix crash on Dell iDRAC6/9 (LP: #1875771) -- Christian Ehrhardt Mon, 07 Sep 2020 09:02:06 +020

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-15 Thread Christian Ehrhardt 
Pre: ii freeipmi-common 1.6.4-3ubuntu1 all GNU implementation of the IPMI protocol - common files ii freeipmi-tools 1.6.4-3ubuntu1 amd64GNU implementation of the IPMI protocol - tools ii libfreeipmi17 1.6.4-3ubuntu1 amd64GNU IPMI - libraries ii libipmiconsole2 1.6.

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-15 Thread Brian Murray
Hello Jeff, or anyone else affected, Accepted freeipmi into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/freeipmi/1.6.4-3ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-07 Thread Christian Ehrhardt 
** Description changed: - Ran ipmi-locate on a system running Focal. ipmi-locate returns the info - I expect to see, and then segfaults (no core dump that I'm aware of). + [Impact] + + * A variable was badly initialized leading to a 0x0 pointer that was +accessed and segfaulting the progra

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-07 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/freeipmi/+git/freeipmi/+merge/390350 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875771 Title: ipmi_locate segfaul

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-07 Thread Christian Ehrhardt 
Upstream as commit 7afb97681d5ccdc237891a8d2a3ec1c994958dd0 Author: Christian Ehrhardt Date: Thu Sep 3 03:48:57 2020 -0700 libfreeipmi: fix segfault in SPMI parsing on branch: upstream/freeipmi-1-6-0-stable Prepping this for Focal => https://launchpad.net/~ci-train-ppa-service/+archive/u

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-04 Thread Launchpad Bug Tracker
This bug was fixed in the package freeipmi - 1.6.4-3ubuntu2 --- freeipmi (1.6.4-3ubuntu2) groovy; urgency=medium * d/p/lp-1875771-libfreeipmi-fix-segfault-in-SPMI-parsing.patch: fix crash on Dell iDRAC6/9 (LP: #1875771 -- Christian Ehrhardt Thu, 03 Sep 2020 09:25:11 +0200 *

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-03 Thread Bryce Harrington
Jeff, thanks for testing that, and yeah that confirms the line in question is in error. Christian, good work on the additional archaeology which reveals how this error originated, and on the packaging to get this into the distro. Removing the bad line seems like the good fix/workaround for this p

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-03 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/freeipmi/+git/freeipmi/+merge/390219 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875771 Title: ipmi_locate segfaul

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-03 Thread Christian Ehrhardt 
Now that we have the root cause and also explain why we see it now and not in the past I have prepped this as a fix and submitted it: https://lists.gnu.org/archive/html/freeipmi-devel/2020-09/msg1.html Let us see what the response there is and then consider applying the fix in Focal and Groov

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-03 Thread Christian Ehrhardt 
Way back it seems it set this to zero for a reason. http://git.savannah.gnu.org/cgit/freeipmi.git/commit/?id=68ed819225bdb529f34baca74e499a9645da5197 acpi_table was a global vaiable before and the predecessor of "_ipmi_acpi_get_table" called "ipmi_acpi_get_table" was called with an & operator.

Re: [Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-02 Thread Jeff Lane
On Wed, Sep 2, 2020 at 1:20 PM Bryce Harrington <1875...@bugs.launchpad.net> wrote: > If it was, that seems redundant with line 1308 so still seems odd. In > any case, setting acpi_table = NULL and then passing that to > _ipmi_acpi_get_table() seems very suspect. It might be interesting to > see

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-02 Thread Bryce Harrington
1260: static int 1261: _ipmi_acpi_get_table_dev_mem (ipmi_locate_ctx_t ctx, 1262: char *signature, 1263: unsigned int table_instance, 1264: uint8_t **acpi_table, 1265: uint32_t *acpi_

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-02 Thread Andrew Cloke
Marking as "confirmed" as it sounds as if Christian & Jeff are homing in on the root cause. ** Changed in: freeipmi (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-02 Thread Christian Ehrhardt 
Yeah, there is no /sys/firmware/acpi/tables/SPMI* at all on that system. So the difference must be in the code that makes it reach that path with the Focal code but not on Bionic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-02 Thread Christian Ehrhardt 
Thanks Jeff! Fail at _ipmi_acpi_get_table 1031: *acpi_table = NULL; At this time we see acpi_table=0x0 So dereference 0x0 and segfault. Now how far up does this crash have data... _ipmi_acpi_get_firmware_table does 1485 uint8_t *acpi_table = NULL; ... 1498 if ((_ipmi_acpi_get_table_sysfs

Re: [Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-01 Thread Jeff Lane
ahhh thanks. Here's a text dump of that adding --rebuild-package-info. On Tue, Sep 1, 2020 at 11:10 AM Christian Ehrhardt  <1875...@bugs.launchpad.net> wrote: > > Just add --rebuild-package-info and it will add the Package data > > -- > You received this bug notification because you are subscri

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-01 Thread Christian Ehrhardt 
Just add --rebuild-package-info and it will add the Package data -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875771 Title: ipmi_locate segfault on Focal (Dell iDRAC6/9) To manage notifications a

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-01 Thread Jeff Lane
And here's the crash file for ipmi-locate on the older iDRAC6 machine w/ Focal... Note, apport-retrace errors out saying: # apport-retrace /var/crash/_usr_sbin_ipmi-locate.0.crash --stdout ERROR: report file does not contain one of the required fields: Package ** Attachment added: "_usr_sbin_ipm

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-01 Thread Jeff Lane
Sorry about that... I had the debug for freeipmi-tools installed, but not for libfreeipmi17. Corrected and here's the gdb trace. This is for 1.6.4 on Focal on an older Dell w/ iDRAC6 ** Attachment added: "gdb-ipmi-locate.txt" https://bugs.launchpad.net/ubuntu/+source/freeipmi/+bug/1875771/+a

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-09-01 Thread Christian Ehrhardt 
The log has no line numbers in most places. So I guess we need debug packages. I've looked at the bit we see, the call from ipmi-locate.c:283 is the same in Bionic and Focal. 275 static void 276 acpi_probe_display (ipmi_locate

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-08-31 Thread Jeff Lane
One further comment, this was discovered while trying to do certification at the Dell labs in Austin. So unfortunately, I don't know that we have any avenue to involve them, but we can poke our contacts in the Dell testing team to see if they can assist further. -- You received this bug notifica

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-08-31 Thread Jeff Lane
Here's the gdb log from version 1.6.4 on groovy on the older iDRAC6 system. I'm waiting on Michael to get the same from the newer iDRAC9 system. ** Attachment added: "gdb-freeipmi-tools-1.6.4.txt" https://bugs.launchpad.net/ubuntu/+source/freeipmi/+bug/1875771/+attachment/5406202/+files/gdb-

[Bug 1875771] Re: ipmi_locate segfault on Focal (Dell iDRAC6/9)

2020-08-31 Thread Bryce Harrington
** Summary changed: - ipmi_locate segfault on Focal + ipmi_locate segfault on Focal (Dell iDRAC6/9) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875771 Title: ipmi_locate segfault on Focal (Dell

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-08-31 Thread Bryce Harrington
I confirmed Paride's finding that it neither reproduces on my own hardware nor are forum/blog/google searches turn up anything useful. Bug #1893136 does indeed appear to be a dupe to this bug (once confirmed by the reporter it can be set as a dupe of this). Given that the affected systems appear t

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-08-28 Thread Jeff Lane
Bah... I was going to let this just die, because the only thing we could ever reproduce it on were old iDRAC6 systems. But now, according to this bug: #1893136 it appears that this is also segfaulting on some very new Dell systems with iDRAC9, so we definitely will need to get this issue resolved.

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-08-16 Thread Launchpad Bug Tracker
[Expired for freeipmi (Ubuntu) because there has been no activity for 60 days.] ** Changed in: freeipmi (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-06-17 Thread Christian Ehrhardt 
I wonder how common those systems would be for the overall Ubuntu users? Might be important for the priority. Is there any chance you could report upstream to see if they are aware (or even intentional drop of something). And on the other side is there a way to easily get a login to a system - no

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-06-17 Thread Christian Ehrhardt 
** Tags removed: server-triage-discuss ** Changed in: freeipmi (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875771 Title: ipmi_locate segfault on Focal

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-05-05 Thread Paride Legovini
Hi Jeff, Interesting, thanks for the digging. I did search on the relevant bug trackers and mailing lists I could think of but couldn't find any similar bug report. I think this will require some debugging on an affected machine. To start with I'd try to find out which version of the freeipmi Ubun

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-05-01 Thread Jeff Lane
Hi Paride... I did some additional testing and so far I have started seeing a pattern. The failing systems (the segfaulting ones) are all Dells with iDRAC6 (they're older Dells, 11G). I have one newer Dell system and it did not segfault. I also ran on HP, Supermicro, Quanta and Lenovo systems w

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-04-30 Thread Paride Legovini
Hi Jeff, No objection ipmi-locate shouldn't crash, so we have almost certainly have a bug here, however I couldn't reproduce the crash on a couple of Focal machines where I tried. Is there anything relevant you can think of which may play a role in the crash? There is no Debian bug on this failur

[Bug 1875771] Re: ipmi_locate segfault on Focal

2020-04-28 Thread Jeff Lane
The issue appears to be with the version of freeipmi-tools in Focal. I installed version 1.4.11 from Bionic on the Focal machine and ipmi-locate does not segfault: ubuntu@mayapple:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 2