Forum: CFEngine Help
Subject: Re: Segfault in 3.1.5 on 32 bit debian lenny
Author: andrela
Link to topic: https://cfengine.com/forum/read.php?3,23376,23408#msg-23408

I will try it on 3.2 as soon as i can. 

A full backtrace looks like this.

/Andreas





Program received signal SIGABRT, Aborted.

0xb734a556 in raise () from /lib/libc.so.6
#0  0xb734a556 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0xb734bd78 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0xb7384b95 in __libc_message () from /lib/libc.so.6
No symbol table info available.
#3  0xb738a935 in malloc_printerr () from /lib/libc.so.6
No symbol table info available.
#4  0xb738abd4 in malloc_consolidate () from /lib/libc.so.6
No symbol table info available.
#5  0xb738ca95 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#6  0xb738e676 in malloc () from /lib/libc.so.6
No symbol table info available.
#7  0x08095c44 in NewScope (name=0x81d22a0 "edit_aliases") at scope.c:123
        ptr = (struct Scope *) 0x0
#8  0x0806db05 in ScheduleEditOperation (filename=0x81bed68 
"/tmp/aliases.test", a={output = {level = 0x0, promiser_type = 0x0}, select = 
{name = 0x0, path = 0x0, perms = 0x0, bsdflags = 0x0, owners = 0x0, groups = 
0x0, max_size = -678, min_size = -678, max_ctime = -678, min_ctime = -678, 
max_mtime = -678, min_mtime = -678, max_atime = -678, min_atime = -678, 
exec_regex = 0x0, exec_program = 0x0, filetypes = 0x0, issymlinkto = 0x0, 
result = 0x0}, perms = {plus = 0, minus = 0, owners = 0x81bf4b8, groups = 
0x81bf498, findertype = 0x0, plus_flags = 0, minus_flags = 0, rxdirs = 1}, copy 
= {source = 0x0, destination = 0x0, compare = cfa_nocomparison, 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 = 4294966618, max_size = 
4294966618, trustkey = 0, encrypt = 0, verify = 0, purge = 0, portnumber = 
-678, timeout = -678}
 , delete = {dirlinks = cfa_linkdelete, rmdirs = 0}, rename = {newname = 0x0, 
disable_suffix = 0x0, disable = 0, rotate = -678, 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_skip, when_linking_children = cfa_onlynonexisting, 
link_children = 0}, edits = {backup = cfa_nobackup, empty_before_use = 0, 
maxfilesize = 300000, joinlines = 0}, packages = {package_policy = cfa_addpack, 
have_package_methods = 0, package_version = 0x0, package_architectures = 0x0, 
package_select = cfa_eq, package_changes = cfa_individual, 
package_file_repositories = 0x0, package_list_command = 0x0, 
package_list_version_regex = 0x0, package_list_name_regex = 0x0, 
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 = 0x
 0, package_list_update_command = 0x0, package_list_update_ifelapsed = 0, 
package_version_regex = 0x0, package_name_regex = 0x0, package_arch_regex = 
0x0, package_installed_regex = 0x0, package_add_command = 0x0, 
package_delete_command = 0x0, package_update_command = 0x0, 
package_patch_command = 0x0, package_verify_command = 0x0, 
package_noverify_regex = 0x0, package_name_convention = 0x0, 
package_delete_convention = 0x0, package_multiline_start = 0x0, 
package_noverify_returncode = 0}, 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_nomethod, acl_type = 
cfacl_notype, acl_directory_inherit = cfacl_noinherit, 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, ser
 ver = 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 = 1, 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 = 1, 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, tim
 eout = 0x0, kept = 0x0, interrupt = 0x0, persist = 0, timer = cfreset, 
del_change = 0x0, del_kept = 0x0, del_notkept = 0x0, retcode_kept = 0x0, 
retcode_repaired = 0x0, retcode_failed = 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, numline
 s = 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 = 1, haveeditxml 
= 0, haveedit = 1, 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 '\0', column_value = 0x0, 
column_operation = 0x0, extend_columns = 0, blanks_ok = 0}, replace = 
{replace_value = 0x0, occurrence
 s = 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, precedents = 0x0, qualifiers = 0x0, associates 
= 0x0, represents = 0x0, synonyms = 0x0, general = 0x0, rep_type = 0x0, 
path_root = 0x0, web_root = 0x0}, pp=0x81bed08) at files_operators.c:479
        bp = 
        vp = 
        edit_bundle_name = 
        lockname = 
"fileedit-/tmp/aliases.test\000\b�S���S��\000\000\000\000PS���\003\000\000\001\200���S���S���S���S���S���W���S���W��",
 '\0' , "�\022\035\b", '\0' , 
"\220\022\035\b(�\034\b\000\000\000\000\000\000\000\000@�\034\b\000\000\000\000����",
 '\0' , "��\034\b", '\0' , "p�\034\b\000\000\000\000@\231E�", '\0' , 
"�\237E�h�\033\byA\016\b�S���q"...
        params = (struct Rlist *) 0x0
        retval = 0
        thislock = {last = 0x81c0240 
"last.etc_aliases.files.create.edit_defaults.empty_file_before_editing.edit_backup.max_file_size.-wraith.fileedit__tmp_aliases_test_1718_MD5=9f8dbf1ba75eb2c60418008e15f3d885",
 lock = 0x81c0188 
"lock.etc_aliases.files.create.edit_defaults.empty_file_before_editing.edit_backup.max_file_size.-wraith.fileedit__tmp_aliases_test_1718_MD5=9f8dbf1ba75eb2c60418008e15f3d885",
 log = 0x81c00c0 "/var/log/cf3.wraith.runlog"}
#9  0x0806729b in VerifyFilePromise (path=0x81bed68 "/tmp/aliases.test", 
pp=0x81bed08) at files_interfaces.c:406
        osb = {st_dev = 64773, __pad1 = 0, __st_ino = 139, st_mode = 33188, 
st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 22, 
st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1315379851, tv_nsec = 0}, 
st_mtim = {tv_sec = 1312217457, tv_nsec = 0}, st_ctim = {tv_sec = 1312217457, 
tv_nsec = 0}, st_ino = 139}
        oslb = {st_dev = 64773, __pad1 = 0, __st_ino = 139, st_mode = 33188, 
st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 22, 
st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1315379851, tv_nsec = 0}, 
st_mtim = {tv_sec = 1312217457, tv_nsec = 0}, st_ctim = {tv_sec = 1312217457, 
tv_nsec = 0}, st_ino = 139}
        dsb = {st_dev = 0, __pad1 = 0, __st_ino = 3073949764, st_mode = 0, 
st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 13206156508344874136, __pad2 = 
0, st_size = 3073949764, st_blksize = 0, st_blocks = 0, st_atim = {tv_sec = 
136049848, tv_nsec = -1220169376}, st_mtim = {tv_sec = 0, tv_nsec = 
-1221017532}, st_ctim = {tv_sec = 0, tv_nsec = 0}, st_ino = 
13206137352654684160}
        a = {output = {level = 0x0, promiser_type = 0x0}, select = {name = 0x0, 
path = 0x0, perms = 0x0, bsdflags = 0x0, owners = 0x0, groups = 0x0, max_size = 
-678, min_size = -678, max_ctime = -678, min_ctime = -678, max_mtime = -678, 
min_mtime = -678, max_atime = -678, min_atime = -678, exec_regex = 0x0, 
exec_program = 0x0, filetypes = 0x0, issymlinkto = 0x0, result = 0x0}, perms = 
{plus = 0, minus = 0, owners = 0x81bf4b8, groups = 0x81bf498, findertype = 0x0, 
plus_flags = 0, minus_flags = 0, rxdirs = 1}, copy = {source = 0x0, destination 
= 0x0, compare = cfa_nocomparison, 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 = 4294966618, max_size = 4294966618, trustkey = 0, 
encrypt = 0, verify = 0, purge = 0, portnumber = -678, timeout = -678}, delete 
= {dirlinks = cfa_linkdelete, rmdirs = 0}, rename = {newname = 0x0, d
 isable_suffix = 0x0, disable = 0, rotate = -678, 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_skip, when_linking_children = cfa_onlynonexisting, 
link_children = 0}, edits = {backup = cfa_nobackup, empty_before_use = 0, 
maxfilesize = 300000, joinlines = 0}, packages = {package_policy = cfa_addpack, 
have_package_methods = 0, package_version = 0x0, package_architectures = 0x0, 
package_select = cfa_eq, package_changes = cfa_individual, 
package_file_repositories = 0x0, package_list_command = 0x0, 
package_list_version_regex = 0x0, package_list_name_regex = 0x0, 
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 = 0x0, package_list_update_ifelapsed = 0, packa
 ge_version_regex = 0x0, package_name_regex = 0x0, package_arch_regex = 0x0, 
package_installed_regex = 0x0, package_add_command = 0x0, 
package_delete_command = 0x0, package_update_command = 0x0, 
package_patch_command = 0x0, package_verify_command = 0x0, 
package_noverify_regex = 0x0, package_name_convention = 0x0, 
package_delete_convention = 0x0, package_multiline_start = 0x0, 
package_noverify_returncode = 0}, 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_nomethod, acl_type = 
cfacl_notype, acl_directory_inherit = cfacl_noinherit, 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 = 0
 x0}, 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 = 1, 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 = 1, 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_cha
 nge = 0x0, del_kept = 0x0, del_notkept = 0x0, retcode_kept = 0x0, 
retcode_repaired = 0x0, retcode_failed = 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 = 1, haveeditxml 
= 0, haveedit = 1, 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 '\0', 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, h
 aveinsertselect = 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, precedents = 0x0, qualifiers = 0x0, associates 
= 0x0, represents = 0x0, synonyms = 0x0, general = 0x0, rep_type = 0x0, 
path_root = 0x0, web_root = 0x0}
        thislock = {last = 0x81c0018 
"last.etc_aliases.files.create.edit_defaults.empty_file_before_editing.edit_backup.max_file_size.-wraith._tmp_aliases_test_7153_MD5=194dda0bb89781a22d9adf0d95f79670",
 lock = 0x81bff70 
"lock.etc_aliases.files.create.edit_defaults.empty_file_before_editing.edit_backup.max_file_size.-wraith._tmp_aliases_test_7153_MD5=194dda0bb89781a22d9adf0d95f79670",
 log = 0x81c0138 "/var/log/cf3.wraith.runlog"}
        exists = 
#10 0x080785a3 in LocateFilePromiserGroup (wildpath=0x81bed68 
"/tmp/aliases.test", pp=0x81bed08, fnptr=0x8066bd0 ) at files_names.c:54
        path = 
        ip = 
        remainder = 
        pbuffer = '\0' , "\n\000  ", '.' , "\n", '\0' 
        statbuf = {st_dev = 580598008400314368, __pad1 = 45356, __st_ino = 
3221211288, st_mode = 134892511, st_nlink = 134983980, st_uid = 134983980, 
st_gid = 0, st_rdev = 580334623825854464, __pad2 = 8334, st_size = 
579367675289913544, st_blksize = 136048584, st_blocks = -4611746731950100171, 
st_atim = {tv_sec = 134893493, tv_nsec = 136048584}, st_mtim = {tv_sec = 
134983980, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, st_ino = 0}
        count = 
        lastnode = 
        agentuid = 0
        create = 1
#11 0x0804dc26 in FindFilePromiserObjects (pp=0x81bed08) at verify_files.c:69
No locals.
#12 0x0804dc4a in FindAndVerifyFilesPromises (pp=0x81bed08) at verify_files.c:41
No locals.
#13 0x0804c108 in KeepAgentPromise (pp=0x81bed08) at agent.c:1049
        sp = 0x0
        start = {tv_sec = 1315380155, tv_nsec = 77206605}
#14 0x0809cadc in ExpandPromiseAndDo (agent=cf_agent, scopeid=0x81d2060 
"etc_aliases", pp=0x81ff068, scalarvars=0x0, listvars=0x0, fnptr=0x804bdb0 ) at 
expand.c:681
        number = 
"13\000\b`\"\035\b(\"\035\b����\0161\n\b�\"\035\b\000\000\000\000\f\000\000s\000\000\000\000\000\000\000\000(\"\035\b(���hC\n\b\214�\037\bP\"\035\b\020�\033\bs\000\000\000`\"\035\b\000\000\000\000\b�����8�\fYt�\b�\037\b\b�\037\bh�\037\b\214�\037\b\000\000\000\000\000\000\000\000\020\"\035\bX���T���`
 \035\b"
        lol = (struct Rlist *) 0x0
        pexp = (struct Promise *) 0x81bed08
        v = "0\000E�x'\035\b`�E�\000\000\000\000\003", '\0' , 
"�\237E�\a\000\000\000\a\000\000\000����v�8�`�E�\a\000\000\000`�E�\000\000\000\000�\237E�\a\000\000\000
 ���\b���x\0249�x'\035\b ���\a\000\000\000 ���p�\035\bX���(���\001T\t\b 
���\000\004\000\000\204�\f\b\001\000\000\000this_1", '\0' , 
"`�\033\b\000\000\000\000\000\001\000\000\000\000\000\000h���F�\004\b\001\000\000\000�\001\r\b��\f\b",
 '\0' , "A�8�", '\0' ...
        cutoff = 0
#15 0x0809d303 in ExpandPromise (agent=cf_agent, scopeid=0x81d2060 
"etc_aliases", pp=0x81d20c8, fnptr=0x804bdb0) at expand.c:122
        listvars = (struct Rlist *) 0x0
        scalarvars = (struct Rlist *) 0x0
        cp = (struct Constraint *) 0x0
        pcopy = (struct Promise *) 0x81ff068
#16 0x0804c3a4 in ScheduleAgentOperations (bp=0x81d2070) at agent.c:883
        sp = 
        pp = (struct Promise *) 0x81d20c8
        type = kp_files
        pass = 1
#17 0x0804c618 in KeepPromiseBundles () at agent.c:837
        bp = (struct Bundle *) 0x81d2070
        rp = (struct Rlist *) 0x81bf048
        params = (struct Rlist *) 0x0
        fp = 
        rettype = 108 'l'
        name = 
        retval = (void *) 0x81bf048
        ok = 1
#18 0x0804d515 in KeepPromises () at agent.c:358
No locals.
#19 0x0804db52 in main (argc=Cannot access memory at address 0x760c
) at agent.c:144
No locals.
0xb734a556 :    xchg   %edi,%ebx
0xb734a558 :    mov    %eax,%edx
0xb734a55a :    cmp    $0xfffff000,%edx
0xb734a560 :    ja     0xb734a58c 
0xb734a562 :    mov    (%esp),%ebx
0xb734a565 :    mov    0x4(%esp),%edi
0xb734a569 :    mov    %ebp,%esp
0xb734a56b :    pop    %ebp
0xb734a56c :    ret    
0xb734a56d :    lea    0x0(%esi),%esi
0xb734a570 :    test   %edx,%edx
0xb734a572 :    mov    %edx,%edi
0xb734a574 :    mov    %eax,%ecx
0xb734a576 :    jg     0xb734a54a 
0xb734a578 :    test   $0x7fffffff,%edx
0xb734a57e :    mov    %eax,%edi

Thread 1 (Thread 0xb72e36b0 (LWP 30220)):
#0  0xb734a556 in raise () from /lib/libc.so.6
#1  0xb734bd78 in abort () from /lib/libc.so.6
#2  0xb7384b95 in __libc_message () from /lib/libc.so.6
#3  0xb738a935 in malloc_printerr () from /lib/libc.so.6
#4  0xb738abd4 in malloc_consolidate () from /lib/libc.so.6
#5  0xb738ca95 in _int_malloc () from /lib/libc.so.6
#6  0xb738e676 in malloc () from /lib/libc.so.6
#7  0x08095c44 in NewScope (name=0x81d22a0 "edit_aliases") at scope.c:123
#8  0x0806db05 in ScheduleEditOperation (filename=0x81bed68 
"/tmp/aliases.test", a={output = {level = 0x0, promiser_type = 0x0}, select = 
{name = 0x0, path = 0x0, perms = 0x0, bsdflags = 0x0, owners = 0x0, groups = 
0x0, max_size = -678, min_size = -678, max_ctime = -678, min_ctime = -678, 
max_mtime = -678, min_mtime = -678, max_atime = -678, min_atime = -678, 
exec_regex = 0x0, exec_program = 0x0, filetypes = 0x0, issymlinkto = 0x0, 
result = 0x0}, perms = {plus = 0, minus = 0, owners = 0x81bf4b8, groups = 
0x81bf498, findertype = 0x0, plus_flags = 0, minus_flags = 0, rxdirs = 1}, copy 
= {source = 0x0, destination = 0x0, compare = cfa_nocomparison, 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 = 4294966618, max_size = 
4294966618, trustkey = 0, encrypt = 0, verify = 0, purge = 0, portnumber = 
-678, timeout = -678}
 , delete = {dirlinks = cfa_linkdelete, rmdirs = 0}, rename = {newname = 0x0, 
disable_suffix = 0x0, disable = 0, rotate = -678, 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_skip, when_linking_children = cfa_onlynonexisting, 
link_children = 0}, edits = {backup = cfa_nobackup, empty_before_use = 0, 
maxfilesize = 300000, joinlines = 0}, packages = {package_policy = cfa_addpack, 
have_package_methods = 0, package_version = 0x0, package_architectures = 0x0, 
package_select = cfa_eq, package_changes = cfa_individual, 
package_file_repositories = 0x0, package_list_command = 0x0, 
package_list_version_regex = 0x0, package_list_name_regex = 0x0, 
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 = 0x
 0, package_list_update_command = 0x0, package_list_update_ifelapsed = 0, 
package_version_regex = 0x0, package_name_regex = 0x0, package_arch_regex = 
0x0, package_installed_regex = 0x0, package_add_command = 0x0, 
package_delete_command = 0x0, package_update_command = 0x0, 
package_patch_command = 0x0, package_verify_command = 0x0, 
package_noverify_regex = 0x0, package_name_convention = 0x0, 
package_delete_convention = 0x0, package_multiline_start = 0x0, 
package_noverify_returncode = 0}, 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_nomethod, acl_type = 
cfacl_notype, acl_directory_inherit = cfacl_noinherit, 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, ser
 ver = 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 = 1, 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 = 1, 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, tim
 eout = 0x0, kept = 0x0, interrupt = 0x0, persist = 0, timer = cfreset, 
del_change = 0x0, del_kept = 0x0, del_notkept = 0x0, retcode_kept = 0x0, 
retcode_repaired = 0x0, retcode_failed = 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, numline
 s = 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 = 1, haveeditxml 
= 0, haveedit = 1, 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 '\0', column_value = 0x0, 
column_operation = 0x0, extend_columns = 0, blanks_ok = 0}, replace = 
{replace_value = 0x0, occurrence
 s = 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, precedents = 0x0, qualifiers = 0x0, associates 
= 0x0, represents = 0x0, synonyms = 0x0, general = 0x0, rep_type = 0x0, 
path_root = 0x0, web_root = 0x0}, pp=0x81bed08) at files_operators.c:479
#9  0x0806729b in VerifyFilePromise (path=0x81bed68 "/tmp/aliases.test", 
pp=0x81bed08) at files_interfaces.c:406
#10 0x080785a3 in LocateFilePromiserGroup (wildpath=0x81bed68 
"/tmp/aliases.test", pp=0x81bed08, fnptr=0x8066bd0 ) at files_names.c:54
#11 0x0804dc26 in FindFilePromiserObjects (pp=0x81bed08) at verify_files.c:69
#12 0x0804dc4a in FindAndVerifyFilesPromises (pp=0x81bed08) at verify_files.c:41
#13 0x0804c108 in KeepAgentPromise (pp=0x81bed08) at agent.c:1049
#14 0x0809cadc in ExpandPromiseAndDo (agent=cf_agent, scopeid=0x81d2060 
"etc_aliases", pp=0x81ff068, scalarvars=0x0, listvars=0x0, fnptr=0x804bdb0 ) at 
expand.c:681
#15 0x0809d303 in ExpandPromise (agent=cf_agent, scopeid=0x81d2060 
"etc_aliases", pp=0x81d20c8, fnptr=0x804bdb0) at expand.c:122
#16 0x0804c3a4 in ScheduleAgentOperations (bp=0x81d2070) at agent.c:883
#17 0x0804c618 in KeepPromiseBundles () at agent.c:837
#18 0x0804d515 in KeepPromises () at agent.c:358
#19 0x0804db52 in main (argc=Cannot access memory at address 0x760c
) at agent.c:144
The program is running.  Exit anyway? (y or n) 

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to