[smartmontools-support] smartd Segmentation fault: 11 with Apple Silicon based Mac

Christian Franke Christian.Franke at t-online.de
Wed Nov 20 15:48:18 CET 2024


Hi,

桃源老師 wrote:
> Hello,
>
> I've got smartd Segmentation fault: 11 with Apple Silicon based Mac.  First of all, I don't have any problem with Intel based Mac.  The version of smartmontools on Intel based Mac is 7.4.  However, with Apple Silicon based Mac, I've got Segmentation fault: 11.  It occurs exactly after 30 minutes from smartd launch.  I mean that smartd would be shut down by Operating System 30 minutes after launch.  Yes, the 30 minutes might be mean that smartd's periodic check timing of disks/ssd.  I have tested pre-compiled 7.4, 7.5-5637, source tar ball of 7.5-5637, but the result was same.

Which info was logged by smartd to syslog before the segfault?

Does the 'smartctl -x /dev/disk0' output show anything special?

Please test whether the segfault could be reproduced in smartd debug 
mode with a short check interval, for example:

   smartd -d -i 10

(stop with SIGQUIT instead of SIGINT).


> Does anyone have any thought regarding this problem?
>
>
>
> Here's log of segmentation fault:
> ...

This needs to be investigated by a macOS expert.

Please provide such outputs as plaintext attachments in future submissions.

-- 
Regards,
Christian



More information about the Smartmontools-support mailing list