Bug 9986 - Unclean Shutdown of smbd, if accessing a share
Unclean Shutdown of smbd, if accessing a share
Status: RESOLVED INVALID
Product: Samba 4.0
Classification: Unclassified
Component: File services
4.0.6
x64 Linux
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-01 14:13 UTC by ofp_freak
Modified: 2013-07-02 20:33 UTC (History)
1 user (show)

See Also:


Attachments
client log - stacktrace is in here (4.07 KB, text/x-log)
2013-07-01 14:13 UTC, ofp_freak
no flags Details
log with log level 4 (start to crash) (17.61 KB, text/x-log)
2013-07-01 14:13 UTC, ofp_freak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ofp_freak 2013-07-01 14:13:02 UTC
Created attachment 9010 [details]
client log - stacktrace is in here

Hey,

I get a stracktrace and an unclean shutdown of the samba server, if i try to mount/access a share from windows or linux. I played around with security settings user and share and different share options.

I've attached the stacktrace and a full "from-start-to-crash" log of smbd on log level 4.

Configuration is adapted froms smb3 and worked fine with version 3.


I hope you can see something in the trace and the log. If you need more specific information just.

Thank you in regards.
Comment 1 ofp_freak 2013-07-01 14:13:55 UTC
Created attachment 9011 [details]
log with log level 4 (start to crash)
Comment 2 Christian Ambach 2013-07-01 16:36:05 UTC
Seems to be a glibc issue as the assert is coming from inside glibc.

I would suspect that something is wrong in either your /etc/hosts file or the DNS lookup of your hostname.
Comment 3 ofp_freak 2013-07-01 19:24:31 UTC
Thx man, this was completely the right guess.

We forgot to specify the hostname in the /etc/hosts file at the end of the entries.

Should I leave this bug open? Maybe the the server should not crash if this is the case.

Anyway thank you very much for the quick and very precise answer. AWESOME!


Greetz und Danke

Sascha
Comment 4 Christian Ambach 2013-07-02 20:33:36 UTC
Great to hear that this worked out for you.

This needs to be fixed in glibc, we (from Samba) cannot fix it (or prevent the assert).

So please open a bug against glibc with your distribution and I will reject this one.