www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/01/14:36:26

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: <cygwin-apps AT sources DOT redhat DOT com>
Subject: RE: prev/curr/test behaviour
Date: Sat, 1 Dec 2001 13:34:04 -0600
Message-ID: <NCBBIHCHBLCMLBLOBONKCELBCHAA.g.r.vansickle@worldnet.att.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
In-Reply-To: <00dd01c17a89$419bead0$0200a8c0@lifelesswks>

> ----- Original Message -----
> From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
> > I just built it now, and I'm getting SIGSEVs in
> fill_missing_category(), and I
> > never see the chooser dialog.  That's nowhere near anything I'm doing,
> so I
> > don't think it's me.
>
> Hmm, strange.
>
> Is that consistent regardless of the souce type -
> local/installfromnet/download only?

The SIGSEVs are, but where they come from varies:

install from net and download only:
	choose.cc line 541: "if (!pkg->Categories.number ())"

pkg == 0x330009 as I look at it right now, seems "un-pointerlike", but obviously
not NULL.  Looking at in the local variable window shows a lot of 0x00's, name
and installed_from prts == 0x00, and... gdbtk just crashed so I can't tell you
more ;-).

local:
	gdb locks up in the same manner it did with the endless loop you fixed before.
I don't know if that's what it is or not, but that's what it behaves like.  If
not running under gdb, it'll GPF.

Just diffed my local choose.cc against HEAD to be sure:

< do_choose (HINSTANCE h)
---
> do_choose (HINSTANCE h, HWND owner)
1501c1501
<   rv = DialogBox (h, MAKEINTRESOURCE (IDD_CHOOSE), 0, dialog_proc);
---
>   rv = DialogBox (h, MAKEINTRESOURCE (IDD_CHOOSE), owner, dialog_proc);

That's just me propagating the parent to the dialog....

--
Gary R. Van Sickle
Brewer.  Patriot.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019