#17 segmentation fault in sd_malloc (AIX)

open
nobody
None
5
2012-10-01
2008-06-27
Anonymous
No

Under AIX5.3 the examples throw a segmentation fault

The dbx-debugger shows the following stack

dbx .libs/lt-helloworld core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...

Segmentation fault in . at 0xa64c00012c7c3ff8 ($t1)
0xa64c00012c7c3ff8 (???) warning: Unable to access address 0xa64c00012c7c3ff8 from core
(dbx) where
warning: Unable to access address 0xa64c00012c7c3ff8 from core
warning: Unable to access address 0xa64c00012c7c3ff8 from core
warning: Unable to access address 0xa64c00012c7c3ff4 from core
warning: Unable to access address 0xa64c00012c7c3ff4 from core
warning: Unable to access address 0xa64c00012c7c3ff8 from core
warning: Unable to access address 0xa64c00012c7c3ff8 from core
warning: Unable to access address 0xa64c00012c7c3ff4 from core
warning: Unable to access address 0xa64c00012c7c3ff4 from core
warning: Unable to access address 0xa64c00012c7c3ff8 from core
.() at 0xa64c00012c7c3ff8
sd_malloc(0x88), line 95 in "malloc.c"
__sd_domnode_xml_alloc(0x8800000088, 0x0), line 3756 in "domnode-xml-scanner.c"
__sd_domnode_xml_lex_init(0xffffffffffff1a8), line 3691 in "domnode-xml-scanner.c"
__sd_domnode_xml_fread(0xffffffffffff228, 0x9001000a0004578), line 124 in "domnode-xml.c"
sd_domnode_fread(0x11000b290, 0x9001000a0004578), line 96 in "domnode.c"
sd_domnode_load(0x11000b290, 0x9001000a03aaac0), line 140 in "domnode.c"
log4c_rc_load(0x9001000a03aae00, 0x9001000a03aaac0), line 321 in "rc.c"
log4c_load(0x9001000a03aaac0), line 371 in "rc.c"
unnamed block $b7, line 139 in "init.c"
log4c_init(), line 139 in "init.c"
main(argc = 1, argv = 0x0ffffffffffff600), line 10 in "helloworld.c"
(dbx)

Discussion

    • summary: segmentation fault --> segmentation fault in sd_malloc (AIX)