samba weirdness

Graham Allan ALLAN at mnhep1.hep.umn.edu
Wed Mar 10 17:55:44 GMT 1999


>When saving files, photoshop saves to a temporary file called ~tmp123.tmp.
>When complete, the file is renamed to the given name. Quite often the
>file save fails with two dialog boxes that say:
>
>    "The system was attempting to transfre data from buffers to
>    \Zircon\CQC1\zzolly_tests\~tmp123.tmp. The write operation failed,
>    and only some of the data may have been written to the file"

Well, it's not just you, and it's not just Photoshop, although I only
seem to get the first of the two messages. I have Samba 2.0.2 running
from inetd on Digital UNIX 4.0D, compiled with DEC C, and get similar
errors from my NT4sp4 client. I don't know what triggers the error, as I
have obtained it when saving Word files, when Netscape saves its
bookmarks on exit, and possibly other times (though certainly not
consistently). I wonder if the "deadtime" timeout affects it? I have
raised it but it always happens so infrequently that I can't be sure if
it has changed anything (it does still occur though).

smbd does produce a core file; running dbx on it shows:

(dbx) tstack

Thread 0x3:
>  0 __kill(0x3ff800df210, 0x3ffc0085c98, 0x0, 0x0, 0x3ff80177488) [0x3ff800ea6c8]
   1 (unknown)() [0x3ff8019e770]
   2 __tis_raise(0x3ff80177488, 0x140046258, 0x3ff801147cc, 0x6, 0x3ff80160aec) [0x3ff801147c8]
   3 raise(0x3ff801147cc, 0x6, 0x3ff80160aec, 0x11ffff790, 0x3ff801774b4) [0x3ff80160ae8]
   4 abort(0x1200f237c, 0x140046258, 0x0, 0x0, 0xffffffff00000000) [0x3ff801774b0]
   5 smb_panic(0xffffffff00000000, 0x100000, 0x1200da2d4, 0x1400314e8, 0x1) [0x1200f2378]
   6 (unknown)() [0x1200da2d0]
   7 (unknown)() [0x1200da374]
   8 vfprintf(0x1200d9d44, 0x1400418e8, 0x11ffff790, 0x100000008, 0x1400418e8) [0x3ff8014cba4]
   9 Debug1(0x1400418e8, 0x140030c28, 0x3ff, 0x1, 0xa) [0x1200d9d40]
  10 (unknown)() [0x1200d9dc4]
  11 (unknown)() [0x1200d9ef0]
  12 dbgtext(0x14002c250, 0xffffffffc8508119, 0x3ff800ccdf0, 0x0, 0x0) [0x1200da0d8]
  13 (unknown)() [0x1200c903c]
  14 del_share_mode(0xc850811900000001, 0x16b58, 0x10048, 0x639d, 0x120062b70) [0x1200c7f40]
  15 close_file(0x14006d001, 0x100000000, 0x14006d001, 0x639dc8508119, 0x100000000) [0x120062b6c]
  16 reply_close(0x0, 0x14000cee0, 0x0, 0x100000027, 0x0) [0x12004a7c4]
  17 (unknown)() [0x120065610]
  18 (unknown)() [0x120065744]
  19 process_smb(0x14003d340, 0xffff, 0x14003a7a0, 0x2e0000002a, 0x0) [0x120065a14]
  20 smbd_process(0x8b, 0x1, 0x1400004b8, 0x7372006e696d002f, 0x1) [0x120066b8c]
  21 main(0x2, 0x140000800, 0x140007540, 0x140000e20, 0x3) [0x12001c4bc]

which looks very similar to your backtrace. Nothing interesting in the
logfiles, though I only have "debug level = 1". I haven't tried Samba
2.0.3 yet.

I don't know if this report adds any useful information. Maybe someone
will suggest how best to investigate further!

Graham Allan
Physics, University of Minnesota


More information about the samba mailing list