Re: SIGSEGV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> i work on a multithreaded application(linux mandrake 8.0,
> kernel:2.4.10) which sometimes freezes. when i look with 'gdb', i see

> the following:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 4101 (LWP 2113)]
> 0x402a5ebc in memcpy () from /lib/libc.so.6
> (gdb) info locals
> No symbol table info available.

 Make sure you don't use '-s' flag when linking the executable (at
least during development). That flag causes ld to remove symbol table 
information from the executable.
 
> and also does this message make sure that, signal is caught during a
> memcpy operation?

 I would think so. memcpy() is a likely candidate for causing SIGSEGV -

one of the pointers passed to it may be invalid.

Ravi.

PS: This isn't strictly a kernel question though..

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux