[Samba] Samba panic in encoding

Juer Lee juer.lee at raidtec.ie
Tue Dec 9 08:54:03 GMT 2003


Urgent help is needed ..

I just upgraded Samba2.2.8a to Samba3.0.1rc1, but the fold I created before
on a share can not be accessed anymore. Say, there is a folder "áéfolder"
 with some German characters ), it can be accessed in Samba2.2.8a; but it
can NOT be accessed in Samba3.0.1rc1, it says 'The folder was moved or
removed" on a Win2k client. I understand the reason should be Samba3.0.1rc1
is using Unicode on wire while the folder name is encoded differently in
Samba2.2.8a. When I checked Samba logs, there is Samba panic says

[2003/12/08 21:33:33, 0] lib/util.c:smb_panic(1399)
  PANIC: internal error
[2003/12/08 21:33:33, 0] lib/util.c:smb_panic(1407)
  BACKTRACE: 18 stack frames:
   #0 smbd(smb_panic+0x182) [0x818af9e]
   #1 smbd [0x817b531]
   #2 smbd [0x817b57e]
   #3 /lib/libc.so.6 [0x402347a8]
   #4 /lib/libc.so.6(__libc_free+0xb0) [0x402828bc]
   #5 smbd [0x80c73a2]
   #6 smbd [0x80c7d03]
   #7 smbd(mangle_map+0x4e) [0x80c6016]
   #8 smbd [0x80a6039]
   #9 smbd [0x80a6dc2]
   #10 smbd(reply_trans2+0x763) [0x80adaab]
   #11 smbd [0x80bf3c9]
   #12 smbd [0x80bf455]
   #13 smbd(process_smb+0x1c5) [0x80bf765]
   #14 smbd(smbd_process+0x13d) [0x80c01d1]
   #15 smbd(main+0x72c) [0x81e8444]
   #16 /lib/libc.so.6(__libc_start_main+0x8e) [0x402221f6]
   #17 smbd(chroot+0x31) [0x8077aa1]

Why did this panic happen? Has anybody found bugs in the code?

Of course, once I renamed that folder using the new name in UTF-8 format, it
can be accessed.

Thanks in advance,

More information about the samba mailing list