Development discussion of WireGuard
 help / color / mirror / Atom feed
* Blue Screen errors with WireGuardNT using two peers
@ 2021-08-03  5:06 Hiroshi Shirosaki
  2021-08-03 15:01 ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Hiroshi Shirosaki @ 2021-08-03  5:06 UTC (permalink / raw)
  To: wireguard

Hi,

I tried to use WireGuard 0.4.0 with ExperimentalKernelDriver on.
When I use only one peer, it seems to work fine.
When I used another peer to ssh at the same time, Windows 10 became
blue screen and rebooted.
Windows 10 Pro 21H1.
Is using multiple peers at the same time not supported?

Thanks,
Hiroshi Shirosaki

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Blue Screen errors with WireGuardNT using two peers
  2021-08-03  5:06 Blue Screen errors with WireGuardNT using two peers Hiroshi Shirosaki
@ 2021-08-03 15:01 ` Jason A. Donenfeld
  2021-08-03 17:25   ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2021-08-03 15:01 UTC (permalink / raw)
  To: Hiroshi Shirosaki, wireguard

Hi Hiroshi,

On 8/3/21 7:06 AM, Hiroshi Shirosaki wrote:
> I tried to use WireGuard 0.4.0 with ExperimentalKernelDriver on.
> When I use only one peer, it seems to work fine.
> When I used another peer to ssh at the same time, Windows 10 became
> blue screen and rebooted.
> Windows 10 Pro 21H1.
> Is using multiple peers at the same time not supported?

Multiple peers _should_ be supported, but you've evidently hit some kind 
of bug. Do you think you could send me the files in the 
C:\windows\minidump\ directory? It's probably best to mail these to me 
personally rather than sending them to the mailing list.

Thanks,
Jason

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Blue Screen errors with WireGuardNT using two peers
  2021-08-03 15:01 ` Jason A. Donenfeld
@ 2021-08-03 17:25   ` Jason A. Donenfeld
  2021-08-04  0:34     ` Hiroshi Shirosaki
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2021-08-03 17:25 UTC (permalink / raw)
  To: Hiroshi Shirosaki, wireguard

On 8/3/21 5:01 PM, Jason A. Donenfeld wrote:
> On 8/3/21 7:06 AM, Hiroshi Shirosaki wrote:
>> I tried to use WireGuard 0.4.0 with ExperimentalKernelDriver on.
>> When I use only one peer, it seems to work fine.
>> When I used another peer to ssh at the same time, Windows 10 became
>> blue screen and rebooted.
>> Windows 10 Pro 21H1.
>> Is using multiple peers at the same time not supported?
> 
> Multiple peers _should_ be supported, but you've evidently hit some kind 
> of bug. Do you think you could send me the files in the 
> C:\windows\minidump\ directory? It's probably best to mail these to me 
> personally rather than sending them to the mailing list.

v0.4.1 is now released. Please see if that fixes the issue.

Jason

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Blue Screen errors with WireGuardNT using two peers
  2021-08-03 17:25   ` Jason A. Donenfeld
@ 2021-08-04  0:34     ` Hiroshi Shirosaki
  2021-08-04  0:36       ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Hiroshi Shirosaki @ 2021-08-04  0:34 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: wireguard

On Wed, Aug 4, 2021 at 2:25 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
> v0.4.1 is now released. Please see if that fixes the issue.

Thank you for the fix.
I tried and it works stably for now.

FYI
I confirmed windbg minidump result of the previous(v0.4.0) failure.
It shows the following.

2: kd> !analyze -v

DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high.  This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: 0000000000000024, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff801245e2d54, address which referenced memory

Debugging Details:
------------------
(snip)

Thanks,
Hiroshi Shirosaki

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Blue Screen errors with WireGuardNT using two peers
  2021-08-04  0:34     ` Hiroshi Shirosaki
@ 2021-08-04  0:36       ` Jason A. Donenfeld
  0 siblings, 0 replies; 5+ messages in thread
From: Jason A. Donenfeld @ 2021-08-04  0:36 UTC (permalink / raw)
  To: Hiroshi Shirosaki; +Cc: WireGuard mailing list

Hi Hiroshi,

> I confirmed windbg minidump result of the previous(v0.4.0) failure.
> It shows the following.
>
> 2: kd> !analyze -v
>
> DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
> An attempt was made to access a pageable (or completely invalid) address at an
> interrupt request level (IRQL) that is too high.  This is usually
> caused by drivers using improper addresses.
> If kernel debugger is available get stack backtrace.
> Arguments:
> Arg1: 0000000000000024, memory referenced
> Arg2: 0000000000000002, IRQL
> Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
> Arg4: fffff801245e2d54, address which referenced memory
>
> Debugging Details:
> ------------------
> (snip)

Thank you for letting me know that 0.4.1 fixes the issue. With regards
to your windbg - could you send the snipped part, just to be sure?

Jason

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-04  0:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03  5:06 Blue Screen errors with WireGuardNT using two peers Hiroshi Shirosaki
2021-08-03 15:01 ` Jason A. Donenfeld
2021-08-03 17:25   ` Jason A. Donenfeld
2021-08-04  0:34     ` Hiroshi Shirosaki
2021-08-04  0:36       ` Jason A. Donenfeld

Development discussion of WireGuard

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://inbox.vuxu.org/wireguard \
		wireguard@lists.zx2c4.com
	public-inbox-index wireguard

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.wireguard


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git