The Samba-Bugzilla – Attachment 14264 Details for
Bug 13465
testparm crashes with PANIC: messaging not initialized on SLES 12 SP3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
testparm_dbg_output
testparm_dbg_output.txt (text/plain), 13.48 KB, created by
fettfoen
on 2018-06-29 05:55:47 UTC
(
hide
)
Description:
testparm_dbg_output
Filename:
MIME Type:
Creator:
fettfoen
Created:
2018-06-29 05:55:47 UTC
Size:
13.48 KB
patch
obsolete
>root@ctdb1:~# gdb -args testparm >GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git >Copyright (C) 2018 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "x86_64-linux-gnu". >Type "show configuration" for configuration details. >For bug reporting instructions, please see: ><http://www.gnu.org/software/gdb/bugs/>. >Find the GDB manual and other documentation resources online at: ><http://www.gnu.org/software/gdb/documentation/>. >For help, type "help". >Type "apropos word" to search for commands related to "word"... >Reading symbols from testparm...done. >(gdb) run >Starting program: /usr/local/samba/bin/testparm >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >Load smb config files from /usr/local/samba/etc/smb.conf >rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) >smb_panic_default: PANIC (pid 21630): messaging not initialized > >BACKTRACE: 28 stack frames: > #0 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0x1f) [0x7ffff72ac5db] > #1 /usr/local/samba/lib/libsamba-util.so.0(+0x2236a) [0x7ffff72ac36a] > #2 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0) [0x7ffff72ac5bc] > #3 /usr/local/samba/lib/private/libsamba-cluster-support-samba4.so(messaging_ctdb_connection+0x1f) [0x7ffff400a11c] > #4 /usr/local/samba/lib/libsmbconf.so.0(db_open+0x2a6) [0x7ffff775f752] > #5 /usr/local/samba/lib/libsmbconf.so.0(regdb_init+0xdd) [0x7ffff773afb2] > #6 /usr/local/samba/lib/libsmbconf.so.0(registry_init_common+0xd) [0x7ffff773f937] > #7 /usr/local/samba/lib/libsmbconf.so.0(registry_init_smbconf+0xd0) [0x7ffff7780294] > #8 /usr/local/samba/lib/libsmbconf.so.0(+0x6ac0d) [0x7ffff777ec0d] > #9 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init_internal+0x81) [0x7ffff77827e6] > #10 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init_reg+0x2f) [0x7ffff777f9c9] > #11 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init+0x116) [0x7ffff777d9e4] > #12 /usr/local/samba/lib/libsmbconf.so.0(+0x36b11) [0x7ffff774ab11] > #13 /usr/local/samba/lib/libsmbconf.so.0(process_registry_service+0x29) [0x7ffff774ad1c] > #14 /usr/local/samba/lib/libsmbconf.so.0(+0x36f0d) [0x7ffff774af0d] > #15 /usr/local/samba/lib/libsmbconf.so.0(lp_include+0xdc) [0x7ffff774b5de] > #16 /usr/local/samba/lib/libsamba-hostconfig.so.0(handle_include+0x43) [0x7ffff6249fda] > #17 /usr/local/samba/lib/libsamba-hostconfig.so.0(+0x19816) [0x7ffff624b816] > #18 /usr/local/samba/lib/libsamba-hostconfig.so.0(lpcfg_do_global_parameter+0x1d7) [0x7ffff624bbcd] > #19 /usr/local/samba/lib/libsmbconf.so.0(+0x383e3) [0x7ffff774c3e3] > #20 /usr/local/samba/lib/libsamba-util.so.0(+0x3013e) [0x7ffff72ba13e] > #21 /usr/local/samba/lib/libsamba-util.so.0(tini_parse+0xcf) [0x7ffff72ba20f] > #22 /usr/local/samba/lib/libsamba-util.so.0(pm_process+0x5d) [0x7ffff72b2386] > #23 /usr/local/samba/lib/libsmbconf.so.0(+0x3b980) [0x7ffff774f980] > #24 /usr/local/samba/lib/libsmbconf.so.0(lp_load_with_registry_shares+0x39) [0x7ffff774ff27] > #25 /usr/local/samba/bin/testparm(main+0x3b3) [0x555555558201] > #26 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7ffff668ab97] > #27 /usr/local/samba/bin/testparm(_start+0x2a) [0x5555555567aa] > >Program received signal SIGABRT, Aborted. >__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 >51 ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden. >(gdb) bt full >#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 > set = {__val = {0, 0, 0, 0, 0, 0, 0, 93824994563088, 0, 0, 0, 0, 140737345091410, 140737344942002, 140737344960823, 140737345225364}} > pid = <optimized out> > tid = <optimized out> > ret = <optimized out> >#1 0x00007ffff66a9801 in __GI_abort () at abort.c:79 > save_stage = 1 > act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 140737345091410, 140737344942002, 140737344960823, 140737345225364, 140737345219597, 140737345234918, 140737345223113, 140737345214948, 140737345006353, 140737345006876, > 140737345007373, 140737345009118, 140737322983386, 140737322989590, 140737322990541}}, sa_flags = 0, sa_restorer = 0x0} > sigs = {__val = {32, 0 <repeats 15 times>}} > __cnt = <optimized out> > __set = <optimized out> > __cnt = <optimized out> > __set = <optimized out> >#2 0x00007ffff72ac57e in smb_panic_default (why=0x7ffff4013003 "messaging not initialized\n") at ../lib/util/fault.c:160 > __func__ = "smb_panic_default" > __FUNCTION__ = "smb_panic_default" >#3 0x00007ffff72ac5bc in smb_panic (why=0x7ffff4013003 "messaging not initialized\n") at ../lib/util/fault.c:173 >No locals. >#4 0x00007ffff400a11c in messaging_ctdb_connection () at ../source3/lib/messages_ctdb.c:274 >No locals. >#5 0x00007ffff775f752 in db_open (mem_ctx=0x0, name=0x55555578ccd0 "/usr/local/samba/var/locks/registry.tdb", hash_size=0, tdb_flags=128, open_flags=2, mode=384, lock_order=DBWRAP_LOCK_ORDER_1, dbwrap_flags=0) at ../source3/lib/dbwrap/dbwrap_open.c:151 > msg_ctx = 0x7fffffffdcc0 > conn = 0x55555578ccd0 > partname = 0x55555578cceb "registry.tdb" > result = 0x0 > sockname = 0x7ffff4010500 "/usr/local/samba/var/run/ctdb/ctdbd.socket" > __FUNCTION__ = "db_open" > __func__ = "db_open" >#6 0x00007ffff773afb2 in regdb_init () at ../source3/registry/reg_backend_db.c:741 > vers_id = 32767 > werr = {w = 1433979968} > status = {v = 21845} > db_path = 0x55555578ccd0 "/usr/local/samba/var/locks/registry.tdb" > __FUNCTION__ = "regdb_init" >#7 0x00007ffff773f937 in registry_init_common () at ../source3/registry/reg_init_basic.c:33 > werr = {w = 21845} > __FUNCTION__ = "registry_init_common" >#8 0x00007ffff7780294 in registry_init_smbconf (keyname=0x7ffff77998f1 "HKLM\\SOFTWARE\\Samba\\smbconf") at ../source3/registry/reg_init_smbconf.c:49 > werr = {w = 21845} > __FUNCTION__ = "registry_init_smbconf" >#9 0x00007ffff777ec0d in smbconf_reg_init (ctx=0x55555578cab0, path=0x7ffff77998f1 "HKLM\\SOFTWARE\\Samba\\smbconf") at ../source3/lib/smbconf/smbconf_reg.c:606 > werr = {w = 0} > err = 21845 > token = 0x55555578cc40 > __FUNCTION__ = "smbconf_reg_init" >#10 0x00007ffff77827e6 in smbconf_init_internal (mem_ctx=0x0, conf_ctx=0x7ffff79b00d0 <conf_ctx>, path=0x0, ops=0x7ffff79af4c0 <smbconf_ops_reg>) at ../lib/smbconf/smbconf_util.c:59 > err = SBC_ERR_OK > ctx = 0x55555578cab0 >#11 0x00007ffff777f9c9 in smbconf_init_reg (mem_ctx=0x0, conf_ctx=0x7ffff79b00d0 <conf_ctx>, path=0x0) at ../source3/lib/smbconf/smbconf_reg.c:1216 >No locals. >#12 0x00007ffff777d9e4 in smbconf_init (mem_ctx=0x0, conf_ctx=0x7ffff79b00d0 <conf_ctx>, source=0x7ffff7788e19 "registry:") at ../source3/lib/smbconf/smbconf_init.c:72 > err = 21845 > backend = 0x55555577a3d0 "registry" > path = 0x0 > sep = 0x55555577a3d8 "" > tmp_ctx = 0x55555578ca40 >#13 0x00007ffff774ab11 in lp_smbconf_ctx () at ../source3/param/loadparm.c:2098 > err = 32767 > conf_ctx = 0x0 > __FUNCTION__ = "lp_smbconf_ctx" >#14 0x00007ffff774ad1c in process_registry_service (service_name=0x7ffff7788dbe "global") at ../source3/param/loadparm.c:2154 > err = 32767 > service = 0x0 > mem_ctx = 0x55555578b0a0 > conf_ctx = 0x55555577c540 > ret = 247 > __FUNCTION__ = "process_registry_service" >#15 0x00007ffff774af0d in process_registry_globals () at ../source3/param/loadparm.c:2215 > ret = true >#16 0x00007ffff774b5de in lp_include (lp_ctx=0x55555577ac20, service=0x0, pszParmValue=0x55555577c1c9 "registry", ptr=0x7ffff79afee0 <sDefault+224>) at ../source3/param/loadparm.c:2430 > ret = false > fname = 0x55555577c1cd "stry" > __FUNCTION__ = "lp_include" >#17 0x00007ffff6249fda in handle_include (lp_ctx=0x55555577ac20, service=0x0, pszParmValue=0x55555577c1c9 "registry", ptr=0x7ffff79afee0 <sDefault+224>) at ../lib/param/loadparm.c:1166 > fname = 0x3f60d01 <error: Cannot access memory at address 0x3f60d01> > substitution_variable_substring = 0x5af1a9a7 <error: Cannot access memory at address 0x5af1a9a7> > next_char = 0 '\000' > __FUNCTION__ = "handle_include" >---Type <return> to continue, or q <return> to quit--- >#18 0x00007ffff624b816 in set_variable (mem_ctx=0x55555577d490, service=0x0, parmnum=168, parm_ptr=0x7ffff79afee0 <sDefault+224>, pszParmName=0x55555577c1c0 "include", pszParmValue=0x55555577c1c9 "registry", lp_ctx=0x55555577ac20, on_globals=true) > at ../lib/param/loadparm.c:1776 > i = 32767 > ok = 246 >#19 0x00007ffff624bbcd in lpcfg_do_global_parameter (lp_ctx=0x55555577ac20, pszParmName=0x55555577c1c0 "include", pszParmValue=0x55555577c1c9 "registry") at ../lib/param/loadparm.c:1828 > parmnum = 168 > parm_ptr = 0x7ffff79afee0 <sDefault+224> > __FUNCTION__ = "lpcfg_do_global_parameter" >#20 0x00007ffff774c3e3 in do_parameter (pszParmName=0x55555577c1c0 "include", pszParmValue=0x55555577c1c9 "registry", userdata=0x55555577ac20) at ../source3/param/loadparm.c:2712 >No locals. >#21 0x00007ffff72ba13e in parse_param (buf=0x55555577c1c0 "include", allow_empty_value=false, pfunc=0x7ffff774c351 <do_parameter>, private_data=0x55555577ac20) at ../lib/util/tini.c:264 > equals = 0x55555577c1c8 "" > name = 0x55555577c1c0 "include" > value = 0x55555577c1c9 "registry" > len = 7 > no_value = false >#22 0x00007ffff72ba20f in tini_parse (f=0x55555578b580, allow_empty_value=false, sfunc=0x7ffff774c55b <lp_do_section>, pfunc=0x7ffff774c351 <do_parameter>, private_data=0x55555577ac20) at ../lib/util/tini.c:309 > ret = 0 > ok = true > buf = 0x55555577c1c0 "include" > buflen = 256 >#23 0x00007ffff72b2386 in pm_process (filename=0x55555578b3a0 "/usr/local/samba/etc/smb.conf", sfunc=0x7ffff774c55b <lp_do_section>, pfunc=0x7ffff774c351 <do_parameter>, private_data=0x55555577ac20) at ../lib/util/params.c:99 > f = 0x55555578b580 > ret = false >#24 0x00007ffff774f980 in lp_load_ex (pszFname=0x7ffff72fe18b "/usr/local/samba/etc/smb.conf", global_only=false, save_defaults=true, add_ipc=false, reinit_globals=false, allow_include_registry=true, load_all_shares=true) at ../source3/param/loadparm.c:3906 > n2 = 0x55555578b3a0 "/usr/local/samba/etc/smb.conf" > bRetval = false > frame = 0x555555779360 > lp_ctx = 0x55555577ac20 > __FUNCTION__ = "lp_load_ex" >#25 0x00007ffff774ff27 in lp_load_with_registry_shares (pszFname=0x7ffff72fe18b "/usr/local/samba/etc/smb.conf") at ../source3/param/loadparm.c:4115 >No locals. >#26 0x0000555555558201 in main (argc=1, argv=0x7fffffffe558) at ../source3/utils/testparm.c:703 > config_file = 0x7ffff72fe18b "/usr/local/samba/etc/smb.conf" > s = 0 > silent_mode = 0 > show_all_parameters = 0 > ret = 0 > pc = 0x55555577d070 > parameter_name = 0x0 > section_name = 0x0 > cname = 0x0 > caddr = 0x0 > show_defaults = 0 > skip_logic_checks = 0 > long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7ffff6c65160 <poptHelpOptions>, val = 0, descrip = 0x555555559dc3 "Help options:", argDescrip = 0x0}, {longName = 0x555555559dd1 "suppress-prompt", shortName = 115 's', argInfo = 7, > arg = 0x55555575b01c <silent_mode>, val = 1, descrip = 0x555555559de1 "Suppress prompt for enter", argDescrip = 0x0}, {longName = 0x555555559dfb "verbose", shortName = 118 'v', argInfo = 0, arg = 0x55555575b020 <show_defaults>, val = 1, > descrip = 0x555555559e03 "Show default options too", argDescrip = 0x0}, {longName = 0x555555559e1c "skip-logic-checks", shortName = 108 'l', argInfo = 0, arg = 0x55555575b024 <skip_logic_checks>, val = 1, descrip = 0x555555559e2e "Skip the global checks", > argDescrip = 0x0}, {longName = 0x555555559e45 "show-all-parameters", shortName = 0 '\000', argInfo = 7, arg = 0x55555575b028 <show_all_parameters>, val = 1, descrip = 0x555555559e60 "Show the parameters, type, possible values", argDescrip = 0x0}, { > longName = 0x555555559e8b "parameter-name", shortName = 0 '\000', argInfo = 1, arg = 0x55555575b030 <parameter_name>, val = 0, descrip = 0x555555559ea0 "Limit testparm to a named parameter", argDescrip = 0x0}, {longName = 0x555555559ec4 "section-name", > shortName = 0 '\000', argInfo = 1, arg = 0x55555575b038 <section_name>, val = 0, descrip = 0x555555559ed8 "Limit testparm to a named section", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7ffff7bb5340 <popt_common_version>, > val = 0, descrip = 0x555555559efa "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7ffff7bb53e0 <popt_common_debuglevel>, val = 0, descrip = 0x555555559f10 "Common samba debugging:", argDescrip = 0x0}, { > longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7ffff7bb5480 <popt_common_option>, val = 0, descrip = 0x555555559f28 "Common samba commandline config:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, > descrip = 0x0, argDescrip = 0x0}} > frame = 0x5555557793d0 >(gdb) exit >Undefined command: "exit". Try "help". >(gdb)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13465
:
14224
| 14264 |
14281
|
14511
|
14512
|
14513