Congrats on the release!

When running the example presentation, I hit a segfault when I reached
the first slide with an image (@nyan.png). See attached for backtrace.
This only seems to happen if the window is smaller than certain
dimensions. I can repro for large text lines in small windows, too.

Tangential nit: The README still seems to say that slides are per-line
vs per-paragraph.

Please let me know if there's a better place for me to post this -- I
didn't see a specific mailing list mentioned on the project page.

Thanks,

  Stephen


On 11/12  13:20, Markus Teich wrote:
> Heyho,
> 
> I am happy to announce the version 0.1 release of sent, a suckless 
> presentation
> tool. Yesterday I finished the multiline support and now sent is not anymore
> only useful for takahashi style presentations. The next big step for the 0.2
> release is to migrate from png to farbfeld.
> 
> http://tools.suckless.org/sent
> http://git.suckless.org/sent
> http://dl.suckless.org/tools/sent-0.1.tar.gz
> 
> --Markus
> 
#0  0x00007ffff7531140 in XftCharExists () from /usr/lib/libXft.so.2
No symbol table info available.
#1  0x00000000004057d0 in drw_text (drw=0x61c5f0, x=0, y=0, w=4294967295, h=0, 
text=0x610680 "this text will not be displayed, since the @ at the start of the 
first line", 
    invert=0) at drw.c:273
        buf = "this text will not be displayed, since the @ at the start of the 
first line", '\000' <repeats 101 times>, 
"\020\006\330\366\377\177\000\000P\372`", '\000' <repeats 33 times>...
        tx = 6364984
        ty = 0
        th = 0
        ew = 453
        cmap = 140737322970449
        vis = 0x7fffffffe270
        d = 0xee2e8fdd24ee8200
        usedfont = 0x61c640
        curfont = 0x61c640
        nextfont = 0x0
        i = 0
        len = 75
        utf8strlen = 0
        utf8charlen = 1
        render = 0
        utf8codepoint = 116
        utf8str = 0x610680 "this text will not be displayed, since the @ at the 
start of the first line"
        fccharset = 0x0
        fcpattern = 0x50
        match = 0x7fffffffe250
        result = 1415548272
        charexists = 0
#2  0x0000000000405d1a in drw_fontset_getwidth (drw=0x61c5f0, text=0x610680 
"this text will not be displayed, since the @ at the start of the first line") 
at drw.c:381
No locals.
#3  0x00000000004032df in getfontsize (s=0x60d870, width=0x7fffffffe348, 
height=0x7fffffffe34c) at sent.c:339
        i = 1
        j = 18446744073709551615
        curw = 453
        imax = 1
        lfac = 3.79999995
#4  0x0000000000403ee2 in xdraw () at sent.c:524
        height = 0
        width = 340
        i = 3996028893
        im = 0x60fc80
#5  0x0000000000403bc4 in advance (arg=0x607668 <shortcuts+40>) at sent.c:470
        new_idx = 4
#6  0x00000000004048b5 in kpress (e=0x7fffffffe3d0) at sent.c:655
        i = 1
        sym = 65363
#7  0x0000000000403e52 in run () at sent.c:509
        ev = {type = 2, xany = {type = 2, serial = 258, send_event = 0, display 
= 0x610cb0, window = 37748737}, xkey = {type = 2, serial = 258, send_event = 0, 
            display = 0x610cb0, window = 37748737, root = 215, subwindow = 0, 
time = 2154716, x = 255, y = 55, x_root = 1111, y_root = 515, state = 0, 
keycode = 114, 
            same_screen = 1}, xbutton = {type = 2, serial = 258, send_event = 
0, display = 0x610cb0, window = 37748737, root = 215, subwindow = 0, time = 
2154716, x = 255, 
            y = 55, x_root = 1111, y_root = 515, state = 0, button = 114, 
same_screen = 1}, xmotion = {type = 2, serial = 258, send_event = 0, display = 
0x610cb0, 
            window = 37748737, root = 215, subwindow = 0, time = 2154716, x = 
255, y = 55, x_root = 1111, y_root = 515, state = 0, is_hint = 114 'r', 
same_screen = 1}, 
          xcrossing = {type = 2, serial = 258, send_event = 0, display = 
0x610cb0, window = 37748737, root = 215, subwindow = 0, time = 2154716, x = 
255, y = 55, x_root = 1111, 
---Type <return> to continue, or q <return> to quit---
            y_root = 515, mode = 0, detail = 114, same_screen = 1, focus = 0, 
state = 3}, xfocus = {type = 2, serial = 258, send_event = 0, display = 
0x610cb0, 
            window = 37748737, mode = 215, detail = 0}, xexpose = {type = 2, 
serial = 258, send_event = 0, display = 0x610cb0, window = 37748737, x = 215, y 
= 0, width = 0, 
            height = 0, count = 2154716}, xgraphicsexpose = {type = 2, serial = 
258, send_event = 0, display = 0x610cb0, drawable = 37748737, x = 215, y = 0, 
width = 0, 
            height = 0, count = 2154716, major_code = 0, minor_code = 255}, 
xnoexpose = {type = 2, serial = 258, send_event = 0, display = 0x610cb0, 
drawable = 37748737, 
            major_code = 215, minor_code = 0}, xvisibility = {type = 2, serial 
= 258, send_event = 0, display = 0x610cb0, window = 37748737, state = 215}, 
xcreatewindow = {
            type = 2, serial = 258, send_event = 0, display = 0x610cb0, parent 
= 37748737, window = 215, x = 0, y = 0, width = 2154716, height = 0, 
border_width = 255, 
            override_redirect = 55}, xdestroywindow = {type = 2, serial = 258, 
send_event = 0, display = 0x610cb0, event = 37748737, window = 215}, xunmap = 
{type = 2, 
            serial = 258, send_event = 0, display = 0x610cb0, event = 37748737, 
window = 215, from_configure = 0}, xmap = {type = 2, serial = 258, send_event = 
0, 
            display = 0x610cb0, event = 37748737, window = 215, 
override_redirect = 0}, xmaprequest = {type = 2, serial = 258, send_event = 0, 
display = 0x610cb0, 
            parent = 37748737, window = 215}, xreparent = {type = 2, serial = 
258, send_event = 0, display = 0x610cb0, event = 37748737, window = 215, parent 
= 0, x = 2154716, 
            y = 0, override_redirect = 255}, xconfigure = {type = 2, serial = 
258, send_event = 0, display = 0x610cb0, event = 37748737, window = 215, x = 0, 
y = 0, 
            width = 2154716, height = 0, border_width = 255, above = 
2211908158551, override_redirect = 0}, xgravity = {type = 2, serial = 258, 
send_event = 0, 
            display = 0x610cb0, event = 37748737, window = 215, x = 0, y = 0}, 
xresizerequest = {type = 2, serial = 258, send_event = 0, display = 0x610cb0, 
window = 37748737, 
            width = 215, height = 0}, xconfigurerequest = {type = 2, serial = 
258, send_event = 0, display = 0x610cb0, parent = 37748737, window = 215, x = 
0, y = 0, 
            width = 2154716, height = 0, border_width = 255, above = 
2211908158551, detail = 0, value_mask = 1}, xcirculate = {type = 2, serial = 
258, send_event = 0, 
            display = 0x610cb0, event = 37748737, window = 215, place = 0}, 
xcirculaterequest = {type = 2, serial = 258, send_event = 0, display = 
0x610cb0, parent = 37748737, 
            window = 215, place = 0}, xproperty = {type = 2, serial = 258, 
send_event = 0, display = 0x610cb0, window = 37748737, atom = 215, time = 0, 
state = 2154716}, 
          xselectionclear = {type = 2, serial = 258, send_event = 0, display = 
0x610cb0, window = 37748737, selection = 215, time = 0}, xselectionrequest = 
{type = 2, 
            serial = 258, send_event = 0, display = 0x610cb0, owner = 37748737, 
requestor = 215, selection = 0, target = 2154716, property = 236223201535, 
            time = 2211908158551}, xselection = {type = 2, serial = 258, 
send_event = 0, display = 0x610cb0, requestor = 37748737, selection = 215, 
target = 0, 
            property = 2154716, time = 236223201535}, xcolormap = {type = 2, 
serial = 258, send_event = 0, display = 0x610cb0, window = 37748737, colormap = 
215, new = 0, 
            state = 0}, xclient = {type = 2, serial = 258, send_event = 0, 
display = 0x610cb0, window = 37748737, message_type = 215, format = 0, data = {
              b = "\334\340 
\000\000\000\000\000\377\000\000\000\067\000\000\000W\004\000", s = {-7972, 32, 
0, 0, 255, 0, 55, 0, 1111, 0}, l = {2154716, 236223201535, 
                2211908158551, 489626271744, 1}}}, xmapping = {type = 2, serial 
= 258, send_event = 0, display = 0x610cb0, window = 37748737, request = 215, 
first_keycode = 0, 
            count = 0}, xerror = {type = 2, display = 0x102, resourceid = 0, 
serial = 6360240, error_code = 1 '\001', request_code = 0 '\000', minor_code = 
64 '@'}, xkeymap = {
            type = 2, serial = 258, send_event = 0, display = 0x610cb0, window 
= 37748737, 
            key_vector = "\327", '\000' <repeats 15 times>, "\334\340 
\000\000\000\000\000\377\000\000\000\067\000\000"}, xgeneric = {type = 2, 
serial = 258, send_event = 0, 
            display = 0x610cb0, extension = 37748737, evtype = 0}, xcookie = 
{type = 2, serial = 258, send_event = 0, display = 0x610cb0, extension = 
37748737, evtype = 0, 
            cookie = 215, data = 0x0}, pad = {140733193388034, 258, 0, 6360240, 
37748737, 215, 0, 2154716, 236223201535, 2211908158551, 489626271744, 1, 
5989894646656925699, 
            10037792, 0, 0, 177, 7046368, 7159360, 10037872, 0, 0, 129, 
8311008}}
#8  0x0000000000404b70 in main (argc=1, argv=0x7fffffffe5d0) at sent.c:690
        i = 1
        fp = 0x608dc0

Reply via email to