lkml.org 
[lkml]   [2002]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectADS GCP reboots when running the application!
Date
Hi !
I am using "2.4.9-ac10-rmk2-np1-ads3" kernel on ADS Graphic Client Board
(StrongARM). When i run the following c++ code the system reboots.

************************************************************************
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <iterator>

using namespace std;

int main(int argc, char** argv)
{
string raw_filename = "input.out";
ifstream raw_file(raw_filename.c_str());

vector<long> data;

copy(istream_iterator<long>(raw_file),istream_iterator<long>(),back_inserter(data));

data.erase(data.begin());

return 0;
}
**********************************************************************
Here, "input.out" is a file containing 10000 numbers. If the numbers in the
file "input.out" are 5000 then the system works fine.
The kernel is not showing any OOPS or panic , it just reboots ! what i
think is that some double fault ( fault inside fault handler ) or something
similar to that might be causing the precessor to reboot. Can someone give
some direction !

regards,
rpm

ps: I am not attaching the "input.out" file due to large size if some wants
to test , i can send the file !

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.054 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site