Subject: bug#16049: 24.3.50; Crash on startup on Mac OS X 10.9

From: Jan Djärv <[email-masked]>
Date: Thu, 5 Dec 2013 20:59:00 +0100

Hello.

5 dec 2013 kl. 19:19 skrev Eli Zaretskii <[email-masked]>:

>> From: Jan Djärv <[email-masked]>
>> Date: Thu, 5 Dec 2013 18:43:15 +0100
>> Cc: Jules Colding <[email-masked]>,
>> 	"[email-masked]" <[email-masked]>
>> 
>> Program received signal EXC_BAD_ACCESS, Could not access memory.
>> Reason: KERN_INVALID_ADDRESS at address: 0xffffffeeb81501ec
>> 0x0000000100005da4 in update_window (w=0x101915a08, force_p=true) at dispnew.c:3374
>> 3374	      if (mode_line_row->mode_line_p && mode_line_row->enabled_p)
>> (gdb) bt full
>> #0  0x0000000100005da4 in update_window (w=0x101915a08, force_p=true) at dispnew.c:3374
> 
> In what bzr version is that?  The original report was about a very old
> version (from October) -- is this one from then as well?

No, this is from today, revno: 115388

> 
>> 	end = (struct glyph_row *) 0xffffffeeb8150100
>> 	mode_line_row = (struct glyph_row *) 0xffffffeeb8150100
> 
> So both end and mode_line_row are bad pointers, is that right?  What
> is the value of desired_matrix->nrows ?

As I told Martin:

(gdb) p desired_matrix->nrows
$1 = -306783372

This is not random, I get the same value each time.  Overflow?

	Jan D.