Hello,

Tried the new Pango support but it segfaulted while starting Window Maker. Here are the backtraces:

#0  0x00007f57cac7caea in __strcmp_sse42 () from /lib64/libc.so.6
#1  0x00007f57cdd7c7b0 in WMWidthOfString (font=0x12a92d0, text=
    0x12e87c0 "Keep on Top", length=<optimized out>)
    at ../../wmaker-crm/WINGs/wfont.c:296
#2  0x0000000000433b16 in wMenuRealize (menu=0x12e80f0)
    at ../../wmaker-crm/src/menu.c:503
#3  0x0000000000433c63 in wMenuRealize (menu=0x12e7c80)
    at ../../wmaker-crm/src/menu.c:476
#4  0x0000000000421b13 in makeClipOptionsMenu (scr=0x1252300)
    at ../../wmaker-crm/src/dock.c:1077
#5  dockMenuCreate (type=1, scr=0x1252300) at ../../wmaker-crm/src/dock.c:1237
#6  wDockCreate (scr=scr@entry=0x1252300, type=type@entry=1, name=name@entry=
    0x0) at ../../wmaker-crm/src/dock.c:1352
#7  0x0000000000461b9f in wWorkspaceNew (scr=scr@entry=0x1252300)
    at ../../wmaker-crm/src/workspace.c:108
#8  0x000000000044562d in wScreenInit (screen_number=0)
    at ../../wmaker-crm/src/screen.c:637
#9  0x000000000044a9ed in StartUp (defaultScreenOnly=<optimized out>)
    at ../../wmaker-crm/src/startup.c:636
#10 0x000000000040acdc in real_main (argv=<optimized out>, argc=2)
    at ../../wmaker-crm/src/main.c:778
#11 main (argc=2, argv=<optimized out>) at ../../wmaker-crm/src/main.c:587

then the monitor instance also segfaulted while trying to display a crash dialog:

#0  0x00007f7d889a0aea in __strcmp_sse42 () from /lib64/libc.so.6
#1  0x00007f7d8baa07b0 in WMWidthOfString (font=font@entry=0x1141520,
    text=text@entry=0x1189900 "OK", length=<optimized out>)
    at ../../wmaker-crm/WINGs/wfont.c:296
#2  0x00007f7d8baa6650 in fitText (text=text@entry=0x1189900 "OK",
    font=font@entry=0x1141520, width=width@entry=46, wrap=wrap@entry=1)
    at ../../wmaker-crm/WINGs/wmisc.c:108
#3  0x00007f7d8baa6dac in W_GetTextHeight (font=font@entry=0x1141520,
    text=text@entry=0x1189900 "OK", width=width@entry=46, wrap=wrap@entry=1)
    at ../../wmaker-crm/WINGs/wmisc.c:153
#4  0x00007f7d8baa71d7 in W_PaintTextAndImage (view=0x1189730, wrap=1,
    textColor=0x112d680, font=0x1141520, relief=WRRaised, text=0x1189900 "OK",
    alignment=WACenter, image=0x117f760, position=WIPRight, backColor=0x0, ofs=
    0) at ../../wmaker-crm/WINGs/wmisc.c:304
#5  0x00007f7d8ba92f07 in paintButton (bPtr=<optimized out>)
    at ../../wmaker-crm/WINGs/wbutton.c:594
#6  0x00007f7d8ba9d94c in WMHandleEvent (event=event@entry=0x7fff672c4230)
    at ../../wmaker-crm/WINGs/wevent.c:273
#7  0x000000000041f057 in wShowCrashingDialogPanel (whatSig=whatSig@entry=11)
    at ../../wmaker-crm/src/dialog.c:1676
#8  0x0000000000438a83 in showCrashDialog (sig=11)
    at ../../wmaker-crm/src/monitor.c:52
#9  MonitorLoop (argc=<optimized out>, argv=argv@entry=0x7fff672c45a8)

Since font and text are checked for not being NULL may it be that pango_layout_get_text returns NULL and that makes it crash?

Regards,
BALATON Zoltan


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to