From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0079.outbound.protection.outlook.com [104.47.0.79]) by dpdk.org (Postfix) with ESMTP id 5A4AEDED for ; Fri, 4 May 2018 11:37:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bENlEEy6SCiG8emIlCYZQoQT0XMpCsYCVhrYHNh6T5o=; b=GWOKMzfWPo/jC/s5N74ncETdrhXSR+ED++aLHqb4f93n9npIbEiiwEQMhZ21fUo7sPj+uqE3RVZZbbMINsjur+4ox9W9dIG4tlQyNs8NbqWXLK697rhyrclQdwaWiPoKhf3H9BYMGMClJyY02b90Bed8KDVQFn6SKnyoVRg5IGw= Received: from HE1PR0501MB2314.eurprd05.prod.outlook.com (10.168.34.19) by HE1PR0501MB2521.eurprd05.prod.outlook.com (10.168.126.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.23; Fri, 4 May 2018 09:37:39 +0000 Received: from HE1PR0501MB2314.eurprd05.prod.outlook.com ([fe80::d405:aec8:cd2f:85cc]) by HE1PR0501MB2314.eurprd05.prod.outlook.com ([fe80::d405:aec8:cd2f:85cc%18]) with mapi id 15.20.0715.024; Fri, 4 May 2018 09:37:39 +0000 From: Ophir Munk To: "dev@dpdk.org" , "jianfeng.tan@intel.com" , "shreyansh.jain@nxp.com" CC: Ferruh Yigit , Thomas Monjalon , Olga Shern , Shahaf Shuler Thread-Topic: testpmd crashes on startup Thread-Index: AdPjiZm2NScX+3DhRoCiwxmcWS3OqQ== Date: Fri, 4 May 2018 09:37:39 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ophirmu@mellanox.com; x-originating-ip: [93.172.127.40] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0501MB2521; 7:g1W1M2ssWgngRrMIH88hGDns6HJ1Br6zZ7AMagwd1abS7Y9L6U2yK/RfYW9QbKiQG/2Xo1vnp6QLrALzDckKmyZRdVLz2PZ2U7i+3GJwQtmkYvhSGRPtpIpxdrGuUMMWovsewEDT7wHbu+9oaao2m2SUoRY6Hw+sUOhH8GFEgJqQJB7IRfc8Rd3fnmotla+2guffIRbmDnJyyquup4dSSm7dLOgocVbtMcuZbjq1psdBxo7nfY52feAtEVA1RM5o x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0501MB2521; x-ms-traffictypediagnostic: HE1PR0501MB2521: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(20558992708506); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(6055026)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:HE1PR0501MB2521; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2521; x-forefront-prvs: 06628F7CA4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(346002)(39860400002)(376002)(366004)(189003)(199004)(66066001)(3660700001)(7696005)(99286004)(81166006)(55016002)(14454004)(478600001)(107886003)(9686003)(6436002)(8676002)(7736002)(81156014)(97736004)(33656002)(53936002)(8656006)(25786009)(3480700004)(4326008)(2900100001)(3280700002)(6116002)(74316002)(68736007)(26005)(6506007)(106356001)(102836004)(3846002)(2906002)(105586002)(5250100002)(86362001)(2501003)(486006)(476003)(8936002)(305945005)(186003)(2201001)(54906003)(5660300001)(316002)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2521; H:HE1PR0501MB2314.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ZawxfPfHgz7LzAPJvK9y8Kcutpccs9tX/6J5NXSPOnDTuoCUthUdUu15tFAJ2BWZAVKPL61jIPtg1p3KpD9azQor0MDg1fxVy4EYXCfliIhfOKFwMwdNf52xx2uIDad3EUak3b7Cs9y8chn5pwbyLJLzW0hDrfF5domyqTijMTdQABt/xoXf20vz+3P53sYu spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 80d13cca-04bc-4390-f180-08d5b1a2ad81 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80d13cca-04bc-4390-f180-08d5b1a2ad81 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2018 09:37:39.4710 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2521 Subject: [dpdk-dev] testpmd crashes on startup X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2018 09:37:41 -0000 Hi Jianfeng, Following commit 3d09a6e26d ("eal: fix threads block on barrier") I am seei= ng testpmd crashes on startups.=20 The crashes occur 10% of the time with a regular compilation:=20 make install T=3Dx86_64-native-linuxapp-gcc=20 and 70% of the time when using "-g" and "-o0" flags: make install T=3Dx86_64-native-linuxapp-gcc EXTRA_CFLAGS+=3D-g EXTRA_CFLAGS= +=3D-O0 config/common_base: CONFIG_RTE_LIBRTE_MLX4_PMD=3Dy I am running with an mlx4 Mellanox NIC on an Azure VM. Please note the crash back trace in [1]. Have you witnessed similar reports? I can provide more details if needed. [1] Thread 1 "testpmd" received signal SIGABRT, Aborted. 0x00007ffff6ae4428 in=A0GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/s= ysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff6ae4428 in __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/uni= x/sysv/linux/raise.c:54 #1 0x00007ffff6ae602a in __GI_abort () at abort.c:89 #2 0x00007ffff6b267ea in __libc_message (do_abort=3Ddo_abort@entry=3D2, fmt= =3Dfmt@entry=3D0x7ffff6c3fed8 "*** Error in `%s': %s: 0x%s ***\n") at ../sy= sdeps/posix/libc_fatal.c:175 #3=A00x00007ffff6b2d6ed in malloc_printerr (ar_ptr=3D0x7ffff6e73b20 , ptr=3D, str=3D0x7ffff6c3cc92 "corrupted double-linked= list", action=3D) at malloc.c:5006 #4 malloc_consolidate (av=3Dav@entry=3D0x7ffff6e73b20 ) at mall= oc.c:4183 #5=A00x00007ffff6b30cde in _int_malloc (av=3Dav@entry=3D0x7ffff6e73b20 , bytes=3Dbytes@entry=3D1968) at malloc.c:3450 #6=A00x00007ffff6b33184 in __GI_libc_malloc (bytes=3D1968) at malloc.c:2913 #7=A00x000000000057a939 in pci_scan_one (dirname=3D0x7fffffffd120 "/sys/bus= /pci/devices/0002:00:02.0", addr=3D0x7fffffffd100) at ***/dpdk-branches/drivers/bus/pci/linux/pci.c:226 #8=A00x000000000057b3d8 in rte_pci_scan () at ***/dpdk-branches/drivers/bus= /pci/linux/pci.c:463 #9=A00x0000000000554bce in rte_bus_scan () at ***/dpdk-branches/lib/librte_= eal/common/eal_common_bus.c:77 #10=A00x000000000053e3e8 in rte_eal_init (argc=3D17, argv=3D0x7fffffffe428)= at ***/dpdk-branches/lib/librte_eal/linuxapp/eal/eal.c:783 #11=A00x0000000000470279 in main (argc=3D17, argv=3D0x7fffffffe428) at ***/= dpdk-branches/app/test-pmd/testpmd.c:2597