From: "Alex Oleynikov" To: "DJGPP Mail List" Subject: libc _free exception Date: Wed, 27 Dec 2000 16:04:01 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001C_01C0701E.A1087630" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_001C_01C0701E.A1087630 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi everybody, Seems, I have a trouble with function free() in libc. In my app I use several different libraries (MGUI, pmcom, grx20, ctx2jpg) and sometimes it GPFs on me (General Protection Fault in RMCB at eip=10cf; … error=00a4) Investigating the call frame traceback EIPs, I found that it is always function free(), who causes the exception, called from within on of the libraries (MGUI). Particularly, this line of code inside it: … <_free + 0xaa > mov %ecx, %ebx … According to the exception info DJGPP shows, ecx = 00000000 at this moment. Does anybody know what may be the problem? Maybe the different libraries I am using are compiled with different versions of libc? Any help is greatly appreciated. Alex ------=_NextPart_000_001C_01C0701E.A1087630 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi everybody,

 

Seems, I have a trouble with function free() in libc. In my app I use several = different libraries (MGUI, pmcom, grx20, ctx2jpg) and sometimes it GPFs on me = (General Protection Fault in RMCB at eip=3D10cf; … = error=3D00a4)

Investigating the call frame traceback EIPs, I found that it is always function = free(), who causes the exception, called from within on of the libraries (MGUI). Particularly, this line of code inside = it:

<_free + 0xaa > mov %ecx, %ebx

 

According to the exception info DJGPP shows, ecx =3D  00000000 at this = moment.

Does anybody know what may be the problem? Maybe the different libraries I am = using are compiled with different versions of = libc?

 

Any help is greatly appreciated.

 

Alex

------=_NextPart_000_001C_01C0701E.A1087630--