sk@zachi3000:~/archive/sent$ cat /etc/issue; zzuf -r 0.06 ./sent sent.c Ubuntu 15.10 \n \l error, cannot load font: 'ubuntu:size=10' error, cannot load font: 'roboto:size=10' error, cannot load font: 'dejavu:size=10' error, cannot load font: 'ubuntu:size=11' error, cannot load font: 'roboto:size=11' error, cannot load font: 'dejavu:size=11' error, cannot load font: 'ubuntu:size=12' error, cannot load font: 'roboto:size=12' error, cannot load font: 'dejavu:size=12' error, cannot load font: 'ubuntu:size=14' error, cannot load font: 'roboto:size=14' error, cannot load font: 'dejavu:size=14' error, cannot load font: 'ubuntu:size=16' error, cannot load font: 'roboto:size=16' error, cannot load font: 'dejavu:size=16' error, cannot load font: 'ubuntu:size=18' error, cannot load font: 'roboto:size=18' error, cannot load font: 'dejavu:size=18' error, cannot load font: 'ubuntu:size=20' error, cannot load font: 'roboto:size=20' error, cannot load font: 'dejavu:size=20' error, cannot load font: 'ubuntu:size=23' error, cannot load font: 'roboto:size=23' error, cannot load font: 'dejavu:size=23' error, cannot load font: 'ubuntu:size=26' error, cannot load font: 'roboto:size=26' error, cannot load font: 'dejavu:size=26' error, cannot load font: 'ubuntu:size=29' error, cannot load font: 'roboto:size=29' error, cannot load font: 'dejavu:size=29' error, cannot load font: 'ubuntu:size=33' error, cannot load font: 'roboto:size=33' error, cannot load font: 'dejavu:size=33' error, cannot load font: 'ubuntu:size=37' error, cannot load font: 'roboto:size=37' error, cannot load font: 'dejavu:size=37' error, cannot load font: 'ubuntu:size=42' error, cannot load font: 'roboto:size=42' error, cannot load font: 'dejavu:size=42' error, cannot load font: 'ubuntu:size=48' error, cannot load font: 'roboto:size=48' error, cannot load font: 'dejavu:size=48' error, cannot load font: 'ubuntu:size=54' error, cannot load font: 'roboto:size=54' error, cannot load font: 'dejavu:size=54' error, cannot load font: 'ubuntu:size=61' error, cannot load font: 'roboto:size=61' error, cannot load font: 'dejavu:size=61' error, cannot load font: 'ubuntu:size=69' error, cannot load font: 'roboto:size=69' error, cannot load font: 'dejavu:size=69' error, cannot load font: 'ubuntu:size=78' error, cannot load font: 'roboto:size=78' error, cannot load font: 'dejavu:size=78' error, cannot load font: 'ubuntu:size=88' error, cannot load font: 'roboto:size=88' error, cannot load font: 'dejavu:size=88' error, cannot load font: 'ubuntu:size=99' error, cannot load font: 'roboto:size=99' error, cannot load font: 'dejavu:size=99' error, cannot load font: 'ubuntu:size=112' error, cannot load font: 'roboto:size=112' error, cannot load font: 'dejavu:size=112' error, cannot load font: 'ubuntu:size=127' error, cannot load font: 'roboto:size=127' error, cannot load font: 'dejavu:size=127' error, cannot load font: 'ubuntu:size=143' error, cannot load font: 'roboto:size=143' error, cannot load font: 'dejavu:size=143' error, cannot load font: 'ubuntu:size=162' error, cannot load font: 'roboto:size=162' error, cannot load font: 'dejavu:size=162' error, cannot load font: 'ubuntu:size=183' error, cannot load font: 'roboto:size=183' error, cannot load font: 'dejavu:size=183' error, cannot load font: 'ubuntu:size=206' error, cannot load font: 'roboto:size=206' error, cannot load font: 'dejavu:size=206' error, cannot load font: 'ubuntu:size=233' error, cannot load font: 'roboto:size=233' error, cannot load font: 'dejavu:size=233' error, cannot load font: 'ubuntu:size=263' error, cannot load font: 'roboto:size=263' error, cannot load font: 'dejavu:size=263' error, cannot load font: 'ubuntu:size=297' error, cannot load font: 'roboto:size=297' error, cannot load font: 'dejavu:size=297' error, cannot load font: 'ubuntu:size=335' error, cannot load font: 'roboto:size=335' error, cannot load font: 'dejavu:size=335' zzuf[s=0,r=0.06]: signal 11 (SIGSEGV) Reading symbols from sent...done. [New LWP 10513] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `./sent sent.c'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000403245 in getfontsize (s=0x20f1240, width=0x7ffe892942b8, height=0x7ffe892942b4) at sent.c:327 327 if (fonts[j]->h * lfac <= xw.uh) (gdb) bt full #0 0x0000000000403245 in getfontsize (s=0x20f1240, width=0x7ffe892942b8, height=0x7ffe892942b4) at sent.c:327 i = -367561951 j = 29 curw = 0 imax = 34576768 lfac = 17.7999992 #1 0x0000000000404093 in xdraw () at sent.c:525 height = 32766 width = 2863365393 i = 32723 im = 0x0 #2 0x0000000000404a2a in expose (e=0x7ffe89294300) at sent.c:645 No locals. #3 0x0000000000403fe0 in run () at sent.c:510 ev = {type = 12, xany = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865}, xkey = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, root = 0, subwindow = 4535485466496, time = 4535485464576, x = 0, y = 32723, x_root = 0, y_root = 0, state = 0, keycode = 0, same_screen = 34660384}, xbutton = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, root = 0, subwindow = 4535485466496, time = 4535485464576, x = 0, y = 32723, x_root = 0, y_root = 0, state = 0, button = 0, same_screen = 34660384}, xmotion = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, root = 0, subwindow = 4535485466496, time = 4535485464576, x = 0, y = 32723, x_root = 0, y_root = 0, state = 0, is_hint = 0 '\000', same_screen = 34660384}, xcrossing = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, root = 0, subwindow = 4535485466496, time = 4535485464576, x = 0, y = 32723, x_root = 0, y_root = 0, mode = 0, detail = 0, same_screen = 34660384, focus = 0, state = 2878151768}, xfocus = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, mode = 0, detail = 0}, xexpose = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, x = 0, y = 0, width = 1920, height = 1056, count = 0}, xgraphicsexpose = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, drawable = 67108865, x = 0, y = 0, width = 1920, height = 1056, count = 0, major_code = 1056, minor_code = 0}, xnoexpose = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, drawable = 67108865, major_code = 0, minor_code = 0}, xvisibility = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, state = 0}, xcreatewindow = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, parent = 67108865, window = 0, x = 1920, y = 1056, width = 0, height = 1056, border_width = 0, override_redirect = 32723}, xdestroywindow = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, event = 67108865, window = 0}, xunmap = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, event = 67108865, window = 0, from_configure = 1920}, xmap = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, event = 67108865, window = 0, override_redirect = 1920}, xmaprequest = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, parent = 67108865, window = 0}, xreparent = { type = 12, serial = 37, send_event = 0, display = 0x20f9980, event = 67108865, window = 0, parent = 4535485466496, x = 0, y = 1056, override_redirect = 0}, xconfigure = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, event = 67108865, window = 0, x = 1920, y = 1056, width = 0, height = 1056, border_width = 0, above = 0, override_redirect = 0}, xgravity = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, event = 67108865, window = 0, x = 1920, y = 1056}, xresizerequest = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, width = 0, height = 0}, xconfigurerequest = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, parent = 67108865, window = 0, x = 1920, y = 1056, width = 0, height = 1056, border_width = 0, above = 0, detail = 0, value_mask = 34660384}, xcirculate = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, event = 67108865, window = 0, place = 1920}, xcirculaterequest = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, parent = 67108865, window = 0, place = 1920}, xproperty = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, atom = 0, time = 4535485466496, state = 0}, xselectionclear = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, selection = 0, time = 4535485466496}, xselectionrequest = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, owner = 67108865, requestor = 0, selection = 4535485466496, target = 4535485464576, property = 140544214827008, time = 0}, xselection = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, requestor = 67108865, selection = 0, target = 4535485466496, property = 4535485464576, time = 140544214827008}, xcolormap = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, colormap = 0, new = 1920, state = 1056}, xclient = { type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, message_type = 0, format = 1920, data = { b = "\000\000\000\000 \004\000\000\000\000\000\000\323\177\000\000\000\000\000", s = {0, 0, 1056, 0, 0, 0, 32723, 0, 0, 0}, l = {4535485464576, 140544214827008, 0, 0, 34660384}}}, xmapping = { type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, request = 0, first_keycode = 0, count = 1920}, xerror = {type = 12, display = 0x25, resourceid = 0, serial = 34576768, error_code = 1 '\001', request_code = 0 '\000', minor_code = 0 '\000'}, xkeymap = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, window = 67108865, key_vector = "\000\000\000\000\000\000\000\000\200\a\000\000 \004\000\000\000\000\000\000 \004\000\000\000\000\000\000\323\177\000"}, xgeneric = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, extension = 67108865, evtype = 0}, xcookie = {type = 12, serial = 37, send_event = 0, display = 0x20f9980, extension = 67108865, evtype = 0, cookie = 0, data = 0x42000000780}, pad = {140544214827020, 37, 0, 34576768, 67108865, 0, 4535485466496, 4535485464576, 140544214827008, 0, 0, 34660384, 140547092978776, 34640304, 33, 34660384, 140547092978776, 160, 48, 34830800, 140544214827011, 34660400, 0, 34640064}} #4 0x0000000000404d99 in main (argc=1, argv=0x7ffe89294500) at sent.c:691 i = 1 fp = 0x20f1010 (gdb)