profile
viewpoint

bxqgit/oak 0

A middleware framework for Deno's net server

bxqgit/PlacesToPostYourStartup 0

Compiled list of links from "Ask HN: Where can I post my startup to get beta users?"

bxqgit/serverless-failure-stories 0

Compilation of public failure/horror stories related to Serverless, inspired by hjacobs/kubernetes-failure-stories

bxqgit/thymeleaf-extras-springsecurity 0

Thymeleaf "extras" integration module for Spring Security 3.x and 4.x

pull request commentgradle/gradle

Promote various small API additions introduced in 6.x releases

<!-- {"replyTargetCommentId":761112734,"teamCityBuildId":"40661351","teamCityBuildHeadRef":"e1bfc7558354bdaa3d9917c318061da8d7d662b6","teamCityBuildStatus":"PENDING","replyApproveReviewId":null} --> OK, I've already triggered QuickFeedbackLinux build for you.

jjohannes

comment created time in a few seconds

pull request commentgradle/gradle

Promote various small API additions introduced in 6.x releases

@bot-gradle test QFL

jjohannes

comment created time in a minute

push eventgradle/gradle

Jendrik Johannes

commit sha e1bfc7558354bdaa3d9917c318061da8d7d662b6

Promote various small API additions introduced in 6.x releases

view details

push time in a minute

pull request commentgradle/gradle

Preserve backward compatibility with plugins compiled with Gradle < 5.0

<!-- {"replyTargetCommentId":761111342,"teamCityBuildId":"40661297","teamCityBuildHeadRef":"2b5aa981b63a2e41e5de8c0f7c353c6e1ae95069","teamCityBuildStatus":"PENDING","replyApproveReviewId":null} --> OK, I've already triggered QuickFeedback build for you.

bamboo

comment created time in 4 minutes

pull request commentgradle/gradle

Preserve backward compatibility with plugins compiled with Gradle < 5.0

@bot-gradle test QF

bamboo

comment created time in 4 minutes

push eventgradle/gradle

Rodrigo B. de Oliveira

commit sha 2b5aa981b63a2e41e5de8c0f7c353c6e1ae95069

Add smoke test for greeting plugin used in the GE build

view details

push time in 4 minutes

push eventgolang/go

Bryan C. Mills

commit sha 1deae0b59747ea87d0ef02b6dfdfbbdf5e7bcee8

os: invoke processKiller synchronously in testKillProcess Previously, testKillProcess needlessly invoked processKiller in a separate goroutine and failed to wait for that goroutine to complete, causing the calls to t.Fatalf in that goroutine to potentially occur after the test function had already returned. Fixes #43722 Change-Id: I5d03cb24af51bb73f0ff96419dac57ec39776967 Reviewed-on: https://go-review.googlesource.com/c/go/+/284153 Trust: Bryan C. Mills <bcmills@google.com> Trust: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com> Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org>

view details

push time in 7 minutes

issue closedgolang/go

os: "panic: Fail in goroutine after TestKillStartProcess has completed"

Another flaky test:

=== RUN   TestKillFindProcess
panic: Fail in goroutine after TestKillStartProcess has completed

goroutine 7417 [running]:
testing.(*common).Fail(0xc0007e4600)
        C:/Go/src/testing/testing.go:698 +0x127
testing.(*common).FailNow(0xc0007e4600)
        C:/Go/src/testing/testing.go:720 +0x32
testing.(*common).Fatalf(0xc0007e4600, 0xa47d8a, 0x1f, 0xc0006d9f98, 0x1, 0x1)
        C:/Go/src/testing/testing.go:816 +0x97
os_test.TestKillStartProcess.func1(0xc0003ce8d0)
        C:/Go/src/os/os_test.go:2331 +0xc7
os_test.testKillProcess.func1(0xc00028a0d0, 0xc000298000)
        C:/Go/src/os/os_test.go:2310 +0x4b
created by os_test.testKillProcess
        C:/Go/src/os/os_test.go:2308 +0x157
FAIL    os      67.523s
FAIL
go: failed to remove work dir: remove C:\Go\tmp\go-build3763818576\b001\os.test.exe: Access is denied.

cc @bcmills

go test -v  os -count 10000

closed time in 7 minutes

zx2c4

create barnchgradle/gradle

branch : jjohannes/composite-builds/root-build-substitutions

created branch time in 19 minutes

issue commentgolang/go

mime: fails to parse Media Type with space in value

it could contain spaces, but in a quoted string, not the bare token you demonstrated

candeemis

comment created time in 24 minutes

push eventgradle/gradle

Jendrik Johannes

commit sha 7dcccd78018e8669401bd461674cc5f9fdb38941

Promote classpath normalization of manifest and meta-inf properties (#15811) Promotes #13256

view details

push time in 27 minutes

delete branch gradle/gradle

delete branch : jjohannes/deincubate-meta-inf-properties-normalization

delete time in 27 minutes

PR merged gradle/gradle

Promote classpath normalization of manifest and meta-inf properties a:chore from:member in:core

Promotes #13256

Checklist

  • [x] Validate whether we should de-incubate the API in the 7.0 release.
  • [x] Update release notes (add API to promoted features)
  • [x] Check User Manual (it might mention that the API is still incubating)
    • Think about updating snippets and samples to use this API
  • [x] Check Incubation Report on TeamCity (example)
  • [ ] Mark the story as done in the overview spreadsheet.
+3 -8

2 comments

3 changed files

jjohannes

pr closed time in 27 minutes

issue commentgradle/gradle

Allow implementations of java.util.spi.ToolProvider to be discoverable via toolchains

As work-around one could use

layout.file(
    service
        .compilerFor(toolchain)
        .map {
            it.executablePath.asFile.resolveSibling("jlink${if (Os.isFamily(Os.FAMILY_WINDOWS)) ".exe" else ""}")
        }
)

to get a Provider<RegularFile> that can then later be used like

exec.exec {
    executable = jlinkExecutable.get().asFile.absolutePath
    args(
        "..."
    )
}
aalmiray

comment created time in 38 minutes

issue closedgolang/go

cmd/compile: panic: runtime error: invalid memory address or nil pointer dereference [dev.regabi]

dev.regabi branch

$ gotip version
go version devel +35b9c66601 Thu Jan 14 17:35:39 2021 +0000 linux/amd64
package p

func f() {
	var st struct {
		s string
		i int16
	}
	_ = func() {
		var m map[int16]int
		m[st.i] = 0
	}
}
$ gotip tool compile crash.go 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x51bd59]

goroutine 21 [running]:
cmd/internal/obj.(*LSym).prepwrite(0x0, 0xc00031c000, 0x0, 0x8)
	/home/alberto/go/src/cmd/internal/obj/data.go:71 +0x119
cmd/internal/obj.(*LSym).WriteInt(0x0, 0xc00031c000, 0x0, 0x8, 0x1)
	/home/alberto/go/src/cmd/internal/obj/data.go:100 +0x4d
cmd/compile/internal/objw.UintN(0x0, 0x0, 0x1, 0x8, 0x1)
	/home/alberto/go/src/cmd/compile/internal/objw/objw.go:34 +0x6e
cmd/compile/internal/objw.Uintptr(...)
	/home/alberto/go/src/cmd/compile/internal/objw/objw.go:27
cmd/compile/internal/ssagen.emitStackObjects(0xc000389da0, 0xc0000ea150)
	/home/alberto/go/src/cmd/compile/internal/ssagen/ssa.go:6492 +0x22a
cmd/compile/internal/ssagen.genssa(0xc000083500, 0xc0000ea150)
	/home/alberto/go/src/cmd/compile/internal/ssagen/ssa.go:6525 +0xf2
cmd/compile/internal/ssagen.Compile(0xc0000fa420, 0x0)
	/home/alberto/go/src/cmd/compile/internal/ssagen/pgen.go:178 +0x2a5
cmd/compile/internal/gc.compileFunctions.func2.1(0xc000308310, 0xc0000fa420, 0xc0000b8550, 0xc0000b6ce0)
	/home/alberto/go/src/cmd/compile/internal/gc/compile.go:143 +0x65
created by cmd/compile/internal/gc.compileFunctions.func2
	/home/alberto/go/src/cmd/compile/internal/gc/compile.go:141 +0x8e

cc @mdempsky @cuonglm

closed time in 40 minutes

ALTree

issue commentgolang/go

cmd/compile: panic: runtime error: invalid memory address or nil pointer dereference [dev.regabi]

@mdempsky @ALTree we can close this issue now.

ALTree

comment created time in 42 minutes

push eventgradle/gradle

Rodrigo B. de Oliveira

commit sha ce01cf98e013cc9a5cd7d5ddc3f240d5347a1a2e

Rename system property for consistency

view details

push time in an hour

PR opened gradle/gradle

Let `GeneratePrecompiledScriptPluginAccessors` fail the build @configuration-cache a:chore from:member in:gradle-build in:kotlin-dsl

Upon plugin application errors when the system property org.gradle.kotlin-dsl.precompiled.accessors.strict is set to true.

Also, set the system property on the build-logic build.

+40 -8

0 comment

4 changed files

pr created time in an hour

issue commentnetty/netty

NullPointerException while processing http2 Priority Frame

Keep me posted

atropnikov

comment created time in an hour

issue openedgradle/gradle

Task dependencies is not set up correctly when using finalizeValueOnRead

Expected Behavior

When setting the value of a task input to the output of another task I expect the first task to get a dependency on the second task.

Current Behavior

The expected does happen, but not if you call finalizeOnRead on the property.

Context

I'm trying to make the output of one task the input of another task and I would like to avoid manually hooking up task dependencies.

Steps to Reproduce

Here is a repro, put this in a build.gradle.kts and run task2. It's expected that it would run both task1 and task2 but only task2 runs. If you remove the calls to finalizeOnRead then it works as expected.

abstract class Task1 : DefaultTask() {
    @get:OutputFile
    abstract val outputFile: RegularFileProperty

    init {
        outputFile.finalizeValueOnRead()
    }
}

abstract class Task2 : DefaultTask() {
    @get:InputFile
    abstract val inputFile: RegularFileProperty

    init {
        inputFile.finalizeValueOnRead()
    }
}

val task1 = tasks.register<Task1>("task1") {
    outputFile.set(layout.buildDirectory.file("tmp/foo"))
}

tasks.register<Task2>("task2") {
    inputFile.set(task1.flatMap { it.outputFile })
}

Your Environment

Gradle version 6.8

created time in an hour

issue commentnetty/netty

NullPointerException while processing http2 Priority Frame

Yes, we will try to verify soon.

atropnikov

comment created time in an hour

issue commentnetty/netty

NullPointerException while processing http2 Priority Frame

@atropnikov thanks ... I suspect this should be fixed by: https://github.com/netty/netty/pull/10943

Is it possible for you to verify ?

atropnikov

comment created time in an hour

issue commentnetty/netty

NullPointerException while processing http2 Priority Frame

20:13:56.716 [epollEventLoopGroup-13-5] INFO http2.Http2FrameLogger: [id: 0x9c52a9f6, L:/176.112.196.170:443 - R:/95.161.182.242:61412] OUTBOUND SETTINGS: ack=false settings={=524280, =16384}
20:13:56.717 [epollEventLoopGroup-13-5] INFO http2.Http2FrameLogger: [id: 0x9c52a9f6, L:/176.112.196.170:443 - R:/95.161.182.242:61412] OUTBOUND WINDOW_UPDATE: streamId=0 windowSizeIncrement=917490
20:13:56.718 [epollEventLoopGroup-13-5] INFO http2.Http2FrameLogger: [id: 0x9c52a9f6, L:/176.112.196.170:443 - R:/95.161.182.242:61412] INBOUND SETTINGS: ack=false settings={=65536, =131072, =16384}
20:13:56.718 [epollEventLoopGroup-13-5] INFO http2.Http2FrameLogger: [id: 0x9c52a9f6, L:/176.112.196.170:443 - R:/95.161.182.242:61412] OUTBOUND SETTINGS: ack=true
20:13:56.718 [epollEventLoopGroup-13-5] INFO http2.Http2FrameLogger: [id: 0x9c52a9f6, L:/176.112.196.170:443 - R:/95.161.182.242:61412] INBOUND WINDOW_UPDATE: streamId=0 windowSizeIncrement=12517377
20:13:56.718 [epollEventLoopGroup-13-5] INFO http2.Http2FrameLogger: [id: 0x9c52a9f6, L:/176.112.196.170:443 - R:/95.161.182.242:61412] INBOUND PRIORITY: streamId=3 streamDependency=0 weight=201 exclusive=false
20:13:56.730 [epollEventLoopGroup-13-6] ERROR handler.Http2MultiplexExceptionHandler: Pipeline Exception
java.lang.NullPointerException: null
	at io.netty.handler.codec.http2.Http2FrameCodec$FrameListener.requireStream(Http2FrameCodec.java:679) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.Http2FrameCodec$FrameListener.onPriorityRead(Http2FrameCodec.java:661) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.Http2FrameListenerDecorator.onPriorityRead(Http2FrameListenerDecorator.java:54) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder$FrameReadListener.onPriorityRead(DefaultHttp2ConnectionDecoder.java:386) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder$PrefaceFrameListener.onPriorityRead(DefaultHttp2ConnectionDecoder.java:676) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.Http2InboundFrameLogger$1.onPriorityRead(Http2InboundFrameLogger.java:73) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.DefaultHttp2FrameReader.readPriorityFrame(DefaultHttp2FrameReader.java:510) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.DefaultHttp2FrameReader.processPayloadState(DefaultHttp2FrameReader.java:257) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.DefaultHttp2FrameReader.readFrame(DefaultHttp2FrameReader.java:160) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.Http2InboundFrameLogger.readFrame(Http2InboundFrameLogger.java:41) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder.decodeFrame(DefaultHttp2ConnectionDecoder.java:174) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.DecoratingHttp2ConnectionDecoder.decodeFrame(DecoratingHttp2ConnectionDecoder.java:63) ~[vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.Http2ConnectionHandler$FrameDecoder.decode(Http2ConnectionHandler.java:378) [vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.Http2ConnectionHandler$PrefaceDecoder.decode(Http2ConnectionHandler.java:242) [vpnendpoint.jar:?]
	at io.netty.handler.codec.http2.Http2ConnectionHandler.decode(Http2ConnectionHandler.java:438) [vpnendpoint.jar:?]
	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:508) [vpnendpoint.jar:?]
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:447) [vpnendpoint.jar:?]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [vpnendpoint.jar:?]
	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1533) [vpnendpoint.jar:?]
	at io.netty.handler.ssl.SslHandler.decodeNonJdkCompatible(SslHandler.java:1294) [vpnendpoint.jar:?]
	at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1331) [vpnendpoint.jar:?]
	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:508) [vpnendpoint.jar:?]
	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:447) [vpnendpoint.jar:?]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [vpnendpoint.jar:?]
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [vpnendpoint.jar:?]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [vpnendpoint.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [vpnendpoint.jar:?]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [vpnendpoint.jar:?]
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:795) [vpnendpoint.jar:?]
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:480) [vpnendpoint.jar:?]
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) [vpnendpoint.jar:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [vpnendpoint.jar:?]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [vpnendpoint.jar:?]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [vpnendpoint.jar:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]
atropnikov

comment created time in an hour

pull request commentredis/redis

Secure HTTP links

Exactly. And then you copy and paste it in your shell...

Al2Klimov

comment created time in an hour

pull request commentredis/redis

Secure HTTP links

Reduces attack surface on kernel devs opening the links for MITM

Can you educate me what sort of attack would it be? showing false information in the documentation?

Al2Klimov

comment created time in an hour

issue commentnetty/netty

mvn package failure complaining libnetty_tcnative.jnilib is missing

I see. It's strange. 🤔

This mvn.log might be helpful for further investigation. (Retried with OpenJDK 1.8.0_275 to follow How to build section in README.md)

If I knew where libnetty_tcnative.jnilib should come from, I could debug more for myself.

delegacy

comment created time in an hour

issue commentgolang/go

runtime: setevent failed; errno=6, fatal error: runtime.semawakeup

Yeah, I think I've been looking for too long this and going slowly crazy with suspecting every tiny thing. :D

egonelbre

comment created time in an hour

issue commentgolang/go

runtime: setevent failed; errno=6, fatal error: runtime.semawakeup

@aclements @ianlancetaylor I suspect that @egonelbre and I could use a fresh set of eyes on this one...

egonelbre

comment created time in an hour

issue commentgolang/go

runtime: setevent failed; errno=6, fatal error: runtime.semawakeup

But unminit takes a lock. And we've already seen that nop'ing out unminit doesn't prevent the bug.

egonelbre

comment created time in an hour

more