Thread 1 "TEST.x" received signal SIGSEGV, Segmentation fault. 0x00000003fc68c4e5 in XmRenderTableCopy (table=0xaeeb0, tags=tags@entry=0x0, tag_count=tag_count@entry=0) at /usr/src/debug/motif-2.3.6-1/lib/Xm/XmRenderT.c:1709 1709 if (_XmRTDisplay(table)) [Crash here because the value of table is bogus. See below. +bt #0 0x00000003fc68c4e5 in XmRenderTableCopy (table=0xaeeb0, tags=tags@entry=0x0, tag_count=tag_count@entry=0) at /usr/src/debug/motif-2.3.6-1/lib/Xm/XmRenderT.c:1709 #1 0x00000003fc6831ba in XmFontListCopy (fontlist=) at /usr/src/debug/motif-2.3.6-1/lib/Xm/XmFontList.c:637 #2 0x00000003fc657920 in InitializeTextStruct (tf=tf@entry=0x6000af730) at /usr/src/debug/motif-2.3.6-1/lib/Xm/TextF.c:7295 #3 0x00000003fc657e67 in Initialize (request=request@entry=0x6000afb40, new_w=new_w@entry=0x6000af730, args=args@entry=0xffffbd60, num_args=num_args@entry=0xffffb320) at /usr/src/debug/motif-2.3.6-1/lib/Xm/TextF.c:7817 #4 0x00000003fc469bb1 in CallInitialize ( class=0x3fc72c440 , req_widget=req_widget@entry=0x6000afb40, new_widget=new_widget@entry=0x6000af730, args=args@entry=0xffffbd60, num_args=num_args@entry=8) at /usr/src/debug/libXt-1.1.5-1/src/Create.c:226 #5 0x00000003fc46a65c in xtCreate ( name=name@entry=0xffffb950 "fixedColumnRow0", class=class@entry=0x0, widget_class=widget_class@entry=0x3fc72c440 , parent=0x1fc5dd590, parent@entry=0x6000af0d0, default_screen=0x600052780, args=args@entry=0xffffbd60, num_args=num_args@entry=8, typed_args=typed_args@entry=0x0, num_typed_args=num_typed_args@entry=0, parent_constraint_class=0x3fc720dc0 , post_proc=post_proc@entry=0x3fc469bf0 ) at /usr/src/debug/libXt-1.1.5-1/src/Create.c:416 #6 0x00000003fc46a906 in _XtCreateWidget ( name=name@entry=0xffffb950 "fixedColumnRow0", widget_class=widget_class@entry=0x3fc72c440 , parent=parent@entry=0x6000af0d0, args=args@entry=0xffffbd60, num_args=num_args@entry=8, typed_args=typed_args@entry=0x0, num_typed_args=num_typed_args@entry=0) at /usr/src/debug/libXt-1.1.5-1/src/Create.c:570 #7 0x00000003fc46abd9 in XtCreateWidget (name=0xffffb950 "fixedColumnRow0", widget_class=0x3fc72c440 , parent=0x6000af0d0, args=0xffffbd60, num_args=8) at /usr/src/debug/libXt-1.1.5-1/src/Create.c:589 #8 0x00000003fc658a81 in XmCreateTextField (parent=, name=, arglist=, argcount=) at /usr/src/debug/motif-2.3.6-1/lib/Xm/TextF.c:10645 #9 0x000000010040882d in mosprshCreateSpreadsheet (parentFM=0x6000acc60, spreadSheetTitle=0x100421087 "Measuring Unit Specification", rowNames=0x6000ab4f0, columnNames=0x6000ab4b0, cellSize=0, mosprshCheckButtonCallback=0x0) at mosprshx.c:242 [...] +p *table $1 = (struct __XmRenderTableRec *) 0x56f700001ea1 +p *$ Cannot access memory at address 0x56f700001ea1 +f 2 #2 0x00000003fc657920 in InitializeTextStruct (tf=tf@entry=0x6000af730) at /usr/src/debug/motif-2.3.6-1/lib/Xm/TextF.c:7295 7295 TextF_FontList(tf) = (XmFontList)XmFontListCopy(TextF_FontList(tf)); +p tf->text.font_list $2 = (XmFontList) 0xaeeb0 [This is the bad pointer that was propagated to XmRenderTableCopy. I didn't chase down where it came from.]