- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Redhat 7.1 and ifort v8.1. I am compiling some Fortran code which links with the HDF5 library (from Carnegie Mellon Univ) - other programs work find with this. But this one seg faults on start up.
I have tried to debug with idb but it also fails:
> idb hexp
Linux Application Debugger for 32-bit applications, Version 8.1-3, Build 20040715
------------------
object file name: hexp
Error: could not start debuggee
Could not start process for hexp
No image loaded ... Recovering ...
I have changed my stack size to unlimited (following suggestions in other threads that this might be a problem) and tried reducing my arrays to trivial sizes (few hundred elements) all to no avail. I've tried simplifying the code but unless I cut out a whole lot it still seg faults, and with only a tiny amount of code left it works fine. I've run out of ideas for the moment.
I have tried to debug with idb but it also fails:
> idb hexp
Linux Application Debugger for 32-bit applications, Version 8.1-3, Build 20040715
------------------
object file name: hexp
Error: could not start debuggee
Could not start process for hexp
No image loaded ... Recovering ...
I have changed my stack size to unlimited (following suggestions in other threads that this might be a problem) and tried reducing my arrays to trivial sizes (few hundred elements) all to no avail. I've tried simplifying the code but unless I cut out a whole lot it still seg faults, and with only a tiny amount of code left it works fine. I've run out of ideas for the moment.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try raising the datasize limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also having the same problem. How does one increase the datasize ? I have increased the stack size to unlimited.
Thanks.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even after increasing the data segment size and the stack size, I am not able to execute my application or run it through idb. I am running my application on RedHat Linux 7.2 with Intel compilers 8.1
It is a C++ application.
Thanks,
It is a C++ application.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It could be that you have static arrays that add up to 2GB or more.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page