From: Han Pingtian <hanpt@linux.vnet.ibm.com>
To: fio@vger.kernel.org
Subject: segmentation fault on power system
Date: Tue, 23 Jul 2013 18:13:59 +0800 [thread overview]
Message-ID: <20130723101359.GC2152@localhost.localdomain> (raw)
Hey there,
When trying to run fio on one of our power system, segmentation fault
occured and I got two core file. This is the backtraces:
Core was generated by `./fio/fio fio-jobs/randomw.fio '.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000010062aac in init_disk_util (td=0xfff8ad00000) at diskutil.c:481
481 if (!td->o.do_disk_util ||
(gdb) bt
#0 0x0000000010062aac in init_disk_util (td=0xfff8ad00000) at diskutil.c:481
#1 0x0000000010050f30 in run_threads () at backend.c:1691
#2 0x000000001005179c in fio_backend () at backend.c:1911
#3 0x0000000010066bc4 in main (argc=<value optimized out>, argv=0xfffd33602d8, envp=<value optimized out>)
at fio.c:50
(gdb) p td->io_ops
$1 = (struct ioengine_ops *) 0x0
(gdb) p td
$2 = (struct thread_data *) 0xfff8ad00000
(gdb) p threads->io_ops
$3 = (struct ioengine_ops *) 0x100349126c0
(gdb)
Core was generated by `./fio/fio fio-jobs/randomw.fio '.
Program terminated with signal 4, Illegal instruction.
#0 mfspr (envp=<value optimized out>) at arch/arch-ppc.h:55
55 asm volatile("mfspr %0,%1": "=r" (val) : "K" (reg));
(gdb) bt
#0 mfspr (envp=<value optimized out>) at arch/arch-ppc.h:55
#1 get_cpu_clock (envp=<value optimized out>) at arch/arch-ppc.h:71
#2 atb_child (envp=<value optimized out>) at arch/arch-ppc.h:88
#3 atb_clocktest (envp=<value optimized out>) at arch/arch-ppc.h:98
#4 arch_init (envp=<value optimized out>) at arch/arch-ppc.h:116
#5 initialize_fio (envp=<value optimized out>) at libfio.c:248
#6 0x0000000010066b44 in main (argc=<value optimized out>, argv=<value optimized out>,
envp=<value optimized out>) at fio.c:33
(gdb)
This is the job file:
[sequential-read]
rw=read
ioengine=libaio
direct=0
iodepth=4
size=${SIZE}
numjobs=${NUMJOBS}
; -- end job file --
Please have a look. Thanks in advance!
next reply other threads:[~2013-07-23 10:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-23 10:13 Han Pingtian [this message]
2013-07-23 10:23 ` segmentation fault on power system Erwan Velu
2013-07-23 15:15 ` Jens Axboe
2013-07-24 2:10 ` Han Pingtian
2013-07-24 6:21 ` Han Pingtian
2013-07-25 14:34 ` Jens Axboe
2013-08-09 8:39 ` Han Pingtian
2013-08-09 15:02 ` Jens Axboe
2013-07-24 1:40 ` Han Pingtian
-- strict thread matches above, loose matches on Subject: below --
2013-10-10 6:30 Saritha Vinod
2013-10-11 16:28 ` Jens Axboe
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=20130723101359.GC2152@localhost.localdomain \
--to=hanpt@linux.vnet.ibm.com \
--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