Bug 1726 - smbstatus segfault
Summary: smbstatus segfault
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Upgrade (show other bugs)
Version: 3.0.6
Hardware: x86 other
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 10:16 UTC by Tim Boyer
Modified: 2005-08-24 10:25 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 Tim Boyer 2004-09-06 10:16:54 UTC
Upgrading from 2.2.11 to 3.0.6 on dg/ux.  See also Bugzilla 1725 - is this a
problem with charset CP850?

# /other/source/samba-3.0.6/source/bin>./smbstatus
INFO: Current debug levels:
  all: True/10
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
doing parameter syslog = 10
doing parameter log file = /var/log/samba/%m.log
doing parameter time server = Yes
doing parameter deadtime = 15
doing parameter os level = 33
doing parameter preferred master = Yes
doing parameter domain master = Yes
doing parameter wins proxy = Yes
doing parameter wins support = Yes
doing parameter remote announce = 192.168.0.255/WINDOWS
doing parameter hosts allow = 192.168.
Processing section "[printers]"
doing parameter comment = All Printers
doing parameter path = /tmp
doing parameter valid users = cliff angie sherry laptop stacie denmannt
        sharyn scott bill rick lloyd
doing parameter create mask = 0700
doing parameter printable = Yes
doing parameter browseable = No
Processing section "[tmp]"
doing parameter comment = Temporary file space
doing parameter path = /tmp
doing parameter read only = No
doing parameter guest ok = Yes
Processing section "[printouts]"
doing parameter comment = Temporary file space
doing parameter path = /printouts
doing parameter read only = No
doing parameter guest ok = Yes
Processing section "[data]"
doing parameter comment = Data path
doing parameter path = /data
doing parameter valid users = tim cliff laptop denmannt dad tboyer
doing parameter read only = No
Processing section "[sales]"
doing parameter comment = Shared sales file
doing parameter path = /home/sales
doing parameter valid users = tim stacie angie jim sharyn cliff tboyer
doing parameter read only = No
doing parameter create mask = 0666
Processing section "[kronos]"
doing parameter comment = Shared time clock file
doing parameter path = /home/kronos
doing parameter valid users = tim pat lloyd lois scott sherry bill cliff
doing parameter read only = No
doing parameter create mask = 0666
Processing section "[payroll]"
doing parameter comment = Shared payroll file
doing parameter path = /home/payroll
doing parameter valid users = tim lloyd sherry gary scott
doing parameter read only = No
doing parameter create mask = 0666
Processing section "[development]"
doing parameter comment = development file for read/write
doing parameter path = /home/development
doing parameter valid users = tim cliff frank schedule george angie bob danny ti
na
doing parameter write list = tim cliff frank george tina
doing parameter create mask = 0666
Processing section "[lab]"
doing parameter comment = Shared lab file
doing parameter path = /home/lab
doing parameter valid users = tim cliff frank bob george tina
doing parameter read only = No
doing parameter create mask = 0666
doing parameter guest ok = Yes
Processing section "[drawings]"
doing parameter comment = Shared drawing file
doing parameter path = /home/drawings
doing parameter read only = No
doing parameter create mask = 0666
doing parameter guest ok = Yes
Processing section "[iso]"
doing parameter comment = Shared lab file
doing parameter path = /home/tina/WSFILES/ISO9001
doing parameter write list = tim cliff tina
doing parameter create mask = 0666
doing parameter guest ok = Yes
Processing section "[labels]"
doing parameter comment = Shared labels file
doing parameter path = /home/labels
doing parameter write list = tim cliff
doing parameter create mask = 0666
doing parameter guest ok = Yes
Processing section "[mrtg]"
doing parameter comment = MRTG httpd files
doing parameter path = /home/httpd/mrtg
doing parameter valid users = tim
doing parameter read only = No
doing parameter create mask = 0666
Processing section "[plcdata]"
doing parameter comment = plcdata files
doing parameter path = /home/plcdata
doing parameter valid users = plcdata tim
doing parameter read only = No
doing parameter create mask = 0666
Processing section "[voicent]"
doing parameter comment = voicent files
doing parameter path = /home/voicent
doing parameter valid users = voicent tim
doing parameter read only = No
doing parameter create mask = 0666
Processing section "[homes]"
doing parameter comment = Home Directories
doing parameter path = /home/%u
doing parameter valid users = tim cliff angie sherry laptop stacie sharyn denman
nt scott bill lois schedule frank gary tina bob pat lloyd plcdata rickshaw danny
 george jeff electric pms2 ntservice corey voicent sherry1 jim
doing parameter read only = No
doing parameter create mask = 0750
pm_process() returned Yes
set_server_role: role = ROLE_STANDALONE
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Attempting to register new charset CP850
Registered charset CP850
Segmentation fault (core dumped)

dbx gives


# /other/source/samba-3.0.6/source/bin>dbx smbstatus core
Type "help" for a list of commands
ELF corefile process information:
  UID   GID   PID  PPID  PGID   SID     SZ COMMAND
    0     1 13214  2920 13214  2920    154 ./smbstatus
Created on system: dgux dg R4.20MU05 generic AViiON
 
Processing object: /other/source/samba-3.0.6/source/bin/smbstatus
Updating linker symbol table...1455 symbols added. (Total: 1455)
Updating symbolic debugging information...0 modules added. (Total: 0)
Processing object: /usr/dglib/libc.so.1
Updating linker symbol table...1868 symbols added. (Total: 3323)
Updating symbolic debugging information...0 modules added. (Total: 0)
Processing object: /usr/dglib/libresolv.so.1
Updating linker symbol table...41 symbols added. (Total: 3364)
Updating symbolic debugging information...0 modules added. (Total: 0)
Processing object: /usr/dglib/libsocket.so.1
Updating linker symbol table...128 symbols added. (Total: 3492)
Updating symbolic debugging information...0 modules added. (Total: 0)
Processing object: /usr/dglib/libnsl.so.1
Updating linker symbol table...568 symbols added. (Total: 4060)
Updating symbolic debugging information...0 modules added. (Total: 0)
Stopped at pc 0x80873cb (charset_CP850_init+27)
*       0x80873cb charset_CP850_init+27 movl    %eax,(%ebx)
 core-dump-requested
 caught signal 11, SIGSEGV, segmentation violation - attempt to access unmapped
memory (core dumped)
(dbx) where
Frame 0, pc 0x80873cb (charset_CP850_init+27)
Frame 1, pc 0x807c6ba (smb_register_charset+506)
Frame 2, pc 0x807c7de (smb_iconv_open+14)
Frame 3, pc 0x805ac4b (init_iconv+43)
Frame 4, pc 0x80586c9 (lp_load+617)
Frame 5, pc 0x804b388 (main+232)
Frame 6, pc 0x804abb9 (_start+105)
(dbx)
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 21:02:45 UTC
please retest 3.0.11.  Thanks.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:25:27 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.