From nobody@FreeBSD.org  Tue Aug 10 08:41:51 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2CC151065675
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Aug 2010 08:41:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1C0658FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Aug 2010 08:41:51 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7A8fojv049354
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 10 Aug 2010 08:41:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7A8foA5049353;
	Tue, 10 Aug 2010 08:41:50 GMT
	(envelope-from nobody)
Message-Id: <201008100841.o7A8foA5049353@www.freebsd.org>
Date: Tue, 10 Aug 2010 08:41:50 GMT
From: Alex de Kruijff <freebsd@akruijff.dds.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Samba fails with Asyncronous IO support (AIO_SUPPORT) turned on
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149491
>Category:       ports
>Synopsis:       net/samba33: Samba fails with Asyncronous IO support (AIO_SUPPORT) turned on
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    timur
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 08:50:02 UTC 2010
>Closed-Date:    Fri Mar 18 04:48:35 UTC 2011
>Last-Modified:  Fri Mar 18 04:48:35 UTC 2011
>Originator:     Alex de Kruijff
>Release:        8.0
>Organization:
>Environment:
FreeBSD Server 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

smbd -V gives "Version 3.3.8"

>Description:
Windows XP is no longer able to open any file larger then 16K if Samba is compiled with Asyncronous IO support and aio read size = 16384 is included the share. I didn't test the aio write size.

Possible error messages on Windows include:
- The application failed to initialize properly (0xc0000006). Click on OK to terminate the application.
- \\HOST\path\to\executable is not a valid Win32 application.
- The specified network name is no longer available.
>How-To-Repeat:
Compile samba33 with Asyncronous IO support and put aio read size = 16384. Then copy a file or executable that is larger than 16k on to the disk. Then try to open open or run it.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->timur 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Aug 10 20:38:47 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149491 
State-Changed-From-To: open->feedback 
State-Changed-By: timur 
State-Changed-When: Mon Oct 25 01:35:45 UTC 2010 
State-Changed-Why:  
I've tried to reproduce this problem and manged to get similar result 
when AIO kernel module is not loaded. I.e. small files are downloaded, 
bigger ones make smbd to coe dump. So, can you verify, that you have AIO 
module loaded? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149491 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Mar 18 04:48:33 UTC 2011 
State-Changed-Why:  
samba33 is gone 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149491 
>Unformatted:
