Bug 97267

Summary: gmtime() causing segv
Product: [Retired] Red Hat Linux Reporter: Need Real Name <rovero>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 9CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 20:09:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2003-06-12 13:05:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529

Description of problem:
/lib/tls/libc.so.6  __tz_convert() and/or gmtime() 

Port of a Unix (Solaris/HP program) which frequently calls gmtime() is
failing.  Verified that input values to function are correct.  Sample
stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x400842e0 in _IO_new_file_underflow () from /lib/tls/libc.so.6
(gdb) up
#1  0x0829fab1 in __underflow ()
(gdb) up
#2  0x0829e319 in _IO_file_xsgetn ()
(gdb) up
#3  0x082a092d in _IO_sgetn ()
(gdb) up
#4  0x082d5175 in fread_unlocked ()
(gdb) up
#5  0x082a585b in __tzfile_read ()
(gdb) up
#6  0x082a4d19 in tzset_internal ()
(gdb) up
#7  0x082a47c3 in __tz_convert ()
(gdb
#8  0x082a4655 in gmtime ()



Version-Release number of selected component (if applicable):
/lib/tlis/libc.so.6

How reproducible:
Always

Steps to Reproduce:
1. Run StormTraX
2.
3.
    

Actual Results:  After a small number of incoming lightning strokes, segv from
gmtime()

Expected Results:  Program should continue to run, no segv

Additional info:

Comment 1 Jakub Jelinek 2003-06-17 16:06:00 UTC
Without a testcase there is nothing we can do about it.

Comment 2 Jakub Jelinek 2004-10-03 20:09:37 UTC
No testcase.  Closing.