[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xen master: xl create hangs


  • To: Mathieu Tarral <mathieu.tarral@xxxxxxxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Wed, 20 Jul 2022 17:24:22 +0100
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Xen-users <xen-users@xxxxxxxxxxxxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, George Dunlap <dunlapg@xxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 20 Jul 2022 16:25:09 +0000
  • Ironport-data: A9a23:ESKZZauab49swzhfzuUmh4+VsefnVGNeMUV32f8akzHdYApBsoF/q tZmKWyDbPmMZTPwf9sjOo/koUNT75XUmtE2SQFsqHgxRiMb+JbJXdiXEBz9bniYRiHhoOOLz Cm8hv3odp1coqr0/0/1WlTZhSAgk/vOHtIQMcacUghpXwhoVSw9vhxqnu89k+ZAjMOwRgiAo rsemeWGULOe82MyYzh8B56r8ks15qyt4mtA5zTSWNgQ1LPgvyhNZH4gDfnZw0vQGuF8AuO8T uDf+7C1lkuxE8AFU47Nfh7TKyXmc5aKVeS8oiM+t5uK23CukhcawKcjXMfwXG8M49m/c3Kd/ /0W3XC4YV9B0qQhA43xWTEAe811FfUuFLMqvRFTGCFcpqHLWyKE/hlgMK05FZMXorlFBF9Dz 9ARFzUKQgu9xMju+YvuH4GAhux7RCXqFIYWu3UmxjDFF/c2B5vERs0m5/cBgm123JoXW6+DO YxJMlKDbzyZC/FLEl4RFJI5mvbunnTleidUgFmUubA28y7YywkZPL3Fb4qFI4HVGZg9ckCwm Uz31UXEOkwhHYaClBqp8Ervu8SSknauMG4VPOLhraM76LGJ/UQRBwcRTkCTuuSihwi1XNc3A 1wZ/G8ioLY/8GSvT8LhRFuorXicpBkeVtFMVeog52mlxrfS5w+BCUAZSz9KaJoruNJebTkjy l+Iks6vGTV1qrSRYWqH8auTqza7OCxTJmgHDQcUQA1A/sLuupobihPUUs0lAKOzlsfyGzz73 3aNtidWulkIpZdVjePhpwmB2m/y4MiSJuIo2unJdnyqtlxLYbCoXaCh1l3cwe1+b6zBd2DU6 RDohPOiAPAy4YClzXLQEL9URuD1vp5pIxWH3wcxQsBJGyCFvif6INsOuGwWyFJBaJ5sRNP/X KPEVeq9Drd3NWDiU6J4apnZ5y8Cnfm5ToSNuhw5g7NzjnlNmOyvpngGiba4hTyFraTVufhX1 W2nWcitF20GLq9s0SC7QewQuZdymH1unz6OFcimkkj3uVZ7WJJyYe5fWGZik8hjtP/UyOkr2 4032zS2J+V3D7SlP3i/HX87JlEWN3krba3LRzhsXrfaemJORTB+Y8I9NJt7JOSJaYwJybqTl px8M2cEoGfCaYrvclvQNCg/N+mxAf6SbxsTZEQRALph4FB7Ca7H0UvVX8FfkWUPnAC78cNJc g==
  • Ironport-hdrordr: A9a23:pVoWmq+boJPl0p+ppY5uk+DYI+orL9Y04lQ7vn2YSXRuHPBws/ re+MjztCWE7Qr5N0tMpTntAsW9qDbnhPlICOoqTNWftWvd2FdARbsKheCJ/9SjIVycygc079 YHT0EUMrzN5DZB4vrH3A==
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

On Wed, Jul 20, 2022 at 03:04:22PM +0000, Mathieu Tarral wrote:
> Hi Anthony
> 
> 
> > $(debug) controls the level of optimisation of the compilation to make
> > it easier to debug.
> >
> > So, with debug=y, we have libxenstore having issue with killing the
> > its reading thread? :-(
> > Maybe that reading thread is doing something that can't be stopped,
> > maybe it's waiting for a lock. Could you try to print a back trace of
> > that thread (or even all thread in `xl`)? ("thread apply all bt full" in 
> > gdb)
> 
> I recompiled the buggy master, and this is the full GDB stacktrace when xl 
> create hangs:
> https://gist.github.com/Wenzel/969d5c06982246cd6cb2eb8cdf252a18
> 
> I don't see the same stacktrace as before, maybe I was on a different commit ?

I think that this `xl` process just wait for the domain to shutdown
or die. When we run `xl create`, before exiting there's a fork/exec of
xl which handle a few domain events, so it looks like this stack trace
is expected (and look like the one I have). So it don't looks like to be
the xl process that hangs.

-- 
Anthony PERARD



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.