delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/12/12/08:15:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.43.152.202 with SMTP id kx10mr2618619icc.3.1386853606978;
Thu, 12 Dec 2013 05:06:46 -0800 (PST)
X-Received: by 10.49.116.169 with SMTP id jx9mr199874qeb.0.1386853606945; Thu,
12 Dec 2013 05:06:46 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Thu, 12 Dec 2013 05:06:46 -0800 (PST)
In-Reply-To: <52a72357$0$3635$426a74cc@news.free.fr>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=37.209.111.26;
posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0
NNTP-Posting-Host: 37.209.111.26
References: <52a72357$0$3635$426a74cc AT news DOT free DOT fr>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8ab75766-10f6-4999-bd48-34e812c6c3bd@googlegroups.com>
Subject: Re: Watt32 crashing on i386
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
Injection-Date: Thu, 12 Dec 2013 13:06:46 +0000
Bytes: 2892
Lines: 67
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Am Dienstag, 10. Dezember 2013 15:21:11 UTC+1 schrieb Mateusz Viste:
> Hi there,
> 
> 
> 
> I have some troubles using watt32 with DJGPP. I have two applications 
> 
> that work fine on a pentium-grade machine, but both crash on a i386 when 
> 
> the Watt32 lib is called.
> 
> 
> 
> At first I though that it is because I was using a Watt32 lib compiled 
> 
> for Pentium (the Watt32 identification string was saying '(Pent)'), so 
> 
> then I added -march=i386 when compiling Watt32, unfortunately the 
> 
> applications are still crashing (with a SIGSEGV, General Protection 
> 
> Fault to be exact).
> 
> 
> 
> The ident. string of the Watt32 build I am using now is this:
> 
> 
> 
> Watt-32 (2.2.10), GNU-C 4.7.1 (386), djgpp 2.03, Dec  9 2013
> 
> 
> 
> Am I alone with that problem? Or maybe - by any chance - anyone already 
> 
> noticed this and would be kind enough to point me in the right direction? :)
> 
> 
> 
> Or - have anyone already seen Watt32 working on a 386-class PC?
> 
> 
> 
> I should add that I don't have an i386 machine myself to test - the 
> 
> crashes have been reported to me by a user of my program, so I can't 
> 
> even reproduce the problem at will... This same user says that "wget, 
> 
> which relies on watTCP works perfectly fine on that machine" - so my 
> 
> next step will be to try to use WatTCP instead of Watt32, and see if it 
> 
> changes anything... but I am totally in the dark here.
> 
> 
> 
> cheers,
> 
> Mateusz


I do not have a i386 to test the code.  Your 386 version dies with SIGSEGV.
Can you use bfdsymify to identify the code lines where it crashes?
Is the application available that you try to compile?

Regards,
Juan M. Guerrero

- Raw text -


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