delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/07/11/10:06:12

From: k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at (Oberhumer Markus)
Message-Id: <199607111355.PAA21159@c210.edvz.uni-linz.ac.at>
Subject: gdb crashes if environment too big
To: djgpp-workers AT delorie DOT com (djgpp-workers)
Date: Thu, 11 Jul 1996 15:55:24 -0200 (MET DST)
Return-Read-To: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at

===============================================================================
Markus F.X.J. Oberhumer <markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at>

Subject: gdb crashes if environment too big
To: djgpp-workers AT delorie DOT com
===============================================================================

Recently I've changed my environment (about 6000 from 8192 bytes used),
and now I'm encountering a bug when starting gdb or fsdb.

I've recompiled fsdb with debug info - here is what symify says:

Exiting due to signal SIGSEGV
General Protection Fault at eip=00018c85
eax=00000001 ebx=0000117e ecx=00000004 edx=000000af esi=0006b394 edi=00001100
ebp=0006624c esp=0006623c cs=00a7 ds=00af es=00c7 fs=008f gs=00bf ss=00af
Call frame traceback EIPs:
  0x00018c85   ___dj_movedata+33
  0x00011696   _v2loadimage+1106, line 145 of v2load.c
  0x00001823   _main+403, line 129 of ed.c
  0x00012993   ___crt1_startup+115

It works fine when I unset most of my environment (like 2000 from 8192).


BTW, is someone working with a huge environment > 16 kB ?
Does this cause troubles with the usual programs (size of the
transfer buffer) ?



- Raw text -


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