Ethereal-dev: [Ethereal-dev] GTK/pango assertion

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Tue, 28 Oct 2003 01:13:32 +0100
Latest nightly snapshot produces this assertion in 
GTK+ 2.2 on Windows:

** (ethereal.exe:1328): CRITICAL **: file fonts.c: line 824 (pango_font_description_from_string): 
assertion `str != NULL' failed

And a crash after that (reported by DrMingW):

ethereal.exe caused an Access Violation at location 01793a6b in module libpango-1.0-0.dll 
Reading from location 00000000.

Registers:
eax=020b7d38 ebx=0207a9f0 ecx=00000000 edx=01a20608 esi=00000000 edi=00000001
eip=01793a6b esp=0022fbd0 ebp=0022fbe8 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000202

Call stack:
01793A6B  libpango-1.0-0.dll:01793A6B  pango_font_description_copy
0096CF2D  ethereal.exe:0096CF2D  main  main.c:2205
int main(
        int argc = 0,
        char * * argv = &0x00000000)
        ...
        #else
          m_r_font = pango_font_description_from_string(prefs->gui_font_name);
>         m_b_font = pango_font_description_copy(m_r_font);
          pango_font_description_set_weight(m_b_font, PANGO_WEIGHT_BOLD);
        #endif
        ...

00401182  ethereal.exe:00401182
00401018  ethereal.exe:00401018
77E814C7  kernel32.dll:77E814C7  _BaseProcessStart@4

--------

I haven't the faintest idea what's going on.

Gisle V.

There are only 10 types of people in this world... 
those who understand binary, and those who don't.