smbc assert failure: *** buffer overflow detected ***: smbc terminated

Bug #427714 reported by richard
64
This bug affects 6 people
Affects Status Importance Assigned to Milestone
smbc (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: smbc

OS version 9.10a5 up to date according to package mangager
smbc v 1.2.2-3
I did not expect it to crash
and do not know why it did
si here is the report, hopefully is is repeatable
and it can be fixed

ProblemType: Crash
Architecture: i386
AssertionMessage: *** buffer overflow detected ***: smbc terminated
Date: Fri Sep 11 01:01:53 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/smbc
Package: smbc 1.2.2-3
ProcCmdline: smbc
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-10.30-generic
Signal: 6
SourcePackage: smbc
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/libc.so.6
 abort () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 __fortify_fail () from /lib/tls/i686/cmov/libc.so.6
Title: smbc assert failure: *** buffer overflow detected ***: smbc terminated
Uname: Linux 2.6.31-10-generic i686
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
richard (jordan1193r) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:__kernel_vsyscall ()
*__GI_raise (sig=6)
*__GI_abort () at abort.c:92
__libc_message (do_abort=2,
*__GI___fortify_fail (

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in smbc (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Kees Cook (kees)
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in smbc (Ubuntu):
status: New → Confirmed
tags: added: precise
tags: added: amd64 quantal raring
Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :

I used Valgrind to track down and fix some bugs. I bet there's still a ton of bugs left to discover but at least it is possible to browse network shares and copy files now.

I had to create the file ~/.smbc/smbcrc with the option "workgroup WORKGROUP" (see doc) to get smbc to respond to keystrokes other than Ctrl-C.

I also changed the compilation flag from -O3 to -O2 since the former triggers a lot of errors in Valgrind and likely makes smbc more crash prone due to the remaining bugs.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "smbc.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.