From: Volker Lendecke on 13 Apr 2010 06:20 On Tue, Apr 13, 2010 at 12:14:47PM +0200, Christophe Deze wrote: > I use samba 3.5.2 > > > I have problem with print$ share. > > When I try to deploy drivers in print$ , with XP wizard. > I get an error > cf screenshot > > > I've put log level 10 > You can see smbd.log in attachement Is it possible that you recompile with debugging symbols (-g, given by ./configure.developer) and/or run smbd under valgrind while this crash happens? Thanks, Volker
From: Christophe Deze on 13 Apr 2010 06:50 I 'm not a valgrind expert. What is the command line to use , in order to generate an interesting report ? thanks Le 13/04/2010 12:17, Volker Lendecke a écrit : > On Tue, Apr 13, 2010 at 12:14:47PM +0200, Christophe Deze wrote: > >> I use samba 3.5.2 >> >> >> I have problem with print$ share. >> >> When I try to deploy drivers in print$ , with XP wizard. >> I get an error >> cf screenshot >> >> >> I've put log level 10 >> You can see smbd.log in attachement >> > Is it possible that you recompile with debugging symbols > (-g, given by ./configure.developer) and/or run smbd under > valgrind while this crash happens? > > Thanks, > > Volker > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Volker Lendecke on 13 Apr 2010 13:40 On Tue, Apr 13, 2010 at 05:26:57PM +0200, Christophe Deze wrote: > here is my valgrind.log > I hope it helps! It does -- a bit: ==32107== Invalid read of size 4 ==32107== at 0x4B86AF9: (within /usr/lib/samba/vfs/scannedonly.so) ==32107== by 0x815234F: smb_vfs_call_open (in /usr/sbin/smbd) ==32107== by 0x8149F56: (within /usr/sbin/smbd) ==32107== by 0x814C059: create_file_default (in /usr/sbin/smbd) ==32107== by 0x8189161: (within /usr/sbin/smbd) ==32107== by 0x81523FE: smb_vfs_call_create_file (in /usr/sbin/smbd) ==32107== by 0x83E165A: (within /usr/sbin/smbd) ==32107== by 0x83E1B7B: clean_up_driver_struct (in /usr/sbin/smbd) ==32107== by 0x82D179D: _spoolss_AddPrinterDriver (in /usr/sbin/smbd) ==32107== by 0x82D1E07: _spoolss_AddPrinterDriverEx (in /usr/sbin/smbd) ==32107== by 0x82E362C: (within /usr/sbin/smbd) ==32107== by 0x83272EA: api_pipe_request (in /usr/sbin/smbd) ==32107== Address 0x18 is not stack'd, malloc'd or (recently) free'd It would be very helpful if you could recompile with -g to get line numbers. From the message we see that apparently some pointer (very likely "fsp") is NULL while scannedonly_open is called. You might want to contact the author of the scannedonly module, Olivier Sessink, directly with this analysis. Either he is listening here on this list, or you can find his email address from the checkin reachable under http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=31e14285 Volker
From: Christophe Deze on 13 Apr 2010 16:50 I 'm tring to compile samba 3.5.2 after a ./configure.developer but unfortunatly root(a)scribe:~/samba-3.5.2/source3# make Using CFLAGS = -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/root/samba-3.5.2/source3 -I/root/samba-3.5.2/source3/../lib/popt -I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/root/samba-3.5.2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lresolv -lresolv -lnsl -ldl LDFLAGS = -pie -Wl,-z,relro -Wl,--as-needed -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname= Compiling libsmb/clispnego.c libsmb/clispnego.c: Dans la fonction «spnego_gen_negTokenTarg» : libsmb/clispnego.c:391: erreur: déclaration implicite de la fonction « «cli_krb5_get_ticket» » The following command failed: gcc -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/root/samba-3.5.2/source3 -I/root/samba-3.5.2/source3/../lib/popt -I/root/samba-3.5.2/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/root/samba-3.5.2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c libsmb/clispnego.c -o libsmb/clispnego.o make: *** [libsmb/clispnego.o] Erreur 1 but i cant install libldap2-dev that seem to be required My server is a ubuntu hardy Le 13/04/2010 19:34, Volker Lendecke a écrit : > On Tue, Apr 13, 2010 at 05:26:57PM +0200, Christophe Deze wrote: > >> here is my valgrind.log >> I hope it helps! >> > It does -- a bit: > > ==32107== Invalid read of size 4 > ==32107== at 0x4B86AF9: (within /usr/lib/samba/vfs/scannedonly..so) > ==32107== by 0x815234F: smb_vfs_call_open (in /usr/sbin/smbd) > ==32107== by 0x8149F56: (within /usr/sbin/smbd) > ==32107== by 0x814C059: create_file_default (in /usr/sbin/smbd) > ==32107== by 0x8189161: (within /usr/sbin/smbd) > ==32107== by 0x81523FE: smb_vfs_call_create_file (in /usr/sbin/smbd) > ==32107== by 0x83E165A: (within /usr/sbin/smbd) > ==32107== by 0x83E1B7B: clean_up_driver_struct (in /usr/sbin/smbd) > ==32107== by 0x82D179D: _spoolss_AddPrinterDriver (in /usr/sbin/smbd) > ==32107== by 0x82D1E07: _spoolss_AddPrinterDriverEx (in /usr/sbin/smbd) > ==32107== by 0x82E362C: (within /usr/sbin/smbd) > ==32107== by 0x83272EA: api_pipe_request (in /usr/sbin/smbd) > ==32107== Address 0x18 is not stack'd, malloc'd or (recently) free'd > > It would be very helpful if you could recompile with -g to > get line numbers. From the message we see that apparently > some pointer (very likely "fsp") is NULL while > scannedonly_open is called. You might want to contact the > author of the scannedonly module, Olivier Sessink, directly > with this analysis. Either he is listening here on this > list, or you can find his email address from the checkin > reachable under > > http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=31e14285 > > Volker > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Christophe Deze on 14 Apr 2010 00:20 Hi here is my valgrind.log I hope it helps! thanks Le 13/04/2010 12:17, Volker Lendecke a �crit : > On Tue, Apr 13, 2010 at 12:14:47PM +0200, Christophe Deze wrote: > >> I use samba 3.5.2 >> >> >> I have problem with print$ share. >> >> When I try to deploy drivers in print$ , with XP wizard. >> I get an error >> cf screenshot >> >> >> I've put log level 10 >> You can see smbd.log in attachement >> > Is it possible that you recompile with debugging symbols > (-g, given by ./configure.developer) and/or run smbd under > valgrind while this crash happens? > > Thanks, > > Volker >
|
Next
|
Last
Pages: 1 2 Prev: Samba and mulitple user connections Next: [Samba] scannedonly smbd crash |