Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jun 2019 16:17:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 238333] bhyve random crash in rfb.c on FreeBSD current (after r346011)
Message-ID:  <bug-238333-27103-MU5XBwSvnJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238333-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238333-27103@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238333

--- Comment #3 from Conrad Meyer <cem@freebsd.org> ---
I should add, if you still have gdb open:

(In reply to olevole from comment #0)
> Thread 29 "rfbout" received signal SIGBUS, Bus error.
> [Switching to LWP 101756 of process 93578]
> memcpy () at /usr/src/lib/libc/amd64/string/memmove.S:306
> 306             MEMMOVE erms=0 overlap=1 begin=MEMMOVE_BEGIN end=MEMMOVE_END
> (gdb) bt
> #0  memcpy () at /usr/src/lib/libc/amd64/string/memmove.S:306

'info registers' might be interesting here, in tandem with 'show disas' or 'x/i
$rip'.

> (gdb) p len
> $1 = 9600016

That's our 2000*1200*4 + 16 magic number from earlier.

> print sizeof(strm)
> $2 = 8
> 
> (gdb) print sizeof(s)
> $3 = 8

These are just the pointers.  Please 'print *strm' and '*s'.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238333-27103-MU5XBwSvnJ>