From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Date: Mon, 29 Oct 2007 19:47:52 +0000 Subject: Re: blktrace segfault. Message-Id: <20071029194750.GB7499@kernel.dk> List-Id: References: <4724673E.1090404@linux.vnet.ibm.com> In-Reply-To: <4724673E.1090404@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-btrace@vger.kernel.org On Sun, Oct 28 2007, Aneesh Kumar K.V wrote: > Core was generated by `blktrace -d /dev/hdc'. > Program terminated with signal 11, Segmentation fault. > #0 0xb7e4cdec in ?? () > (gdb) where > #0 0xb7e4cdec in ?? () > #1 0xb7dbf000 in ?? () > #2 0x00021000 in ?? () > #3 0xb7dee6e8 in ?? () > #4 0x0804ecf0 in ?? () > #5 0x00000001 in ?? () > #6 0x6c616367 in ?? () > #7 0xbfee3f68 in ?? () > #8 0xb7f51300 in ?? () > #9 0x00000168 in ?? () > #10 0x0804ecf0 in ?? () > #11 0x00000001 in ?? () > #12 0xbfee3f88 in ?? () > #13 0xbfee3f68 in ?? () > #14 0x080499dc in close_thread (tip=0xb7f1eff4) at blktrace.c:637 > Backtrace stopped: frame did not save the PC > (gdb) > > > the below diff fix the same. Thanks, applied! -- Jens Axboe