it's when I do:    char line[LINEBUFSIZE];
where LINEBUFSIZE is 8388608

 -------------
Jim Michaels
[email protected]
[email protected]
http://RenewalComputerServices.com
http://JesusnJim.com (computer repair info, programming)


      From: David Macek <[email protected]>
 To: [email protected] 
 Sent: Sunday, December 14, 2014 9:51 AM
 Subject: Re: [Mingw-w64-public] any reason why stack overflow just calling 
plain function?
   
On 14. 12. 2014 1:11, Jim Michaels wrote:


> 1st line of function is
> std::cerr<<"sometext"<<std::endl
> but it never gets executed, I get stack overflow crash before this gets 
> shown. why is this?

Can you post a compilable small example that still crashes (http://sscce.org/)? 
(Preferably not inside an email, but onto a paste site.)

As to the reason of the error, do you allocate a big array somewhere in the 
function?

-- 
David Macek

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


  
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to