tags 679875 + upstream - unreproducible found 679875 ace-of-penguins/1.3-10 quit
| Program received signal SIGSEGV, Segmentation fault. | 0x00007ffff76a5150 in XTextWidth () from /usr/lib/x86_64-linux-gnu/libX11.so.6 | (gdb) bt | #0 0x00007ffff76a5150 in XTextWidth () from /usr/lib/x86_64-linux-gnu/libX11.so.6 | #1 0x00007ffff7bcf3b1 in help_init () at help.c:179 | #2 help (filename=0x555555556eaa "freecell.html", | text=0x5555557590c0 "<h1>Freecell</h1>\n<img align=left src=xemboss>\n<img align=right src=as>\n\n<h2><i>The Ace of Penguins</i></h2>\n\n<h2><tt>Freecell</tt></h2>\n<p>Copyright \251 1998, 2001 by DJ Delorie <tt><d...@delorie.com><br"...) at help.c:390 | #3 0x00007ffff7bcdc99 in table_loop () at table.c:463 | #4 0x0000555555555710 in main (argc=1, argv=0x7fffffffe868) at freecell.c:654 Here's a quick patch to demonstrate where the problem is. diff --git i/lib/help.c w/lib/help.c index a8dcd3d4..66805531 100644 --- i/lib/help.c +++ w/lib/help.c @@ -176,6 +176,8 @@ help_init() { if (!fonts[i]) fonts[i] = XLoadQueryFont(display, i & STYLE_TT ? "fixed" : "variable"); + if (!fonts[i]) + exit(1); thin_space[i] = XTextWidth(fonts[i], " ", 1); } for (i=0; i<NTAGS; i++) diff --git i/lib/xwin.c w/lib/xwin.c index 2c8fcfaf..658fa3e8 100644 --- i/lib/xwin.c +++ w/lib/xwin.c @@ -217,6 +217,7 @@ xwin_init(int argc, char **argv) font = XLoadQueryFont(display, "6x13bold"); if (!font) font = XLoadQueryFont(display, "6x10"); if (!font) font = XLoadQueryFont(display, "fixed"); + if (!font) exit(1); font_width = font->max_bounds.width; font_height = font->ascent + font->descent; -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org