From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Patenaude Poulin Subject: [BUG] gdbsx crashes Xen Date: Thu, 11 Feb 2016 11:25:31 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8033023395833749641==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============8033023395833749641== Content-Type: multipart/alternative; boundary=001a1145504cf72450052b81000d --001a1145504cf72450052b81000d Content-Type: text/plain; charset=UTF-8 Hey folks, With gdbsx running, Running `gdb -ex "target remote localhost:9999" crashes Xen and reboots the server. Example session: http://i.imgur.com/UXh3RCy.png Minimal reproduction: https://github.com/lilred/xen-crash-repro Top line of `xl dmesg`: Xen version 4.6.0 (root@CS.McGill.CA) (gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010) debug=y Mon Dec 28 21:34:16 EST 2015 Output of `lsb_release -a`: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily I can provide more information if you tell me what to look for. Also, I would LOVE a work-around. Best Carl Patenaude Poulin B. Eng. Software Engineering student McGill University --001a1145504cf72450052b81000d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey folks,

With gdbsx runnin= g, Running `gdb -ex "target remote localhost:9999"
cras= hes Xen and reboots the server.

Example session: <= a href=3D"http://i.imgur.com/UXh3RCy.png">http://i.imgur.com/UXh3RCy.png

Minimal reproduction: https://github.com/lilred/xen-crash-repro

Top line of `xl dmesg`:

= =C2=A0 =C2=A0 Xen version 4.6.0 (root@= CS.McGill.CA) (gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010) debug=3Dy M= on Dec 28 21:34:16 EST 2015

Output of `lsb_release= -a`:

=C2=A0 =C2=A0 No LSB modules are available.<= /div>
=C2=A0 =C2=A0 Distributor ID: Ubuntu
=C2=A0 =C2=A0 Desc= ription: =C2=A0 =C2=A0Ubuntu 15.10
=C2=A0 =C2=A0 Release: =C2=A0 = =C2=A0 =C2=A0 =C2=A015.10
=C2=A0 =C2=A0 Codename: =C2=A0 =C2=A0 = =C2=A0 wily

I can provide more information if you = tell me what to look for. Also,
I would LOVE a work-around.
=

Best

Carl Patenaude Poulin
B. Eng. Software Engineering student
McGill University
--001a1145504cf72450052b81000d-- --===============8033023395833749641== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8033023395833749641==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [BUG] gdbsx crashes Xen Date: Thu, 11 Feb 2016 16:35:09 +0000 Message-ID: <56BCB83D.8040106@citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6642673134239673475==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Carl Patenaude Poulin , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============6642673134239673475== Content-Type: multipart/alternative; boundary="------------060904030302090509000104" --------------060904030302090509000104 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit On 11/02/16 16:25, Carl Patenaude Poulin wrote: > Hey folks, > > With gdbsx running, Running `gdb -ex "target remote localhost:9999" > crashes Xen and reboots the server. > > Example session: http://i.imgur.com/UXh3RCy.png > > Minimal reproduction: https://github.com/lilred/xen-crash-repro > > Top line of `xl dmesg`: > > Xen version 4.6.0 (root@CS.McGill.CA ) > (gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010) debug=y Mon Dec 28 > 21:34:16 EST 2015 > > Output of `lsb_release -a`: > > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 15.10 > Release: 15.10 > Codename: wily > > I can provide more information if you tell me what to look for. Also, > I would LOVE a work-around. At the very minimum, you need to set up a serial console and capture the panic log. Are you on Broadwell hardware by any chance? I fixed a SMAP violation in that hypercall a little while ago. ~Andrew --------------060904030302090509000104 Content-Type: text/html; charset="windows-1252" Content-Length: 2420 Content-Transfer-Encoding: quoted-printable
On 11/02/16 16:25, Carl Patenaude Poulin wrote:
Hey folks,

With gdbsx running, Running `gdb -ex "target remote localhost:9999"
crashes Xen and reboots the server.



Top line of `xl dmesg`:

=A0 =A0 Xen version 4.6.0 (root@CS.McGill.CA) (gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010) debug=3Dy Mon Dec 28 21:34:16 EST 2015

Output of `lsb_release -a`:

=A0 =A0 No LSB modules are available.
=A0 =A0 Distributor ID: Ubuntu
=A0 =A0 Description: =A0 =A0Ubuntu 15.10
=A0 =A0 Release: =A0 =A0 =A0 =A015.10
=A0 =A0 Codename: =A0 =A0 =A0 wily

I can provide more information if you tell me what to look for. Also,
I would LOVE a work-around.

At the very minimum, you need to set up a serial console and capture the panic log.

Are you on Broadwell hardware by any chance=3F=A0 I fixed a SMAP violation in that hypercall a little while ago.

~Andrew
--------------060904030302090509000104-- --===============6642673134239673475== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6642673134239673475==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Patenaude Poulin Subject: Re: [BUG] gdbsx crashes Xen Date: Fri, 26 Feb 2016 22:26:21 -0500 Message-ID: References: <56BCB83D.8040106@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7405141186118705480==" Return-path: In-Reply-To: <56BCB83D.8040106@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Andrew Cooper Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============7405141186118705480== Content-Type: multipart/alternative; boundary=001a1140f86aedf0ef052cb7fb4b --001a1140f86aedf0ef052cb7fb4b Content-Type: text/plain; charset=UTF-8 Hi all, Sorry for the delay. I've managed to get some serial console output. https://gist.github.com/lilred/50285e1f33ab1c881ea0 I am not on Broadwell hardware. I'm using a PowerEdge R300 machine, with a Xeon x5460 CPU. Best On Thu, Feb 11, 2016 at 11:35 AM, Andrew Cooper wrote: > On 11/02/16 16:25, Carl Patenaude Poulin wrote: > > Hey folks, > > With gdbsx running, Running `gdb -ex "target remote localhost:9999" > crashes Xen and reboots the server. > > Example session: http://i.imgur.com/UXh3RCy.png > > Minimal reproduction: https://github.com/lilred/xen-crash-repro > > Top line of `xl dmesg`: > > Xen version 4.6.0 (root@CS.McGill.CA) (gcc (Ubuntu 5.2.1-22ubuntu2) > 5.2.1 20151010) debug=y Mon Dec 28 21:34:16 EST 2015 > > Output of `lsb_release -a`: > > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 15.10 > Release: 15.10 > Codename: wily > > I can provide more information if you tell me what to look for. Also, > I would LOVE a work-around. > > > At the very minimum, you need to set up a serial console and capture the > panic log. > > Are you on Broadwell hardware by any chance? I fixed a SMAP violation in > that hypercall a little while ago. > > ~Andrew > --001a1140f86aedf0ef052cb7fb4b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Sorry for the = delay. I've managed to get some serial console output.


I am not on Broadwe= ll hardware. I'm using a PowerEdge R300 machine,
with a Xeon x5460 CPU.
=
Best

On Thu, Feb 11, 2016 at 11:35 AM, = Andrew Cooper <andrew.cooper3@citrix.com> wrote:
=
=20 =20 =20
On 11/02/16 16:25, Carl Patenaude Poulin wrote:
=20
Hey folks,

With gdbsx running, Running `gdb -ex "target remote localhost:9999"
crashes Xen and reboots the server.



Top line of `xl dmesg`:

=C2=A0 =C2=A0 Xen version 4.6.0 (root@CS.McGill.CA) (gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010) debug=3Dy Mon Dec 28 21:34:16 EST 2015

Output of `lsb_release -a`:

=C2=A0 =C2=A0 No LSB modules are available.
=C2=A0 =C2=A0 Distributor ID: Ubuntu
=C2=A0 =C2=A0 Description: =C2=A0 =C2=A0Ubuntu 15.10
=C2=A0 =C2=A0 Release: =C2=A0 =C2=A0 =C2=A0 =C2=A015.10
=C2=A0 =C2=A0 Codename: =C2=A0 =C2=A0 =C2=A0 wily

I can provide more information if you tell me what to look for. Also,
I would LOVE a work-around.

At the very minimum, you need to set up a serial console and capture the panic log.

Are you on Broadwell hardware by any chance?=C2=A0 I fixed a SMAP violation in that hypercall a little while ago.<= font color=3D"#888888">

~Andrew

--001a1140f86aedf0ef052cb7fb4b-- --===============7405141186118705480== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============7405141186118705480==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [BUG] gdbsx crashes Xen Date: Mon, 29 Feb 2016 11:22:51 +0000 Message-ID: <56D42A0B.8020000@citrix.com> References: <56BCB83D.8040106@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4729678657140272907==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Carl Patenaude Poulin Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============4729678657140272907== Content-Type: multipart/alternative; boundary="------------010805080708070604060704" --------------010805080708070604060704 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 27/02/16 03:26, Carl Patenaude Poulin wrote: Please don't top post. > Hi all, > > Sorry for the delay. I've managed to get some serial console output. > > https://gist.github.com/lilred/50285e1f33ab1c881ea0 > > I am not on Broadwell hardware. I'm using a PowerEdge R300 machine, > with a Xeon x5460 CPU. > > Best That is unfortunate. Can you run `addr2line -e xen-syms ffff82d080217ae2` to find out exactly which line the crash is from? What kind of domain are you running? It looks like an HVM domain. If so, can you possibly also, from dom0, run `xen-hvmctx $DOMID` before attaching debugging? ~Andrew --------------010805080708070604060704 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit
On 27/02/16 03:26, Carl Patenaude Poulin wrote:

Please don't top post.

Hi all,

Sorry for the delay. I've managed to get some serial console output.


I am not on Broadwell hardware. I'm using a PowerEdge R300 machine,
with a Xeon x5460 CPU.

Best

That is unfortunate.

Can you run `addr2line -e xen-syms ffff82d080217ae2` to find out exactly which line the crash is from?

What kind of domain are you running?  It looks like an HVM domain.  If so, can you possibly also, from dom0, run `xen-hvmctx $DOMID` before attaching debugging?

~Andrew
--------------010805080708070604060704-- --===============4729678657140272907== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============4729678657140272907==--