Bug 2119 - Log level & VFS
Log level & VFS
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Config Files
3.0.7
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-03 05:23 UTC by Marek 'marx' Grac
Modified: 2005-08-24 10:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek 'marx' Grac 2004-12-03 05:23:10 UTC
Hi,

I have found this problem when trying to find problem in my VFS module. The
module itself works 'almost' fine but the problem is runnings samba in log level
> 2 then I can't even connect to samba using smbclient and got:
tree connect failed: Call returned zero bytes (EOF)

In the log (when log level=10) part before crash:[2004/12/03 13:21:05, 5]
smbd/uid.c:change_to_user(281)
  change_to_user uid=(13535,13535) gid=(0,10100)
[2004/12/03 13:21:05, 1] smbd/service.c:make_connection_snum(648)
  sol (147.251.50.209) connect to service audit initially as user xgrac
(uid=13535, gid=10100) (pid 1637)
[2004/12/03 13:21:05, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2004/12/03 13:21:05, 0] lib/util.c:smb_panic2(1381)
  PANIC: internal error
[2004/12/03 13:21:05, 0] lib/util.c:smb_panic2(1389)
  BACKTRACE: 22 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81d2f51]
   #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81d2e3a]
   #2 /usr/sbin/smbd [0x81c0928]
   #3 /lib/libc.so.6 [0x401c1678]
   #4 /lib/libc.so.6(malloc+0x93) [0x40208ef3]
   #5 /lib/libc.so.6(vasprintf+0x23) [0x401fef43]
   #6 /usr/sbin/smbd(x_vfprintf+0x22) [0x81c8e02]
   #7 /usr/sbin/smbd(Debug1+0x119) [0x81c0439]
   #8 /usr/sbin/smbd(dbghdr+0x15d) [0x81c077d]
   #9 /usr/sbin/smbd(set_sec_ctx+0x16b) [0x80c3a6b]
   #10 /usr/sbin/smbd(set_root_sec_ctx+0x2a) [0x80c3aca]
   #11 /usr/sbin/smbd(change_to_root_user+0x14) [0x80bb3d4]
   #12 /usr/sbin/smbd [0x80d2aff]
   #13 /usr/sbin/smbd(make_connection+0x12f) [0x80d390f]
   #14 /usr/sbin/smbd(reply_tcon_and_X+0x1ac) [0x809ed2c]
   #15 /usr/sbin/smbd [0x80d04c6]
   #16 /usr/sbin/smbd [0x80d0750]
   #17 /usr/sbin/smbd(process_smb+0x8c) [0x80d095c]
   #18 /usr/sbin/smbd(smbd_process+0x168) [0x80d1678]
   #19 /usr/sbin/smbd(main+0x4dd) [0x8244bdd]
   #20 /lib/libc.so.6(__libc_start_main+0xc6) [0x401addc6]
   #21 /usr/sbin/smbd [0x8078bc1]
Comment 1 Marek 'marx' Grac 2004-12-07 03:03:03 UTC
Upgraded to 3.0.8-2 debian package and it works correctly. 
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:20:46 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.