Sponsored Content
Top Forums Programming Using gdb, ignore beginning segmentation fault until reproduce environment segmentation fault Post 302714891 by pooyair on Saturday 13th of October 2012 04:17:09 AM
Old 10-13-2012
@Jim
The os is Stlinux (Cpu Sh4) . Welcome! | STLinux and it run with busybox.
2.6.23.17
in this article it says , about kernel debugging with stlinux :
Debugging the kernel | STLinux

but i am not sure , if my stb's kernel debugging is enable (i mean , the stb's kernel had compiled with the feature of kernel debugging) but this is not prevent me , since i had installed Stlinux in my pc , if i could achieve to enable System core dump of my stb , maybe i could debug it in my pc , how could i get system core dump with my stlinux's stb? if it would be any link , i appreciate and do it as link instruction...
Does Tail command could be helpful for my case?

P.S: for debugging purposes , i had run my STB , via NFS with the log (shown in Terminal)

Last edited by pooyair; 10-13-2012 at 06:54 AM..
 

10 More Discussions You Might Find Interesting

1. Programming

Hi! segmentation fault

I have written a program which takes a directory as command line arguments and displays all the dir and files in it. I don't know why I have a problem with the /etc directory.It displays all the directories and files untill it reaches a sub directory called peers which is in /etc/ppp/peers.the... (4 Replies)
Discussion started by: vijlak
4 Replies

2. AIX

Segmentation fault

Hi , During execution a backup binary i get following error "Program error 11 (Segmentation fault), saving core file in '/usr/datatools" Riyaz (2 Replies)
Discussion started by: rshaikh
2 Replies

3. Linux

Segmentation fault

Hi, on a linux Red HAT(with Oracle DB 9.2.0.7) I have following error : RMAN> delete obsolete; RMAN retention policy will be applied to the command RMAN retention policy is set to redundancy 2 using channel ORA_DISK_1 Segmentation fault What does it mean ? And the solution ? Many thanks. (0 Replies)
Discussion started by: big123456
0 Replies

4. Programming

segmentation fault

What is segmentation fault(core dumped) (1 Reply)
Discussion started by: gokult
1 Replies

5. Programming

Segmentation fault.

I'm getting a segmentation fault. I'm new to Linux programming. Thanks so much for all of your input.:eek: #include </usr/include/mysql++/mysql++.h> #include <stdio.h> #include <iostream> #include <sstream> #include <string.h> using namespace std; int outputToImport(const char*... (1 Reply)
Discussion started by: sepoto
1 Replies

6. Programming

segmentation fault.

This code is causing a segmentation fault and I can't figure out why. I'm new to UNIX and I need to learn how to avoid this segmentation fault thing. Thank you so much. Thanks also for the great answers to my last post.:):b: int main() { mysqlpp::Connection conn(false); if... (3 Replies)
Discussion started by: sepoto
3 Replies

7. Programming

Segmentation fault gdb

Hello everyone, I am using the debugger from C++ and these are the message I got: Program received signal SIGSEGV, Segmentation fault. 0x0040cc0e in malloc_consolidate (av=0x4ff3c0) at malloc.c:5169 in malloc.c I don't know if the problem is cause i'm trying to acess an invalid memory... (1 Reply)
Discussion started by: juliecf5
1 Replies

8. Homework & Coursework Questions

Segmentation Fault

this is a network programming code to run a rock paper scissors in a client and server. I completed it and it was working without any error. After I added the findWinner function to the server code it starts giving me segmentation fault. -the segmentation fault is fixed Current problem -Also... (3 Replies)
Discussion started by: femchi
3 Replies

9. UNIX for Dummies Questions & Answers

Using gdb to detect segmentation fault in sh?

I am using scientific linux. In the directory user/project/Build, after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh, which runs the project binary in user/project/Build/bin/project, I get a segmentation fault error. In... (1 Reply)
Discussion started by: larry burns
1 Replies

10. Programming

C. To segmentation fault or not to segmentation fault, that is the question.

Oddities with gcc, 2.95.3 for the AMIGA and 4.2.1 for MY current OSX 10.14.1... I am creating a basic calculator for the AMIGA ADE *NIX emulator in C as it does not have one. Below are two very condensed snippets of which I have added the results inside the each code section. IMPORTANT!... (11 Replies)
Discussion started by: wisecracker
11 Replies
ostrip(1)						      General Commands Manual							 ostrip(1)

NAME
ostrip - Reduce the size of object files SYNOPSIS
ostrip [options] file... OPTIONS
The following options are supported by the ostrip command: Removes the section of a linked image. Removes unreferenced symbols and unused type information from the symbol tables of a pre-link file. This results in a smaller on-disk executable file. If files modified with this option are subsequently linked, ostrip -m should be run on the linked image. Joins together two files that were previously split by the -t option into a symbol table file (image.stb) and a stripped image file (image). Removes unreferenced symbols and unused type information for the symbol tables of a post-link executable file. This results in a smaller on-disk executable file. The symbol table still contains all information required for debugging. Decompresses the output of ostrip. This option is provided for cases in which the input file is compressed in ALPHAMAGICZ format. Removes the symbol table and any strippable subsections of the section. (Performs the same operations as the strip command.) Splits an image file (image) into a symbol table file (image.stb) and a stripped image file (image). The symbol table file will contain a checksum of the stripped image. Displays the version of the ostrip command. Produces a reduced symbol table by remov- ing local information. Also deletes any locally strippable subsections of the section. (Performs the same operations as the ld -x com- mand.) Compresses the output of ostrip into ALPHAMAGICZ format. DESCRIPTION
The ostrip command reduces the components of any object file based on the options that are specified. It is designed to work with any object file, that is, files, image files, and shared object files. It does not work with (archive) files. RESTRICTIONS
None. EXAMPLES
The following command strips the local symbol table and converts the object file into ALPHAMAGICZ format: ostrip -x -Z obj.o The following command produces the symbol table file osize_mm.stb and the stripped image file osize.mm: ostrip -t osize.mm The following command joins the symbol table file osize_mm.stb to osize.mm: ostrip -j osize.mm SEE ALSO
Commands: strip(1), ld(1), mcs(1), objZ(1) ostrip(1)
All times are GMT -4. The time now is 03:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy