This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13070] New: Illegal Instruction occurs while accessing time() from library
- From: "sarma.rupam at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 10 Aug 2011 07:42:00 +0000
- Subject: [Bug libc/13070] New: Illegal Instruction occurs while accessing time() from library
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13070
Summary: Illegal Instruction occurs while accessing time() from
library
Product: glibc
Version: 2.3.2
Status: NEW
Severity: critical
Priority: P2
Component: libc
AssignedTo: drepper.fsp@gmail.com
ReportedBy: sarma.rupam@gmail.com
Created attachment 5888
--> http://sourceware.org/bugzilla/attachment.cgi?id=5888
gdb and mapped info
The application, my_appl is linked with a dynamic library, my_lib which call
time() and localtime() and then gettimeofday.
Sometime SIGILL exception catch by the application which executing
time/localtime.
Strange thing is PC points to PLT of application and LR points to a function in
my_lib which calls time/localtime/gettimeofday.
Is it possible that PLT gets modified? I think its a read-only section. Then
how come SIGILL occurs from PLT area?
my_appli and my_lib is in C++
Please refer attached note for gdb o/p and mapped file info.
Note: Same application also catches SIGSEGV sometimes which is not mention here
right now, which PC is also points to PLT area.
Thanks in advance.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.