Learn more about these different git repos.
Other Git URLs
sssd crashes with the below backtrace.
Core was generated by `/usr/sbin/sssd -D -f'. Program terminated with signal 11, Segmentation fault.
2896 if (chunk_is_mmapped(p)) / release mmapped memory. /
Thread 1 (Thread 0xb6ea16c0 (LWP 9632)):
ar_ptr = <optimized out> p = <optimized out> hook = 0x0
No symbol table info available.
No locals.
tmp_ctx = 0xb7ffbca0 ret = 5 sret = <optimized out> version = <optimized out> timestr = "1368783035\000\000\000\240\201\377\267\000\000\000" lasttimestr = 0x0 in_transaction = <optimized out> config_ldif = 0x0 vals = {0xbf94d9c7 "1368783035", 0x0} ldif = <optimized out> init_data = 0xb7ffbcd8 __FUNCTION__ = "confdb_init_db"
ret = <optimized out> ctx = 0xb7ff8220 cdb_file = 0x0
opt = <optimized out> pc = <optimized out> opt_daemon = 1 opt_interactive = 0 opt_version = 0 opt_config_file = 0x0 config_file = 0xb7ff81d8 "/etc/sssd/sssd.conf" flags = 5 main_ctx = 0x1 tmp_ctx = 0xb7ff81a0 monitor = <optimized out> ret = <optimized out> uid = <optimized out> long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0xb7698120 <poptHelpOptions>, val = 0, descrip = 0xb77ce655 "Help options:", argDescrip = 0x0}, {longName = 0xb77ce663 "debug-level", shortName = 100 'd', argInfo = 2, arg = 0xb7193094 <debug_level>, val = 0, descrip = 0xb77ce66f "Debug level", argDescrip = 0x0}, {longName = 0xb77cddf6 "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0xb7193090 <debug_to_file>, val = 0, descrip = 0xb77cf680 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0xb77ce67b "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0xb719307c <debug_timestamps>, val = 0, descrip = 0xb77ce68c "Add debug timestamps", argDescrip = 0x0}, {longName = 0xb77ce6a1 "debug-microseconds", shortName = 0 '\000', argInfo = 2, arg = 0xb7193078 <debug_microseconds>, val = 0, descrip = 0xb77cf6b4 "Show timestamps with microseconds", argDescrip = 0x0}, {longName = 0xb77ce6b4 "daemon", shortNa!
me = 68 'D', argInfo = 0, arg = 0xbf94da38, val = 0, descrip = 0xb77ce6bb "Become a daemon (default)", argDescrip = 0x0}, {longName = 0xb77ce6d5 "interactive", shortName = 105 'i', argInfo = 0, arg = 0xbf94da3c, val = 0, descrip = 0xb77cf6d8 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0xb77d0667 "config", shortName = 99 'c', argInfo = 1, arg = 0xbf94da44, val = 0, descrip = 0xb77cf6f8 "Specify a non-default config file", argDescrip = 0x0}, {longName = 0xb77d0659 "version", shortName = 0 '\000', argInfo = 0, arg = 0xbf94da40, val = 0, descrip = 0xb77ce6e1 "Print version number and exit", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} FUNCTION = "main"
I suspect inserting {{{ init_data->sssd_config = NULL; }}} into sss_ini.c would solve the issue
ini_config_get_errors(init_data->sssd_config, &init_data->error_list); sss_ini_config_print_errors(init_data->error_list); ini_config_free_errors(init_data->error_list); } ini_config_destroy(init_data->sssd_config); init_data->sssd_config = NULL; <================ return ret; }
line 243-244
Ondra, you know the code, can you please take a look?
owner: somebody => okos
Dmitri is right, setting the NULL fixes the issue. I'll go through the code to see if I can spot something similar and send a patch.
status: new => assigned
Fields changed
patch: 0 => 1
milestone: NEEDS_TRIAGE => SSSD 1.10 beta
resolution: => fixed status: assigned => closed
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=966554
rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=966554 966554]
Metadata Update from @kaushikub: - Issue assigned to okos - Issue set to the milestone: SSSD 1.10 beta
SSSD is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in SSSD's github repository.
This issue has been cloned to Github and is available here: - https://github.com/SSSD/sssd/issues/2976
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Login to comment on this ticket.