Package: cfengine3 Version: 3.0.5+dfsg-1 Severity: serious Hi!
cf-agent segfaults here, attached is a backtrace Regards Christoph -- System Information: Debian Release: 6.0.5 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cfengine3 depends on: ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii libdb4.8 4.8.30-2 Berkeley v4.8 Database Libraries [ ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi ii libssl0.9.8 0.9.8o-4squeeze13 SSL shared libraries cfengine3 recommends no packages. cfengine3 suggests no packages. -- Configuration Files: /etc/default/cfengine3 changed: RUN_CFMONITORD=0 RUN_CFSERVERD=0 RUN_CFEXECD=1 CFMONITORD_OPTS="" CFSERVERD_OPTS="" CFEXECD_OPTS="" -- no debconf information
# gdb cf-agent GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/sbin/cf-agent...Reading symbols from /usr/lib/debug/usr/sbin/cf-agent...done. (no debugging symbols found)...done. (gdb) run Starting program: /usr/sbin/cf-agent [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31 31 ../sysdeps/x86_64/multiarch/../strlen.S: Datei oder Verzeichnis nicht gefunden. in ../sysdeps/x86_64/multiarch/../strlen.S Current language: auto The current source language is "auto; currently asm". (gdb) bt full #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31 No locals. #1 0x0000000000415e8c in DeleteDB (dbp=0x828900, key=0x0) at dbm_api.c:249 No locals. #2 0x0000000000454a34 in RemoveLock (name=0x0) at transaction.c:580 dbp = 0x828900 #3 0x00000000004550ed in YieldCurrentLock (this=...) at transaction.c:268 No locals. #4 0x000000000040c5b8 in VerifyPackagesPromise (pp=0x76e680) at verify_packages.c:78 a = {output = {level = 0x0, promiser_type = 0x0}, select = {name = 0x0, path = 0x0, perms = 0x0, bsdflags = 0x0, owners = 0x0, groups = 0x0, max_size = 0, min_size = 0, max_ctime = 0, min_ctime = 0, max_mtime = 0, min_mtime = 0, max_atime = 0, min_atime = 0, exec_regex = 0x0, exec_program = 0x0, filetypes = 0x0, issymlinkto = 0x0, result = 0x0}, perms = {plus = 0, minus = 0, owners = 0x0, groups = 0x0, findertype = 0x0, plus_flags = 0, minus_flags = 0, rxdirs = 0}, copy = {source = 0x0, destination = 0x0, compare = cfa_atime, link_type = cfa_symlink, servers = 0x0, link_instead = 0x0, copy_links = 0x0, backup = cfa_backup, stealth = 0, preserve = 0, collapse = 0, check_root = 0, type_check = 0, force_update = 0, force_ipv4 = 0, min_size = 0, max_size = 0, trustkey = 0, encrypt = 0, verify = 0, purge = 0, portnumber = 0}, delete = {dirlinks = cfa_linkdelete, rmdirs = 0}, rename = {newname = 0x0, disable_suffix = 0x0, disable = 0, rotate = 0, plus = 0, minus = 0}, change = {hash = cf_md5, report_changes = cfa_noreport, report_diffs = 0, update = 0}, link = {source = 0x0, link_type = cfa_symlink, copy_patterns = 0x0, when_no_file = cfa_force, when_linking_children = cfa_override, link_children = 0}, edits = { backup = cfa_backup, empty_before_use = 0, maxfilesize = 0, joinlines = 0}, packages = {package_policy = cfa_addpack, have_package_methods = 0, package_version = 0x0, package_architectures = 0x0, package_select = cfa_cmp_none, package_changes = cfa_bulk, package_file_repositories = 0x0, package_list_command = 0x76e970 "/usr/bin/dpkg -l", package_list_version_regex = 0x76eab0 "ii\\s+[^\\s]+\\s+([^\\s]+).*", package_list_name_regex = 0x76ea10 "ii\\s+([^\\s]+).*", package_list_arch_regex = 0x0, package_patch_list_command = 0x0, package_patch_version_regex = 0x0, package_patch_name_regex = 0x0, package_patch_arch_regex = 0x0, package_patch_installed_regex = 0x0, package_list_update_command = 0x76ee30 "/usr/bin/aptitude update", package_list_update_ifelapsed = 240, package_version_regex = 0x0, package_name_regex = 0x0, package_arch_regex = 0x0, package_installed_regex = 0x76eb70 ".*", package_add_command = 0x76ed80 "/usr/bin/aptitude --assume-yes install", package_delete_command = 0x76eef0 "/usr/bin/aptitude --assume-yes remove", package_update_command = 0x827740 "/usr/bin/aptitude --assume-yes install", package_patch_command = 0x0, package_verify_command = 0x8277f0 "/usr/bin/aptitude show", package_noverify_regex = 0x827890 "(State: not installed|E: Unable to locate package .*)", package_name_convention = 0x76ec30 "$(name)", package_delete_convention = 0x0, package_multiline_start = 0x0, package_noverify_returncode = -678}, context = {expression = 0x0, broken = 0}, measure = {stream_type = 0x0, data_type = cf_str, history_type = 0x0, select_line_matching = 0x0, select_line_number = 0, extraction_regex = 0x0, units = 0x0, growing = 0}, acl = {acl_method = cfacl_append, acl_type = cfacl_generic, acl_directory_inherit = cfacl_nochange, acl_entries = 0x0, acl_inherit_entries = 0x0}, database = {db_server_owner = 0x0, db_server_password = 0x0, db_server_host = 0x0, db_connect_db = 0x0, db_server_type = cfd_mysql, server = 0x0, type = 0x0, operation = 0x0, columns = 0x0, rows = 0x0, exclude = 0x0}, service = {service_depend = 0x0, service_type = 0x0, service_args = 0x0, service_policy = cfsrv_start, service_autostart_policy = 0x0, service_depend_chain = 0x0}, env = {cpus = 0, memory = 0, disk = 0, baseline = 0x0, specfile = 0x0, addresses = 0x0, name = 0x0, host = 0x0, type = 0x0, state = cfvs_create}, transformer = 0x0, pathtype = 0x0, repository = 0x0, touch = 0, create = 0, move_obstructions = 0, recursion = {travlinks = 0, rmdeadlinks = 0, depth = 0, xdev = 0, include_basedir = 0, include_dirs = 0x0, exclude_dirs = 0x0}, transaction = { action = cfa_fix, ifelapsed = 15, expireafter = 1, background = 0, log_string = 0x0, log_kept = 0x0, log_repaired = 0x0, log_failed = 0x0, log_priority = 3, measure_id = 0x0, value_kept = 1, value_notkept = -1, value_repaired = 0.5, audit = 0, report_level = cf_noreport, log_level = cf_noreport}, classes = {change = 0x0, failure = 0x0, denied = 0x0, timeout = 0x0, kept = 0x0, interrupt = 0x0, persist = 0, timer = cfreset, del_change = 0x0, del_kept = 0x0, del_notkept = 0x0}, contain = {useshell = 0, umask = 0, owner = 0, group = 0, chdir = 0x0, chroot = 0x0, preview = 0, nooutput = 0, timeout = 0}, args = 0x0, module = 0, signals = 0x0, process_stop = 0x0, restart_class = 0x0, process_count = {min_range = 0, max_range = 0, in_range_define = 0x0, out_of_range_define = 0x0}, process_select = {owner = 0x0, min_pid = 0, max_pid = 0, min_ppid = 0, max_ppid = 0, min_pgid = 0, max_pgid = 0, min_rsize = 0, max_rsize = 0, min_vsize = 0, max_vsize = 0, min_ttime = 0, max_ttime = 0, min_stime = 0, max_stime = 0, min_pri = 0, max_pri = 0, min_thread = 0, max_thread = 0, status = 0x0, command = 0x0, tty = 0x0, process_result = 0x0}, report = {haveprintfile = 0, havelastseen = 0, lastseen = 0, intermittency = 0, friend_pattern = 0x0, filename = 0x0, to_file = 0x0, numlines = 0, showstate = 0x0}, mount = {mount_type = 0x0, mount_source = 0x0, mount_server = 0x0, mount_options = 0x0, editfstab = 0, unmount = 0}, volume = {check_foreign = 0, freespace = 0, sensible_size = 0, sensible_count = 0, scan_arrivals = 0}, tcpip = { ipv4_address = 0x0, ipv4_netmask = 0x0}, havedepthsearch = 0, haveselect = 0, haverename = 0, havedelete = 0, haveperms = 0, havechange = 0, havecopy = 0, havelink = 0, haveeditline = 0, haveeditxml = 0, haveedit = 0, havecontain = 0, haveclasses = 0, havetrans = 0, haveprocess_count = 0, havemount = 0, havevolume = 0, havebundle = 0, havetcpip = 0, havepackages = 0, region = {select_start = 0x0, select_end = 0x0, include_start = 0, include_end = 0}, location = {line_matching = 0x0, before_after = cfe_before, first_last = 0x0}, column = { column_separator = 0x0, select_column = 0, value_separator = 0 '\000', column_value = 0x0, column_operation = 0x0, extend_columns = 0, blanks_ok = 0}, replace = {replace_value = 0x0, occurrences = 0x0}, haveregion = 0, havelocation = 0, havecolumn = 0, havereplace = 0, haveinsertselect = 0, havedeleteselect = 0, line_select = {startwith_from_list = 0x0, not_startwith_from_list = 0x0, match_from_list = 0x0, not_match_from_list = 0x0, contains_from_list = 0x0, not_contains_from_list = 0x0}, sourcetype = 0x0, expandvars = 0, not_matching = 0, insert_match = 0x0, fwd_name = 0x0, bwd_name = 0x0, associates = 0x0, represents = 0x0, rep_type = 0x0, path_root = 0x0, web_root = 0x0} al = {output = {level = 0x0, promiser_type = 0x0}, select = {name = 0x0, path = 0x0, perms = 0x0, bsdflags = 0x0, owners = 0x0, groups = 0x0, max_size = 0, min_size = 0, max_ctime = 0, min_ctime = 0, max_mtime = 0, min_mtime = 0, max_atime = 0, min_atime = 0, exec_regex = 0x0, exec_program = 0x0, filetypes = 0x0, issymlinkto = 0x0, result = 0x0}, perms = {plus = 0, minus = 0, owners = 0x0, groups = 0x0, findertype = 0x0, plus_flags = 0, minus_flags = 0, rxdirs = 0}, copy = {source = 0x0, destination = 0x0, compare = cfa_atime, link_type = cfa_symlink, servers = 0x0, link_instead = 0x0, copy_links = 0x0, backup = cfa_backup, stealth = 0, preserve = 0, collapse = 0, check_root = 0, type_check = 0, force_update = 0, force_ipv4 = 0, min_size = 0, max_size = 0, trustkey = 0, encrypt = 0, verify = 0, purge = 0, portnumber = 0}, delete = {dirlinks = cfa_linkdelete, rmdirs = 0}, rename = {newname = 0x0, disable_suffix = 0x0, disable = 0, rotate = 0, plus = 0, minus = 0}, change = {hash = cf_md5, report_changes = cfa_noreport, report_diffs = 0, update = 0}, link = {source = 0x0, link_type = cfa_symlink, copy_patterns = 0x0, when_no_file = cfa_force, when_linking_children = cfa_override, link_children = 0}, edits = { backup = cfa_backup, empty_before_use = 0, maxfilesize = 0, joinlines = 0}, packages = {package_policy = cfa_addpack, have_package_methods = 0, package_version = 0x0, package_architectures = 0x0, package_select = cfa_cmp_none, package_changes = cfa_bulk, package_file_repositories = 0x0, package_list_command = 0x76e970 "/usr/bin/dpkg -l", package_list_version_regex = 0x76eab0 "ii\\s+[^\\s]+\\s+([^\\s]+).*", package_list_name_regex = 0x76ea10 "ii\\s+([^\\s]+).*", package_list_arch_regex = 0x0, package_patch_list_command = 0x0, package_patch_version_regex = 0x0, package_patch_name_regex = 0x0, package_patch_arch_regex = 0x0, package_patch_installed_regex = 0x0, package_list_update_command = 0x76ee30 "/usr/bin/aptitude update", package_list_update_ifelapsed = 240, package_version_regex = 0x0, package_name_regex = 0x0, package_arch_regex = 0x0, package_installed_regex = 0x76eb70 ".*", package_add_command = 0x76ed80 "/usr/bin/aptitude --assume-yes install", package_delete_command = 0x76eef0 "/usr/bin/aptitude --assume-yes remove", package_update_command = 0x827740 "/usr/bin/aptitude --assume-yes install", package_patch_command = 0x0, package_verify_command = 0x8277f0 "/usr/bin/aptitude show", package_noverify_regex = 0x827890 "(State: not installed|E: Unable to locate package .*)", package_name_convention = 0x76ec30 "$(name)", package_delete_convention = 0x0, package_multiline_start = 0x0, package_noverify_returncode = -678}, context = {expression = 0x0, broken = 0}, ---Type <return> to continue, or q <return> to quit--- measure = {stream_type = 0x0, data_type = cf_str, history_type = 0x0, select_line_matching = 0x0, select_line_number = 0, extraction_regex = 0x0, units = 0x0, growing = 0}, acl = {acl_method = cfacl_append, acl_type = cfacl_generic, acl_directory_inherit = cfacl_nochange, acl_entries = 0x0, acl_inherit_entries = 0x0}, database = {db_server_owner = 0x0, db_server_password = 0x0, db_server_host = 0x0, db_connect_db = 0x0, db_server_type = cfd_mysql, server = 0x0, type = 0x0, operation = 0x0, columns = 0x0, rows = 0x0, exclude = 0x0}, service = {service_depend = 0x0, service_type = 0x0, service_args = 0x0, service_policy = cfsrv_start, service_autostart_policy = 0x0, service_depend_chain = 0x0}, env = {cpus = 0, memory = 0, disk = 0, baseline = 0x0, specfile = 0x0, addresses = 0x0, name = 0x0, host = 0x0, type = 0x0, state = cfvs_create}, transformer = 0x0, pathtype = 0x0, repository = 0x0, touch = 0, create = 0, move_obstructions = 0, recursion = {travlinks = 0, rmdeadlinks = 0, depth = 0, xdev = 0, include_basedir = 0, include_dirs = 0x0, exclude_dirs = 0x0}, transaction = { action = cfa_fix, ifelapsed = 240, expireafter = 1, background = 0, log_string = 0x0, log_kept = 0x0, log_repaired = 0x0, log_failed = 0x0, log_priority = 3, measure_id = 0x0, value_kept = 1, value_notkept = -1, value_repaired = 0.5, audit = 0, report_level = cf_noreport, log_level = cf_noreport}, classes = {change = 0x0, failure = 0x0, denied = 0x0, timeout = 0x0, kept = 0x0, interrupt = 0x0, persist = 0, timer = cfreset, del_change = 0x0, del_kept = 0x0, del_notkept = 0x0}, contain = {useshell = 0, umask = 0, owner = 0, group = 0, chdir = 0x0, chroot = 0x0, preview = 0, nooutput = 0, timeout = 0}, args = 0x0, module = 0, signals = 0x0, process_stop = 0x0, restart_class = 0x0, process_count = {min_range = 0, max_range = 0, in_range_define = 0x0, out_of_range_define = 0x0}, process_select = {owner = 0x0, min_pid = 0, max_pid = 0, min_ppid = 0, max_ppid = 0, min_pgid = 0, max_pgid = 0, min_rsize = 0, max_rsize = 0, min_vsize = 0, max_vsize = 0, min_ttime = 0, max_ttime = 0, min_stime = 0, max_stime = 0, min_pri = 0, max_pri = 0, min_thread = 0, max_thread = 0, status = 0x0, command = 0x0, tty = 0x0, process_result = 0x0}, report = {haveprintfile = 0, havelastseen = 0, lastseen = 0, intermittency = 0, friend_pattern = 0x0, filename = 0x0, to_file = 0x0, numlines = 0, showstate = 0x0}, mount = {mount_type = 0x0, mount_source = 0x0, mount_server = 0x0, mount_options = 0x0, editfstab = 0, unmount = 0}, volume = {check_foreign = 0, freespace = 0, sensible_size = 0, sensible_count = 0, scan_arrivals = 0}, tcpip = { ipv4_address = 0x0, ipv4_netmask = 0x0}, havedepthsearch = 0, haveselect = 0, haverename = 0, havedelete = 0, haveperms = 0, havechange = 0, havecopy = 0, havelink = 0, haveeditline = 0, haveeditxml = 0, haveedit = 0, havecontain = 0, haveclasses = 0, havetrans = 0, haveprocess_count = 0, havemount = 0, havevolume = 0, havebundle = 0, havetcpip = 0, havepackages = 0, region = {select_start = 0x0, select_end = 0x0, include_start = 0, include_end = 0}, location = {line_matching = 0x0, before_after = cfe_before, first_last = 0x0}, column = { column_separator = 0x0, select_column = 0, value_separator = 0 '\000', column_value = 0x0, column_operation = 0x0, extend_columns = 0, blanks_ok = 0}, replace = {replace_value = 0x0, occurrences = 0x0}, haveregion = 0, havelocation = 0, havecolumn = 0, havereplace = 0, haveinsertselect = 0, havedeleteselect = 0, line_select = {startwith_from_list = 0x0, not_startwith_from_list = 0x0, match_from_list = 0x0, not_match_from_list = 0x0, contains_from_list = 0x0, not_contains_from_list = 0x0}, sourcetype = 0x0, expandvars = 0, not_matching = 0, insert_match = 0x0, fwd_name = 0x0, bwd_name = 0x0, associates = 0x0, represents = 0x0, rep_type = 0x0, path_root = 0x0, web_root = 0x0} thislock = {last = 0x0, lock = 0x0, log = 0x0} lockname = "package-heimdal-clients-/usr/bin/aptitude update", '\000' <repeats 4047 times> #5 0x0000000000404f48 in KeepAgentPromise (pp=0x76e680) at agent.c:967 sp = 0x0 start = {tv_sec = 1348174050, tv_nsec = 134402946} #6 0x0000000000447cac in ExpandPromiseAndDo (agent=cf_agent, scopeid=<value optimized out>, pp=0x76c9d0, scalarvars=<value optimized out>, listvars=<value optimized out>, fnptr=0x404c40 <KeepAgentPromise>) at expand.c:615 lol = 0x76e5f0 pexp = 0x76e680 handle = 0x0 #7 0x00000000004483f9 in ExpandPromise (agent=<value optimized out>, scopeid=0x7dc8e0 "kerberos", pp=0x7dcca0, fnptr=<value optimized out>) at expand.c:120 listvars = 0x76e440 scalarvars = 0x0 cp = 0x0 pcopy = <value optimized out> #8 0x00000000004051eb in ScheduleAgentOperations (bp=0x7dc980) at agent.c:813 sp = <value optimized out> pp = 0x7dcca0 type = kp_packages pass = 1 #9 0x00000000004053fc in KeepPromiseBundles () at agent.c:773 bp = 0x7dc980 rp = 0x766400 params = 0x0 fp = <value optimized out> rettype = 108 'l' name = 0x8055b0 "kerberos" retval = 0x7654f0 ok = <value optimized out> #10 0x0000000000405ff3 in KeepPromises () at agent.c:358 No locals. #11 0x00000000004065fb in main (argc=1, argv=0x7fffffffec38) at agent.c:149 No locals.