SMB Segmentation Fault


Recommended Posts

Hi! I've had this problem with my UNRAID server for a while now and I've tried to get help earlier in this post, but nothing has really changed. I've now done a full reinstall of my entire UNRAID server and can still not get the SMB server to work. Attached you have the entire diagnostics, but the part I found interesting is:

Jul 11 08:43:43 KNORRHANE emhttpd: shcmd (12): /etc/rc.d/rc.samba start
Jul 11 08:43:43 KNORRHANE root: Starting Samba:  /usr/sbin/smbd -D
Jul 11 08:43:43 KNORRHANE kernel: traps: smbd[3806] general protection ip:14b9e19d1f94 sp:7ffdead50920 error:0 in ld-2.30.so[14b9e19c6000+20000]
Jul 11 08:43:43 KNORRHANE apcupsd[3795]: apcupsd 3.14.14 (31 May 2016) slackware startup succeeded
Jul 11 08:43:43 KNORRHANE apcupsd[3795]: NIS server startup succeeded
Jul 11 08:43:43 KNORRHANE root: /etc/rc.d/rc.samba: line 12:  3806 Segmentation fault      /usr/sbin/smbd -D
Jul 11 08:43:43 KNORRHANE root:                  /usr/sbin/nmbd -D
Jul 11 08:43:43 KNORRHANE kernel: traps: nmbd[3809] general protection ip:1475f06f7f94 sp:7ffd5b39ffd0 error:0 in ld-2.30.so[1475f06ec000+20000]
Jul 11 08:43:43 KNORRHANE root: /etc/rc.d/rc.samba: line 12:  3809 Segmentation fault      /usr/sbin/nmbd -D
Jul 11 08:43:43 KNORRHANE root:                  /usr/sbin/wsdd 
Jul 11 08:43:43 KNORRHANE kernel: traps: testparm[3812] general protection ip:152259071f94 sp:7ffdb568a340 error:0 in ld-2.30.so[152259066000+20000]
Jul 11 08:43:43 KNORRHANE root: sh: line 1:  3812 Segmentation fault      testparm -s -l --parameter-name="netbios name" 2> /dev/null
Jul 11 08:43:43 KNORRHANE root: sh: line 1:  3814 Segmentation fault      testparm -s -l --parameter-name="workgroup" 2> /dev/null
Jul 11 08:43:43 KNORRHANE kernel: traps: testparm[3814] general protection ip:15260098cf94 sp:7ffc2b21b620 error:0 in ld-2.30.so[152600981000+20000]
Jul 11 08:43:43 KNORRHANE root:                  /usr/sbin/winbindd -D
Jul 11 08:43:43 KNORRHANE wsdd[3816]: Failed to listen to UDP port 3702 for WSDD
Jul 11 08:43:43 KNORRHANE kernel: traps: winbindd[3817] general protection ip:14ce7c00ff94 sp:7ffe841cd2d0 error:0 in ld-2.30.so[14ce7c004000+20000]
Jul 11 08:43:43 KNORRHANE root: /etc/rc.d/rc.samba: line 12:  3817 Segmentation fault      /usr/sbin/winbindd -D
Jul 11 08:43:43 KNORRHANE emhttpd: shcmd (12): exit status: 139

Here I get some kind of a "Segmentation Fault", which from all my googling, still can't understand what it means. What I do know is that because of this Windows 10, Ubuntu and Mac OS X can't see the SMB server. Does anyone have an idea?

750653075_UNRAIDSMBWINDOWSERROR.PNG.1d1469ade4c4102b18352a4ae2e40ae8.PNG

And YES, I've read and followed the Windows issues with unRAID.

knorrhane-diagnostics-20200711-1744.zip

Link to comment
  • 2 weeks later...
2 hours ago, lomi3888 said:

I've got this problem too,don't know how to solve it.

It's so sad that this great OS just can't get something as simple as SMB to work reliably. I still have this problem and I've done everything I could even come up with to find a solution. Currently thinking of just changing OS instead.

Link to comment
Just now, lomi3888 said:

Man,I think this is a windows bug,nothing to do with this systen,try something else to connect SMB,my linux(Ubuntu)works totally fine.

Yeah, no. It's a problem with Unraid. Nothing can connect. Not Windows, Mac or Linux and according to the SMB service it self in Unraid, it won't start. So, no, it's not Windows.

Link to comment
26 minutes ago, bonienl said:

It looks like the smbd executable is damaged upon first reading.

 

You can try to reformat your USB stick and re-install Unraid on it.

 

I've done that multiple times.

 

42 minutes ago, johnnie.black said:

This is a very strange issue, there are errors even during boot, before any plugins are loaded, if you can disable that NIC and try an ad-don one, you can also try latest beta which is currently more verbose with SMB errors.

I did install the latest beta, but with no luck.

 

One thing I did get to work is installing a Samba docker, but even that crashed when I loaded all my thousands of thousands of files on it. And to be clear, when I've tried to get Unraids SMB I didn't use all my files directly, just after getting the Samba docker to work. So the cause is not my amount of files.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.