|Summary:||[abrt] crash in samba-client-0:3.5.2-59.fc13: Process /usr/bin/smbclient was killed by signal 11 (SIGSEGV)|
|Product:||[Fedora] Fedora||Reporter:||Mihai Limbășan <mihai>|
|Component:||samba||Assignee:||Simo Sorce <ssorce>|
|Status:||CLOSED ERRATA||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||13||CC:||awilliam, dchris, drewskiwooskie, gdeschner, ghostwik, jlayton, mihai, pahan, ssorce|
|Fixed In Version:||samba-3.5.2-60.fc13||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2010-05-04 06:06:55 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:|
Description Mihai Limbășan 2010-04-27 18:57:19 UTC
abrt 1.0.9 detected a crash. architecture: i686 Attached file: backtrace cmdline: smbclient //172.22.22.2/pub component: samba executable: /usr/bin/smbclient global_uuid: 23395f82c1b6ad8928eddd4863f5c45d36782de6 kernel: 184.108.40.206-57.fc13.i686.PAE package: samba-client-0:3.5.2-59.fc13 rating: 4 reason: Process /usr/bin/smbclient was killed by signal 11 (SIGSEGV) release: Fedora release 13 (Goddard) comment ----- The crash is reliably triggered when trying (by any means and/or abstraction levels, thus indicating a libsmbclient bug) to access a SMB share on a server that has share-level security enabled, i.e. security=share in the [global] section of smb.conf. 172.22.22.2 is the local machine, incidentally, but the crash occurs when trying to access any other machine that is similarly configured. Accessing this or other machines using share-level security works flawlessly from Fedora 11, Fedora 12, CentOS 5.x, RHEL 5.x, and Microsoft OSes. From what I can see, bugs 573438, 581954, 583516 describe the same situation. Opening a new bug since all the others were on the x86_64 arch, and this one has a complete debuginfo backtrace. How to reproduce ----- 1. smbclient //172.22.22.2/pub 2. Crash.
Comment 1 Mihai Limbășan 2010-04-27 18:57:21 UTC
Created attachment 409552 [details] File: backtrace
Comment 2 Mihai Limbășan 2010-04-27 19:08:52 UTC
As far as I can tell, this looks like Samba bug #7250 (see https://bugzilla.samba.org/show_bug.cgi?id=7250 ). That bug suggests that the patch at http://gitweb.samba.org/?p=samba.git;a=commitdiff;h=34f0cff0664f1c160ee7442461e9f875e8d8f4dc;hp=dc689827114c46b3ca2a75082421dc2d98001ce7 fixes the issue.
Comment 3 Mihai Limbășan 2010-04-30 13:20:13 UTC
I can confirm that the upstream patch fixes the issue. I've rebuilt the samba packages locally including that patch and smbclient, as well as everything else linking against the SMB client libraries, works fine. I've attached the upstream patch and the diff for the specfile I used below.
Comment 4 Mihai Limbășan 2010-04-30 13:21:33 UTC
Created attachment 410413 [details] Patch to fix the SIGSEGV issue.
Comment 5 Mihai Limbășan 2010-04-30 13:22:01 UTC
Created attachment 410414 [details] Specfile changes
Comment 6 Mihai Limbășan 2010-04-30 13:29:55 UTC
Erroneously saved the upstream patch as samba-3.2.5* instead of samba-3.5.2*. Oops. Obviously, it should be named according to the 3.5.2 release.
Comment 7 Adam Williamson 2010-04-30 19:22:47 UTC
*** Bug 573438 has been marked as a duplicate of this bug. ***
Comment 8 Adam Williamson 2010-04-30 19:23:13 UTC
*** Bug 581954 has been marked as a duplicate of this bug. ***
Comment 9 Adam Williamson 2010-04-30 19:23:37 UTC
*** Bug 583516 has been marked as a duplicate of this bug. ***
Comment 10 Adam Williamson 2010-04-30 19:29:38 UTC
This bug was discussed at the 2010/04/30 blocker review meeting. Although it's a serious issue, we agreed it's not a blocker as it can be properly fixed by an update. However, it seems the fix is already known, and we would happily take the fix into the final release if it is ready in time. Can Simo, jlayton or gdeschner please apply the fix and submit a new build as an update ASAP? We're working to a target date of 2010/05/04 to start building the RCs, so we really need the package to be available by then to get it in for final release. Thanks! -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Comment 11 Mihai Limbășan 2010-04-30 20:34:01 UTC
Thanks, Adam. I did a bit of soul-searching on whether to add it to F13Blocker or F13Target and finally decided on F13Blocker mostly due to potential PR issues for new users. Obviously it's no longer an issue at this end once a fix was found (I can live with local packages just fine) and I'd rather not see the likelihood of a release slip increased. I'll see it in an update then :)
Comment 12 Fedora Update System 2010-05-01 19:41:38 UTC
samba-3.5.2-60.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/samba-3.5.2-60.fc13
Comment 13 Simo Sorce 2010-05-01 19:45:43 UTC
I built a package with the patch. And I pushed it directly to stable in bodhi. Adam can you check it gets included in F13 ?
Comment 14 Mihai Limbășan 2010-05-02 07:50:00 UTC
Thanks, Simo, reconfirmed it fixes the issue and doesn't wreak any havoc. will you or Adam be closing the bug as fixed, or should I?
Comment 15 Fedora Update System 2010-05-04 06:06:50 UTC
samba-3.5.2-60.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
Comment 16 Pavel Alexeev 2010-05-04 07:50:04 UTC
I also affected by this problem. And I do not see such update in Fedora 13 updates (nor in testing http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/13/i386/ nor in stable http://download.fedora.redhat.com/pub/fedora/linux/updates/13/i386/). Have it pushed? Or I search in wrong place (yum also do not found it automatically)?
Comment 17 Pavel Alexeev 2010-05-04 07:55:41 UTC
Look also here - http://download.fedora.redhat.com/pub/fedora/linux/development/13/i386/os/Packages/ . In rawhide ( http://download.fedora.redhat.com/pub/fedora/linux/development/rawhide/i386/os/Packages/ ) even older version - samba-3.5.0-55rc3.fc14
Comment 18 Mihai Limbășan 2010-05-04 09:49:58 UTC
Pavel, it takes time for the mirrors to sync. A bit of patience would be in order. If you really, really, really must have the new packages *right now*, you can always click on Simo's Koji link, https://admin.fedoraproject.org/updates/samba-3.5.2-60.fc13 , and install the packages manually. but I recommend a bit of patience.
Comment 19 Pavel Alexeev 2010-05-04 10:58:00 UTC
Thank you. I test it and it seams fix it bug.
Comment 20 Mihai Limbășan 2010-05-21 09:55:50 UTC
The patch is already provided by upstream (Samba 3.5.3). Updating to the -61 packages (currently in updates-testing) should also do the trick.