Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Bruce Cran <bruce@cran.org.uk>, fio@vger.kernel.org
Subject: Re: Plain "./fio" segfaults on FreeBSD
Date: Thu, 26 Feb 2015 15:40:05 -0700	[thread overview]
Message-ID: <54EFA0C5.5030401@kernel.dk> (raw)
In-Reply-To: <54EF9EF8.3030901@kernel.dk>

On 02/26/2015 03:32 PM, Jens Axboe wrote:
> On 02/25/2015 03:50 PM, Bruce Cran wrote:
>> The latest code from git (built using clang) causes a segfault after
>> printing the usage text when "./fio" is run:
>>
>> [New LWP 100111]
>> No jobs(s) defined
>>
>> fio-2.2.5-28-g93eeb
>> [usage text]
>> [New Thread 801c06400 (LWP 100111/fio)]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 801c06400 (LWP 100111/fio)]
>> flist_empty (head=0x802000040) at flist.h:119
>> 119             return head->next == head;
>> Current language:  auto; currently minimal
>> (gdb) p head
>> $1 = (const struct flist_head *) 0x802000040
> 
> I can reproduce this, very strange... I'll debug it.

This should fix it:

http://git.kernel.dk/?p=fio.git;a=commit;h=3d0e3417997d9caa27cf97462e15ba437d285d29

-- 
Jens Axboe



      reply	other threads:[~2015-02-26 22:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 22:50 Plain "./fio" segfaults on FreeBSD Bruce Cran
2015-02-26 22:32 ` Jens Axboe
2015-02-26 22:40   ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54EFA0C5.5030401@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=bruce@cran.org.uk \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox