01-25-2010
Try compiling with -ggdb and running with the gdb command. When it crashes inside gdb, you can run 'bt f' to see what line it segfaults at.
10 More Discussions You Might Find Interesting
1. Programming
i am trying to use the history functions in a c++ program along with a custom signal handler for SIGINT.
the prog works fine catching signals without the line:
add_history(*args);
but as soon as this line is added, the prog segfaults on SIGINT.
does anyone have experience using gnu... (2 Replies)
Discussion started by: a1g0rithm
2 Replies
2. UNIX for Dummies Questions & Answers
Hello, sorry if this has been posted before but i was wondering if there is a way to run a program until a segmentation fault is found.
Currently i'm using a simple shell script which runs my program 100 times, sleeps 1 second because srand(time(0)) is dependent on seconds. Is there a possible... (1 Reply)
Discussion started by: aslambilal
1 Replies
3. Programming
After allocating memory for some variables, segfault is often to happen, due to the same reason: Address 0x1cd00000103 out of bounds
It is welcome to recommend some treatments. Thanks
e.g.
is_done = 0x1cd00000103 <Address 0x1cd00000103 out of bounds>,
hood = 0x23c00000247,
c =... (11 Replies)
Discussion started by: cdbug
11 Replies
4. Solaris
We have a Solaris 8 server which users login to via VNC to get a desktop. On that desktop these users use Netscape Communicator 4.9 to access a very important mail account. Unfortunately Netscape has started segfaulting regularly.
Does anyone have any ideas how I can try to find out what point... (1 Reply)
Discussion started by: aussieos
1 Replies
5. Programming
1. Even if i have the handles for ctrl+c it gives off a segfault
2. syslog doesn't log LOG_ERR event with log masked specified or non specified, it logs LOG_WARNING however...
#include <sys/types.h> /* include this before any other sys headers */
#include <sys/stat.h>
#include <fcntl.h>... (2 Replies)
Discussion started by: james2432
2 Replies
6. UNIX for Dummies Questions & Answers
So the title kinda says it all. I was getting a SEGfault, so I decided to compile with the -g option to find where, and low and behold the SEGfault doesn't occur.
I suppose the answer is "Problem solved! You fixed yet another SEGfault." But I am very curious how this could have happened.
... (3 Replies)
Discussion started by: drbones
3 Replies
7. Programming
I have a program that allows users to specify the debug log file location and name.
I have tried using the access() and stat() but they both segfault if the drive say (d:\) is invalid. Both seem to be fine if the drive exists.
Could someone please point me in the direction to a function that... (1 Reply)
Discussion started by: robfwauk
1 Replies
8. Programming
hello all,
my question is not about How code can be rewritten, i just wanna know even though i am not using read only memory of C (i have declared str) why this function gives me segfault :wall:and the other code executes comfortably though both code uses same pointer arithmetic.
... (4 Replies)
Discussion started by: zius_oram
4 Replies
9. Programming
I am populating an array of string and print it.
But it going in infinite loop and causing segfault.
char Name = {
"yahoo",
"rediff",
"facebook",
NULL
};
main(int argc, char* argv)
{
int j = 0;
... (7 Replies)
Discussion started by: rupeshkp728
7 Replies
10. Programming
Another project, another bump in the road and another chance to learn. I've been trying to open gzipped files and parse data from them and hit a snag. I have data in gzips with a place followed by an ip or ip range sort of like this:
Some place:x.x.x.x-x.x.x.x
I was able to modify some code... (6 Replies)
Discussion started by: Azrael
6 Replies
ID3V2(1) User Command ID3V2(1)
NAME
id3v2 - Adds/Modifies/Removes/Views id3v2 tags, converts/lists id3v1 tags
SYNOPSIS
id3v2 [ OPTION ] [ FILE ]
OPTIONS
-h, --help
Display help and exit
-f, --list-frames
Display all possible frames for id3v2
-L, --list-genres
Lists all id3v1 genres
-v, --version
Display version information and exit
-l, --list
Lists the tag(s) on the file(s)
-R, --list-rfc822
Lists using an rfc822-style format for output
-d, --delete-v2
Deletes id3v2 tags
-s, --delete-v1
Deletes id3v1 tags
-D, --delete-all
Deletes both id3v1 and id3v2 tags
-C, --convert
Converts id3v1 tag to id3v2
-a, --artist ARTIST
Set the artist information
-A, --album ALBUM
Set the album title information
-t, --song SONG
Set the song title information
-c, --comment DESCRIPTION:COMMENT
Set the comment information
-g, --genre num
Set the genre number
-y, --year num
Set the year
-T, --track num/num
Set the track number/(optional) total tracks
NOTE
You can set the value for any id3v2 frame by using '--' and then frame id
For example:
id3v2 --TIT3 Monkey! file.mp3
would set the "Subtitle/Description" frame to "Monkey!".
SEE ALSO
id3tag(1), id3info(1), id3convert(1)
AUTHOR
id3v2 is by myers <myers_carpenter@users.sourceforge.net> with major portions used from id3lib examples. Manual page written for Debian
GNU/Linux by Robert Woodcock <rcw@debian.org>.
May 2000 ID3V2(1)