lkml.org 
[lkml]   [2014]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [block:for-3.14/core] kernel BUG at fs/bio.c:1748
    From
    On Wed, Jan 8, 2014 at 12:16 PM, Chris Mason <clm@fb.com> wrote:
    > On Wed, 2014-01-08 at 11:54 -0800, Muthu Kumar wrote:
    >> Chris,
    >>
    >> [ 8.336061] WARNING: CPU: 0 PID: 0 at fs/bio.c:1778 bio_endio+0xbe/0x100()
    >> [ 8.336062] bio_endio: bio for (unknown) without endio
    >>
    >> This is my recent change to avoid memory leak in bio_endio. But I
    >> think the problem is higher up, most likely bio_endio is called twice
    >> on the same bio (which was freed before).
    >>
    >
    > I think these are just two separate problems. Lets ignore the WARN_ON
    > for now.
    >

    Not really... the BUG that is triggered:

    kernel BUG at fs/bio.c:523!

    It is in bio_put() (added to bio_endio() as part of recent change)
    which gets an already freed bio.

    >> Are you running the unmodified for-3.14/core or do you have local patches?
    >>
    >
    > It's for-3.14/core with my btrfs branch. Basically rc7 instead of rc6
    > but no changes to the block layer. I hadn't mounted btrfs yet.
    >
    > -chris
    >


    \
     
     \ /
      Last update: 2014-01-08 22:21    [W:2.395 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site