ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 9152] wireshark dumps core probably in font handling

Date: Sat, 14 Sep 2013 21:43:54 +0000

Comment # 1 on bug 9152 from
Pango?

Well, font_init() does

    m_r_font = pango_font_description_from_string(prefs.gui_gtk2_font_name);

and, if prefs.gui_gtk2_font_name is null, that might explain


(wireshark:1498): Pango-CRITICAL **: file fonts.c: line 1093: assertion `str !=
NULL' failed

and might also explain

        fprintf(stderr, "wireshark: Warning: font %s not found - defaulting to
Monospace 9\n",
                prefs.gui_gtk2_font_name);

crashing - this is Solaris, so there's no wimping out by printing null string
pointers as "(null)", it's straight into a crash (which is perfectly legitimate
behavior).

So I'd guess that, somehow, prefs.gui_gtk2_font_name is a null pointer.


You are receiving this mail because:
  • You are watching all bug changes.