Flexible I/O Tester development
 help / color / mirror / Atom feed
* Re: segmentation fault on power system
@ 2013-10-10  6:30 Saritha Vinod
  2013-10-11 16:28 ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: Saritha Vinod @ 2013-10-10  6:30 UTC (permalink / raw)
  To: fio


Hi Jens,

>> Yes. If we set unlimit core dump, fio will generate a core with
>> backtrace like this one:
>>
>> #0  mfspr (envp=<value optimized out>) at arch/arch-ppc.h:55
>> 55              asm volatile("mfspr %0,%1": "=r" (val) : "K" (reg));
>> Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.107.el6.ppc64 libaio-0.3.107-10.el6.ppc64
>> (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  0x0000000010067294 in main (argc=<value optimized out>, argv=<value
optimized out>,
>>     envp=<value optimized out>) at fio.c:33
>>
>>
>> Apologize for late to reply.

> Alright, I'll have PPC default to the normal clock until we can improve
> and detect this properly.

Is there a new rpm for fio available with this fix?
With fio version fio-2.1.2, I am still getting the core dump.

Thanks,
Saritha


^ permalink raw reply	[flat|nested] 11+ messages in thread
* segmentation fault on power system
@ 2013-07-23 10:13 Han Pingtian
  2013-07-23 10:23 ` Erwan Velu
  0 siblings, 1 reply; 11+ messages in thread
From: Han Pingtian @ 2013-07-23 10:13 UTC (permalink / raw)
  To: fio

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!


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-10-11 16:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10  6:30 segmentation fault on power system Saritha Vinod
2013-10-11 16:28 ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2013-07-23 10:13 Han Pingtian
2013-07-23 10:23 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox