From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E878C11D0B for ; Thu, 20 Feb 2020 14:19:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E23AE206E2 for ; Thu, 20 Feb 2020 14:19:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=scylladb-com.20150623.gappssmtp.com header.i=@scylladb-com.20150623.gappssmtp.com header.b="e+ybVVTW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727868AbgBTOT1 (ORCPT ); Thu, 20 Feb 2020 09:19:27 -0500 Received: from mail-lf1-f53.google.com ([209.85.167.53]:35774 "EHLO mail-lf1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbgBTOT1 (ORCPT ); Thu, 20 Feb 2020 09:19:27 -0500 Received: by mail-lf1-f53.google.com with SMTP id l16so3240377lfg.2 for ; Thu, 20 Feb 2020 06:19:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scylladb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=0eWvJ5hCCWDZ5pMiGIuaUkGn9wkHxTuhNGx5ofF0KlI=; b=e+ybVVTW12IYH/5m1Hq5CUSZdscu9tz6E3TyEsRF2xDUb0VBmPy4C78rUnBrHhdy/h VSy9cMOIu/sNpook+X7InfLrSY5+nIFysYhE1+RifWg7SsUOMtHeno6D9Ai4yMcuu0+i rDmHYOkOeJNnZNz2bp45fwCdTH46pCj6JpatLbQWnwC1XWL3K6/rPqTTI2s8mbU4ZA1C 9p4h7Z1u8xKaWqjv/GzDYWt+HL4iN/k/xQI1yRrgUTNQwQqzdc/L6vW8ZlRhz7kB7IKz 883n1ni9epQd37MUc29qlHdOXhzMXeCby7UdLxDRB8x53wotJD29awBqCMR4Zc+yDqCx TPWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0eWvJ5hCCWDZ5pMiGIuaUkGn9wkHxTuhNGx5ofF0KlI=; b=m2+X0ksEWWKN1RpTZP/11HzE6YI9TQoZ4h+ITYjTEVdHL61eSH727VtGeZepUwuPgZ 9qgDxVNCksfmWbGGb2KoQycNop9Y+OA1SJ/4/e5HoTDU+x2SUBX9Mv6Xc+zLt3mVXzK4 6mjX1x4zE5Yw7ZgQpBP51AMiB0mbzsUPzdowmT11S/5+DoKWlB+KxDxvLMHhsLdyuTzW l1Uz6tvjl6qqi6g43LqQPzcQCwkUvnKXHuR3plAwsBzYD8R1oWbQ4BI3C7IZiRv0FNBk 9Lx0NT03hA5P/HAuaF6lf8JTObrEkSw5btPfEUxJTWRHM/fxO7Y9eM38qxNN2G6MklZs WCMQ== X-Gm-Message-State: APjAAAUi/dbbkbyB8pHWs52DPTAe5eRVIM9ZP9p5utmrSugKG8+3zJen gDia7Cc2O7+jVtYjAFb3LoJIph8siksaTy+gap4+GYY65p0axw== X-Google-Smtp-Source: APXvYqwMUtkEHSAoT5a3mwbFiSVNhgXx+L/jwhZNx0WrQ4yoMIZRBaVmlrie5QA1rF8Q0laFqN4NwjhdfTpdFVvIIb0= X-Received: by 2002:a05:6512:3136:: with SMTP id p22mr5378364lfd.120.1582208364778; Thu, 20 Feb 2020 06:19:24 -0800 (PST) MIME-Version: 1.0 From: Glauber Costa Date: Thu, 20 Feb 2020 09:19:13 -0500 Message-ID: Subject: crash on connect To: io-uring@vger.kernel.org, Jens Axboe , Avi Kivity Content-Type: multipart/mixed; boundary="0000000000008b43cb059f029781" Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org --0000000000008b43cb059f029781 Content-Type: text/plain; charset="UTF-8" Hi there, me again Kernel is at 043f0b67f2ab8d1af418056bc0cc6f0623d31347 This test is easier to explain: it essentially issues a connect and a shutdown right away. It currently fails due to no fault of io_uring. But every now and then it crashes (you may have to run more than once to get it to crash) Instructions are similar to my last test. Except the test to build is now "tests/unit/connect_test" Code is at git@github.com:glommer/seastar.git branch io-uring-connect-crash Run it with ./build/release/tests/unit/connect_test -- -c1 --reactor-backend=uring Backtrace attached --0000000000008b43cb059f029781 Content-Type: text/plain; charset="US-ASCII"; name="uring-connect.txt" Content-Disposition: attachment; filename="uring-connect.txt" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k6utv2wz0 WyAgNzMyLjAzMDUxNF0gQlVHOiB1bmFibGUgdG8gaGFuZGxlIHBhZ2UgZmF1bHQgZm9yIGFkZHJl c3M6IDAwMDAwMDAwMDAwMDIwMDgKWyAgNzMyLjAzMDY2Nl0gI1BGOiBzdXBlcnZpc29yIHdyaXRl IGFjY2VzcyBpbiBrZXJuZWwgbW9kZQpbICA3MzIuMDMwODA3XSAjUEY6IGVycm9yX2NvZGUoMHgw MDAyKSAtIG5vdC1wcmVzZW50IHBhZ2UKWyAgNzMyLjAzMDk0Nl0gUEdEIDgwMDAwMDBmZTMwNGQw NjcgUDREIDgwMDAwMDBmZTMwNGQwNjcgUFVEIGZlNDc0NTA2NyBQTUQgMCAKWyAgNzMyLjAzMTEz MV0gT29wczogMDAwMiBbIzFdIFNNUCBQVEkKWyAgNzMyLjAzMTM1NV0gQ1BVOiAwIFBJRDogMTY1 NiBDb21tOiBjb25uZWN0X3Rlc3QgTm90IHRhaW50ZWQgNS42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