From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e39.co.us.ibm.com ([32.97.110.160]:35486 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756093Ab3GWKOF (ORCPT ); Tue, 23 Jul 2013 06:14:05 -0400 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 23 Jul 2013 04:14:05 -0600 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 83A2C6E803A for ; Tue, 23 Jul 2013 06:13:57 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r6NAE2sg34406544 for ; Tue, 23 Jul 2013 06:14:02 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r6NAE2x1011017 for ; Tue, 23 Jul 2013 06:14:02 -0400 Received: from localhost.localdomain ([9.115.120.159]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id r6NAE0Za010954 for ; Tue, 23 Jul 2013 06:14:01 -0400 Date: Tue, 23 Jul 2013 18:13:59 +0800 From: Han Pingtian Subject: segmentation fault on power system Message-ID: <20130723101359.GC2152@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: fio-owner@vger.kernel.org List-Id: fio@vger.kernel.org To: fio@vger.kernel.org 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=, argv=0xfffd33602d8, envp=) 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=) at arch/arch-ppc.h:55 55 asm volatile("mfspr %0,%1": "=r" (val) : "K" (reg)); (gdb) bt #0 mfspr (envp=) at arch/arch-ppc.h:55 #1 get_cpu_clock (envp=) at arch/arch-ppc.h:71 #2 atb_child (envp=) at arch/arch-ppc.h:88 #3 atb_clocktest (envp=) at arch/arch-ppc.h:98 #4 arch_init (envp=) at arch/arch-ppc.h:116 #5 initialize_fio (envp=) at libfio.c:248 #6 0x0000000010066b44 in main (argc=, argv=, envp=) 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!