From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 19:07:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D21C152C for ; Mon, 23 Feb 2015 19:07:49 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F03AEB8 for ; Mon, 23 Feb 2015 19:07:49 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id hn18so20850440igb.2 for ; Mon, 23 Feb 2015 11:07:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZHF1eTURa/bSelv5dYYXbYI5zYgSQj/MJ991FHGXgs8=; b=YtzMZITjZeu84G/5vRsjTZLQfQt5qqfJrLlBQ33P+rIj51E+xnlM0Jr8iwQTfmUl+0 PgQsy0/O79vZTMOw1kS2osGajeCRiSHIewmuHdWJ3+xOt2E9leCP9xrMTPOofqoojBdh 3KskL9geBjZzo9GeAWzpO+T1NuQpPdk4CWhliPjFvAd4ZFuVHWRptQJm2bfaMT9neZrY EoCwaMdluKUyDDOTKBCiAl95rqFknCNaEMvxkwqvBjo0jG1CEYFh162BaCiMutwjlzF4 IwPx4f8CIinrQpFaeU+WIJnWwQSiESaGQBiH6dW4FAGnA6nsa312FtOl9E7s3NBUIQF/ sRQQ== X-Received: by 10.107.32.14 with SMTP id g14mr16359155iog.3.1424718468934; Mon, 23 Feb 2015 11:07:48 -0800 (PST) Received: from localhost.localdomain ([73.3.70.211]) by mx.google.com with ESMTPSA id d6sm11986882ioe.44.2015.02.23.11.07.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 11:07:47 -0800 (PST) Message-ID: <54EB7A76.1070009@gmail.com> Date: Mon, 23 Feb 2015 12:07:34 -0700 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: FreeBSD Users Subject: Re: why would I get a segmentation fault on one system but not the other? References: <20150221224006.GA5501@home.parts-unknown.org> <09da5ec0816e098badc49432c802dc18@sdf.org> <390c4c0547fc27e91d28872d29aa2e04@sdf.org> <20150222091956.fd1ec914.freebsd@edvax.de> <20150222104425.GA44573@home.parts-unknown.org> <54EA04D2.6090208@gmail.com> <20150222210451.GA74450@home.parts-unknown.org> <54EA4625.4070608@gmail.com> <20150223033144.GA99783@home.parts-unknown.org> In-Reply-To: <20150223033144.GA99783@home.parts-unknown.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 19:07:49 -0000 On 02/22/2015 08:31 PM, David Benfell wrote: > On Sun, Feb 22, 2015 at 02:12:05PM -0700, jd1008 wrote: >> The only thing left for me to guess at is >> that you might possibly have hard disk errors >> either at the spots (sectors) where the binary lives >> or at the spots in the swap partition where the data >> and stack pages of the application get paged out to. >> Do you have any errors logged in messages (kernel logs)?? >> > Just found this and checked. No, nothing of the sort is logged. Just > to be sure, I did a copy from the library that seems problematic to > /dev/null and checked /var/log/messages again. Still nothing. > > I don't quite understand how to interpret all of the following, but it > says no errors: > > vegan# smartctl -a /dev/ada0 > smartctl 6.3 2014-07-26 r3976 [FreeBSD 10.1-STABLE amd64] (local > build) > Copyright (C) 2002-14, Bruce Allen, Christian Franke, > www.smartmontools.org > > === START OF INFORMATION SECTION === > Model Family: Toshiba 3.5" HDD DT01ACA... > Device Model: TOSHIBA DT01ACA300 > Serial Number: X4ENH8BGS > LU WWN Device Id: 5 000039 ff4e57fc0 > Firmware Version: MX6OABB0 > User Capacity: 3,000,592,982,016 bytes [3.00 TB] > Sector Sizes: 512 bytes logical, 4096 bytes physical > Rotation Rate: 7200 rpm > Form Factor: 3.5 inches > Device is: In smartctl database [for details use: -P show] > ATA Version is: ATA8-ACS T13/1699-D revision 4 > SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s) > Local Time is: Sun Feb 22 19:29:57 2015 PST > SMART support is: Available - device has SMART capability. > SMART support is: Enabled > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > > General SMART Values: > Offline data collection status: (0x80) Offline data collection > activity > was never started. > Auto Offline Data Collection: > Enabled. > Self-test execution status: ( 0) The previous self-test routine > completed > without error or no self-test > has ever > been run. > Total time to complete Offline > data collection: (22078) seconds. > Offline data collection > capabilities: (0x5b) SMART execute Offline > immediate. > Auto Offline data collection > on/off support. > Suspend Offline collection > upon new > command. > Offline surface scan > supported. > Self-test supported. > No Conveyance Self-test > supported. > Selective Self-test supported. > SMART capabilities: (0x0003) Saves SMART data before > entering > power-saving mode. > Supports SMART auto save > timer. > Error logging capability: (0x01) Error logging supported. > General Purpose Logging > supported. > Short self-test routine > recommended polling time: ( 1) minutes. > Extended self-test routine > recommended polling time: ( 368) minutes. > SCT capabilities: (0x003d) SCT Status supported. > SCT Error Recovery Control > supported. > SCT Feature Control supported. > SCT Data Table supported. > > SMART Attributes Data Structure revision number: 16 > Vendor Specific SMART Attributes with Thresholds: > ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE > UPDATED WHEN_FAILED RAW_VALUE > 1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail > Always - 0 > 2 Throughput_Performance 0x0005 139 139 054 Pre-fail > Offline - 71 > 3 Spin_Up_Time 0x0007 100 100 024 Pre-fail > Always - 389 > 4 Start_Stop_Count 0x0012 100 100 000 Old_age > Always - 8 > 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail > Always - 0 > 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail > Always - 0 > 8 Seek_Time_Performance 0x0005 124 124 020 Pre-fail > Offline - 33 > 9 Power_On_Hours 0x0012 100 100 000 Old_age > Always - 100 > 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail > Always - 0 > 12 Power_Cycle_Count 0x0032 100 100 000 Old_age > Always - 8 > 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age > Always - 9 > 193 Load_Cycle_Count 0x0012 100 100 000 Old_age > Always - 9 > 194 Temperature_Celsius 0x0002 214 214 000 Old_age > Always - 28 (Min/Max 20/31) > 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age > Always - 0 > 197 Current_Pending_Sector 0x0022 100 100 000 Old_age > Always - 0 > 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age > Offline - 0 > 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age > Always - 0 > > SMART Error Log Version: 1 > No Errors Logged > > SMART Self-test log structure revision number 1 > No self-tests have been logged. [To run self-tests, use: smartctl -t] > > SMART Selective self-test log data structure revision number 1 > SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS > 1 0 0 Not_testing > 2 0 0 Not_testing > 3 0 0 Not_testing > 4 0 0 Not_testing > 5 0 0 Not_testing > Selective self-test flags (0x0): > After scanning selected spans, do NOT read-scan remainder of disk. > If Selective self-test is pending on power-up, resume after 0 minute > delay. > > Thanks! > OK, so how old is the hard drive? I have issues with smartctl labeling drives as being in prefail condition. I have heard from HD experts that smartctl cannot be relied upon in making such a judgement. Regards, JD