Hi,
I posted a similar message a few days ago, but it was formatted with no line
returns, so it may have
been a little bit annoying to read.
Has anyone out there successfully built and used the Samba in Snapgear 3.5? I
am building for an
i386 platform, and the build works fine, but all of the apps (smbd, nmbd,
smbmount) core dump when
they're invoked. I'm wondering if this is a generic problem with Snapgear
3.5, or if it's something
peculiar to i386, or if it's possibly something to do with the way I've set up
my rootfs (are there any
run-time dependencies in the rootfs other than smb.conf? I wasn't under the
impression that there were).
Any comments from anyone who's tried Samba in SG3.5 would be much appreciated.
Below is the output of the invocation with debug level 9, followed by a stack
trace of the core dump:
Thanks,
--Dave
# /bin/smbd -i
smbd version 3.0.13 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
INFO: Current debug levels:
all: True/9
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 guest account = root
doing parameter map to guest = bad user
doing parameter security = share
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter interfaces = eth0
Processing section "[public]"
add_a_service: Creating snum = 0 for public
doing parameter path = /disk2
doing parameter comment = Some random files
doing parameter public = yes
doing parameter writable = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
add_a_service: Creating snum = 1 for IPC$
adding IPC service
add_a_service: Creating snum = 2 for ADMIN$
adding IPC service
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
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
===============================================================
INTERNAL ERROR: Signal 11 in pid 25636 (3.0.13)
Please read the appendix Bugs of the Samba HOWTO collection
===============================================================
PANIC: internal error
Aborted
# ulimit -c unlimited
# /bin/smbd -i
smbd version 3.0.13 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
INFO: Current debug levels:
all: True/9
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 guest account = root
doing parameter map to guest = bad user
doing parameter security = share
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter interfaces = eth0
Processing section "[public]"
add_a_service: Creating snum = 0 for public
doing parameter path = /disk2
doing parameter comment = Some random files
doing parameter public = yes
doing parameter writable = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
add_a_service: Creating snum = 1 for IPC$
adding IPC service
add_a_service: Creating snum = 2 for ADMIN$
adding IPC service
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
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
===============================================================
INTERNAL ERROR: Signal 11 in pid 25639 (3.0.13)
Please read the appendix Bugs of the Samba HOWTO collection
===============================================================
PANIC: internal error
Aborted (core dumped)
# ls -ltr
drwxrwxr-x 7 500 500 4096 Feb 11 06:10 var
drwxrwxr-x 2 500 500 4096 Feb 11 06:10 tmp
drwxrwxr-x 5 500 500 4096 Feb 11 06:10 satsuma
drwxrwxr-x 2 500 500 4096 Feb 11 06:10 proc
drwxrwxr-x 2 500 500 4096 Feb 11 06:10 mnt
-rwxr-xr-x 1 500 500 1191 Feb 11 06:10 linuxrc
drwxrwxr-x 3 500 500 4096 Feb 11 06:10 home
drwxrwxr-x 2 500 500 4096 Feb 11 06:10 dev
drwxrwxr-x 6 500 500 4096 Feb 11 06:10 etc
drwxr-xr-x 3 500 500 4096 Feb 11 06:10 lib
drwxrwxr-x 5 500 500 4096 Feb 11 06:10 usr
drwxrwxr-x 2 500 500 4096 Feb 11 06:10 sbin
drwxrwxr-x 2 500 500 4096 Feb 11 06:10 bin
-rw------- 1 root root 602112 Feb 11 06:20 core.25639
# gdb
dlopen failed on 'libthread_db.so.1' - File not found
GDB will not be able to debug pthreads.
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux".
(gdb) file /bin/smbd
Reading symbols from /bin/smbd...done.
(gdb) target core core.
Display all 8944 possibilities? (y or n)
(gdb) target core core.25639
Core was generated by `/bin/smbd -i'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libcrypt.so.0...done.
Loaded symbols for /lib/libcrypt.so.0
Reading symbols from /lib/libdl.so.0...done.
Loaded symbols for /lib/libdl.so.0
Reading symbols from /lib/libc.so.0...done.
Loaded symbols for /lib/libc.so.0
Reading symbols from /lib/ld-uClibc-0.9.27.so...done.
Loaded symbols for /lib/ld-uClibc-0.9.27.so
#0 0xb7f8bb30 in kill () from /lib/libc.so.0
(gdb) bt
#0 0xb7f8bb30 in kill () from /lib/libc.so.0
#1 0xb7f857fe in raise () from /lib/libc.so.0
#2 0xb7f870eb in abort () from /lib/libc.so.0
#3 0x08132422 in smb_panic2 (why=Could not find the frame base for
"smb_panic2".
) at ../lib/util.c:1561
#4 0x08132432 in smb_panic (why=0x81e711a "internal error") at
../lib/util.c:1445
#5 0x0812296c in sig_fault (sig=11) at ../lib/fault.c:41
#6 0xb7f85818 in raise () from /lib/libc.so.0
#7 0x08144d06 in charset_CP850_init () at ../modules/CP850.c:121
#8 0x0813c168 in smb_iconv_open (tocode=0x81e6a30 "UTF-16LE",
fromcode=0x81ef4ce "ASCII") at ../lib/iconv.c:125
#9 0x081200d9 in init_iconv () at ../lib/charcnv.c:128
#10 0x0811ed95 in lp_load (pszFname=0x820f140 "/etc/config/smb.conf",
global_only=0, save_defaults=0, add_ipc=1) at ../param/loadparm.c:3964
#11 0x08115853 in reload_services (test=0) at ../smbd/server.c:524
#12 0x081166bf in main (argc=Cannot access memory at address 0x6
) at ../smbd/server.c:816
(gdb)
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev