From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 1A7B6A0679
	for <public@inbox.dpdk.org>; Tue, 30 Apr 2019 12:57:36 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 55D385B2C;
	Tue, 30 Apr 2019 12:57:34 +0200 (CEST)
Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com
 [209.85.217.45]) by dpdk.org (Postfix) with ESMTP id B4F9C5B12
 for <dev@dpdk.org>; Tue, 30 Apr 2019 12:57:32 +0200 (CEST)
Received: by mail-vs1-f45.google.com with SMTP id d8so7733484vsp.2
 for <dev@dpdk.org>; Tue, 30 Apr 2019 03:57:32 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=PcjMZWX8um54tmZbZNYd4JpdYI4ekxNoPMCCNQLiHns=;
 b=JND7HW7SkrZ7UUZc3kSoU0TRhXF/yPZbiFKgn4D1XNFbPYOpwvqWXBiMJ07ZMlWJCn
 Fe0TIAY+jr5kPcguSI6ezA5iGduSWFMK7gllC6tg7rdvJTOzrW6AG39nGPNsdJO488m1
 TFkaKfu2xwzEPLlIh3aiNcvN+oO3AScfRQMsSsSmBUdSBbG7cQw6pb7ne8qUANIxod0E
 afxajIkiHXAtkIKko19SqEEZsY52aBhGy3a3Dsj0cseZn+IKTRJhBOnqUUhKB7pE+NIM
 sg2+gTKT1YB8uB8hs4pGqcBjkgdypdBSZtSzWNyh6CTzYTUjzflvw+lL/dNWAFkkPRjQ
 337A==
X-Gm-Message-State: APjAAAUkp5ms6CavY/VoONl68jFBtsUcKqdKOVlQ9es2d5hu55lwGr+J
 qXQvoIqR19F67CcbkSVBt/DZ6rP8Hr7BWPkmhI02Sg==
X-Google-Smtp-Source: APXvYqzeOK6luSWlzpY9Vf+pJiFOZhpzcLMnT75cPkAO51UpmftiXt76UQ1TnqOG/oqHXedTXSPYWYDwe+8w9BR1/J4=
X-Received: by 2002:a67:fa95:: with SMTP id f21mr35168923vsq.180.1556621852068; 
 Tue, 30 Apr 2019 03:57:32 -0700 (PDT)
MIME-Version: 1.0
References: <bug-262-3@http.bugs.dpdk.org/>
In-Reply-To: <bug-262-3@http.bugs.dpdk.org/>
From: David Marchand <david.marchand@redhat.com>
Date: Tue, 30 Apr 2019 12:57:21 +0200
Message-ID:
 <CAJFAV8zPBGRiUX+YoDHX3idkFdirRsCCg+_dfntEd9Mbguzaiw@mail.gmail.com>
To: sivaprasad.tummala@intel.com
Cc: dev <dev@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] [Bug 262] Error: Invalid memory for
	eth_virtio_dev_init()
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Message-ID: <20190430105721.YMX4wxGhDCbX4LvrOmwn5nXV8l63Tcqe7I9NSzMRneA@z>

On Tue, Apr 30, 2019 at 12:49 PM <bugzilla@dpdk.org> wrote:

> https://bugs.dpdk.org/show_bug.cgi?id=262
>
>             Bug ID: 262
>            Summary: Error: Invalid memory for eth_virtio_dev_init()
>            Product: DPDK
>            Version: 18.11
>           Hardware: x86
>                 OS: Linux
>             Status: CONFIRMED
>           Severity: normal
>           Priority: Normal
>          Component: vhost/virtio
>           Assignee: dev@dpdk.org
>           Reporter: sivaprasad.tummala@intel.com
>   Target Milestone: ---
>
> Error from EAL: `log_dpdk(): loglevel=4: EAL: Error: Invalid memory`
>
> Occurs: during rte_eal_init for non dpdk virtio interfaces
>
> Reason: double free for "mac_addrs" from `eth_virtio_dev_init()` and
> `virtio_user_eth_dev_free()/rte_eth_dev_release_port()`
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.


This problem should have been fixed in master with commit
https://git.dpdk.org/dpdk/commit/?id=7dee8c79483e370a346d68060b0b890b273e9a46
.


-- 
David Marchand