mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: rpm <rajendra.mishra@timesys.com>
To: linux-kernel@vger.kernel.org
Subject: ADS GCP reboots when running the application!
Date: Mon, 13 May 2002 17:08:30 +0530	[thread overview]
Message-ID: <200205131138.g4DBcU526690@localhost.localdomain> (raw)

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 !


             reply	other threads:[~2002-05-13 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13 11:38 rpm [this message]
2002-05-13 16:37 ` Russell King
2002-05-14  9:11   ` rpm
2002-05-14  9:29     ` Russell King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200205131138.g4DBcU526690@localhost.localdomain \
    --to=rajendra.mishra@timesys.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®