- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I'm pretty familiar with segfaults but this one is proving a bit of a stumbling block.
I allocate an array and pass it to a subroutine. In the routine if I try to access the array element by element all is fine but if I try even the simplest whole array expression, i.e.
print*, array
it segfaults. Actually I can even apply the size(array, n) functions and get the results I expect.
Compiling with -C -traceback doesn't give any extra information which is a bit strange.
Using idb I can see the array and it has the correct size and I can print its contents. But the segfaults still occur.
Any suggestions would be much appreciated...
Jeremy
Link Copied
0 Replies

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