[xmlroff] Simple docbook

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Tue Mar 18 11:25:20 UTC 2008


-On [20080318 11:47], Jeroen Ruigrok van der Werven (asmodai at in-nomine.org) wrote:
>Anyone messed with simple docbook and xmlroff?

Seems we also use a local custom FO stylesheet. fop is able to produce PDFs,
with the latest trunk of xmlroff I get a coredump.

Aside from many "(xmlroff:4701): libfo-CRITICAL **: fo_length_get_value:
assertion `length != NULL' failed" messages and an occassional
"(xmlroff:4701): libfo-CRITICAL **: fo_enum_get_value: assertion `fo_enum !=
NULL' failed" I get this:

libfo-ERROR **: file fo-property-writing-mode.c: line 393
(fo_property_writing_mode_to_bpd): should not be reached

#6  0x0819e7fc in fo_property_writing_mode_to_bpd (writing_mode=0x82330a0, 
    error=0x0) at fo-property-writing-mode.c:393

(gdb) print new_area
$1 = (FoArea **) 0xbfcf56a4
(gdb) print **new_area
$3 = {parent_instance = {parent_instance = {parent_instance = {
        g_type_instance = {g_class = 0x82f73f8}, ref_count = 2, qdata = 0x0}}, 
    node = 0x845c3b0}, page_sequence = 0x0, page = 0x8f46010, 
  reference = 0x8f46010, is_first = 0, prev_part = 0x0, is_last = 1, 
  next_part = 0x0, next_x = 54, next_y = 751.889771, 
  available_width = 451.275574, available_height = 715.889771, 
  child_available_ipdim = 451.275574, child_available_bpdim = 715.889771, 
  generated_by = 0x8dd5958}
(gdb) print writing_mode
$4 = (FoProperty *) 0x82f3220
(gdb) print *writing_mode
$5 = {parent_instance = {parent_instance = {g_type_instance = {
        g_class = 0x86ca500}, ref_count = 193, qdata = 0x0}}, value = 0x0}

#7  0x08151858 in fo_page_sequence_area_new (fo_node=0x8dd5958, 
    fo_doc=0x824ec18, parent_area=0x8dd5910, new_area=0xbfef1094, 
    debug_level=0) at fo-page-sequence-area.c:116
#8  0x08151988 in fo_page_sequence_area_new2 (fo_node=0x8dd5958, context=0x6, 
    error=0xbfef1098) at fo-page-sequence-area.c:152
#9  0x0817cb78 in fo_fo_area_new2 (fo=0x125d, context=0xbfef1060, 
    error=0xbfef1098) at fo-fo.c:1627

Any ideas where I need to look further?

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Give me the strength to be who I was, and forgive me for who I am...


More information about the xmlroff-list mailing list