hi all
i'm trying to execute a c program under linux RH and it gives me segmentation fault, this program was running under unix at&t
anybody kow what the problem could be?
thanx in advance
regards (2 Replies)
Hello out there!!!
I have a Red Hat Entreprise Linux 4 server and I am encountering this error
# grep
Segmentation Fault
I know it is not the right use of grep command, but I did that just for testing purpose,then I did
# which grep
/bin/grep
# ls -l /bin/grep
-rwxr-xr-x 1 root... (4 Replies)
I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this :
i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Hi Guys,
I just installed and booted a zone called testzone. When I logged in remotely and tried changing to root user I get this error:
"Segmentation fault"
Can someone please help me resolve this?
Thanks alot (2 Replies)
I keep getting this fault on a lot of the codes I write, I'm not exactly sure why so I'd really appreciate it if someone could explain the idea to me.
For example this code
#include <stdio.h>
main()
{
unsigned long a=0;
unsigned long b=0;
int z;
{
printf("Enter two... (2 Replies)
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
LEARN ABOUT REDHAT
get_kernel_syms
GET_KERNEL_SYMS(2) Linux Module Support GET_KERNEL_SYMS(2)NAME
get_kernel_syms - retrieve exported kernel and module symbols
SYNOPSIS
#include <linux/module.h>
int get_kernel_syms(struct kernel_sym *table);
DESCRIPTION
If table is NULL, get_kernel_syms returns the number of symbols available for query. Otherwise it fills in a table of structures:
struct kernel_sym
{
unsigned long value;
char name[60];
};
The symbols are interspersed with magic symbols of the form #module-name with the kernel having an empty name. The value associated with a
symbol of this form is the address at which the module is loaded.
The symbols exported from each module follow their magic module tag and the modules are returned in the reverse order they were loaded.
RETURN VALUE
Returns the number of symbols returned. There is no possible error return.
SEE ALSO create_module(2), init_module(2), delete_module(2), query_module(2).
BUGS
There is no way to indicate the size of the buffer allocated for table. If symbols have been added to the kernel since the program queried
for the symbol table size, memory will be corrupted.
The length of exported symbol names is limited to 59.
Because of these limitations, this system call is deprecated in favor of query_module.
Linux 26 Dec 1996 GET_KERNEL_SYMS(2)