X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX19Q81EmHyZQA6BI7ShGPrs7rm4K6MTMyLlZKjfXx/ GpEvbXvR/63WfU From: Juan Manuel Guerrero To: djgpp-workers AT delorie DOT com Subject: argv cannot be accessed Date: Tue, 15 Jan 2008 17:32:00 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801151732.00427.juan.guerrero@gmx.de> X-Y-GMX-Trusted: 0 Reply-To: djgpp-workers AT delorie DOT com I have observed that sometimes a program started from gdb (breakpoint main) tells: argc=Cannot access memory at address 0x1b It is clear that something is broken with argc and argv. Of course, if the program is finished with 'continue' it dies with SIGSEGV. The program has been compiled with gcc 4.2.2 and djdev204. Any hints? Regards, Juan M. Guerrero