PANIC: failed to create UCS2 buffer

TAKAHASHI Motonobu monyo at home.monyo.com
Fri Jun 27 03:06:40 GMT 2003


Jeff Chua wrote:

|I've got this error in log.nmbd
|
|Samba version is Version 3.0.0beta1
|
|[2003/06/27 09:49:17, 0] lib/iconv.c:utf8_pull(471)
|  short utf8 char
|[2003/06/27 09:49:17, 0] lib/charcnv.c:convert_string_allocate(248)
|  Conversion error: Incomplete multibyte sequence()
|[2003/06/27 09:49:17, 0] lib/util.c:smb_panic(1462)
|  PANIC: failed to create UCS2 buffer
|[2003/06/27 09:49:17, 0] lib/util.c:smb_panic(1469)
|  BACKTRACE: 12 stack frames:
|   #0 nmbd(smb_panic+0x168) [0x80aee14]
|   #1 nmbd(unix_strupper+0x38) [0x809d3c8]
|   #2 nmbd(strupper_m+0xcf) [0x80a8d83]
|   #3 nmbd [0x8063d09]
|   #4 nmbd(find_name_on_subnet+0x1c) [0x8063eb0]
|   #5 nmbd(wins_process_name_refresh_request+0x12c) [0x806e070]
|   #6 nmbd [0x8068f72]
|   #7 nmbd(run_packet_queue+0x56) [0x806919a]
|   #8 nmbd(strftime+0x15c2) [0x805cffa]
|   #9 nmbd(main+0x5f9) [0x805d851]
|   #10 /lib/libc.so.6(__libc_start_main+0xc0) [0x40093b7c]
|   #11 nmbd(yp_get_default_domain+0x59) [0x805c191]

I met (probably) the same problem.

As far as I checked, this problem occurs when you use characters which
are not supported in unix charset in login names or computer names,
because nmbd stores received names 'as is' and tries to strupper them
assuming they were unix charset string.

-----
TAKAHASHI, Motonobu (monyo)                    monyo at home.monyo.com
                                               http://www.monyo.com/




More information about the samba-technical mailing list