hi guys i am trying to slove a problem

bhaskarreddy006

bhaskarreddy006

@bhaskarreddy006-LEB19M Oct 26, 2024
i have writeen the code in c language and it works fyne in my local machine. when i tried to execute in the remote machine in my competetion it show some "SEGEMENTATION ERROR" is there any thing that you can say about it. use the codemaina___X.c as your file for execution ....i tried the execution in TC in windows and it works fyn .. problem when i am trying to run in solaris ....the env and details you cna found in the LATEST problem document

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Pensu

    Pensu

    @pensu-8tNeGU Dec 31, 2011

    Segmentation error normally occurs when you try to access a memory location which CPU cant address. Its one of the hardest error to locate and remove. I havent seen you code but i will advice you to check your code thoroughly, may be you are using some invalid memory reference somewhere.
  • Rakesh Chaudhari

    Rakesh Chaudhari

    @rakesh-chaudhari-c9VYbZ Dec 31, 2011

    i am agree with PENSU
    PENSU IS RIGHT
  • bhaskarreddy006

    bhaskarreddy006

    @bhaskarreddy006-LEB19M Jan 2, 2012

    thanks for the support guys actually its an automatic testing software that is going to evaluate the code with different set of test cases... i forget to give the input using the command line arguments. thanks you pensu