The samba/bin/profiles binary in Solaris 9 causes Segmentation fault. I've checked all of the other binaries, and the remainder seem to work fine. I compiled all binaries from source using ./configure --with-ldap=no and everything seems to compile fine. I've been running smbd and nmbd and winbindd - Version 3.0.1pre3 I've kept the core file if any are interested. I don't know what other info to provide, but if I've missed anything I can recreate the behavior and am willing to provide further info if needed.
A stack backtrace would be great. If you run 'gdb profiles core', type 'bt full' and post the results in bugzilla we can get going on fixing it.
# gdb profiles core GNU gdb 4.17 Copyright 1998 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 "sparc-sun-solaris2.5.1"...(no debugging symbols found)... Core was generated by `./profiles'. Program terminated with signal 11, Segmentation Fault. Reading symbols from /usr/lib/libsendfile.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libsec.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libgen.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done. Reading symbols from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...(no debugging symbols found)... done. #0 0xff133474 in strlen () (gdb) bt #0 0xff133474 in strlen () #1 0xff185798 in _doprnt () #2 0xff187168 in fprintf () #3 0x11630 in main () (gdb) bt full No symbol table is loaded. Use the "file" command. Let me know what else I can do to assist. This didn't seem to helpful, and I don't have much experience debugging (Sorry). Let me know what other information I can provide or what other commands to execute.
unless someone picks ups active maintanence of the profiles tool, i'm marking this a won't fix since it has been open for 10 months and is trivial to reproduce.
I'm now running 3.0.7, and the bug persists (Still dumps). The gdb core looks as follows: GNU gdb 4.17 Copyright 1998 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 "sparc-sun-solaris2.5.1"...(no debugging symbols found)... Core was generated by `./profiles'. Program terminated with signal 11, Segmentation Fault. Reading symbols from /usr/lib/libsendfile.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libsec.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libgen.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done. Reading symbols from /opt/csw/lib/libiconv.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done. Reading symbols from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...(no debugging symbols found)...done. #0 0xfefb44e8 in strlen () (gdb) quit I'm assuming, that WONTFIX means there should be no further comments here. Cheers Jeff
originally reported against one of the 3.0.0rc[1-4] releases. Cleaning up non-production versions.
reopened so I mark mark as fixed.
fixed for 3.0.12.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.