Bug 644673

Summary: Floating Point exception in malloc.c
Product: [Fedora] Fedora Reporter: yyetim
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 13CC: fweimer, jakub, schwab
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: 2010-10-20 08:25:02 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 yyetim 2010-10-19 22:30:48 UTC
Description of problem:

Program received signal SIGFPE, Arithmetic exception.
0x00acc3bb in sYSTRIm (av=0xbe43a0, p=<value optimized out>, have_lock=0)
    at malloc.c:3469
3469  extra = ((top_size - pad - MINSIZE + (pagesz-1)) / pagesz - 1) * pagesz;
(gdb) where
#0  0x00acc3bb in sYSTRIm (av=0xbe43a0, p=<value optimized out>, have_lock=0)
    at malloc.c:3469
#1  _int_free (av=0xbe43a0, p=<value optimized out>, have_lock=0)
    at malloc.c:5040
#2  0x00ab9cba in _IO_new_fclose (fp=0xb7f00008) at iofclose.c:88
#3  0x0011567b in internal_endent (name=0xbfffecd0 "yavuz.ee.Princeton.EDU", 
    result=<value optimized out>, buffer=<value optimized out>, buflen=1024, 
    errnop=0x81f2824, herrnop=0xbfffec84) at nss_files/files-XXX.c:162
#4  _nss_files_gethostbyname_r (name=0xbfffecd0 "yavuz.ee.Princeton.EDU", 
    result=<value optimized out>, buffer=<value optimized out>, buflen=1024, 
    errnop=0x81f2824, herrnop=0xbfffec84) at nss_files/files-hosts.c:290
#5  0x08106b9c in gethostbyname_r ()
#6  0x0810691b in gethostbyname ()
#7  0x0806cb07 in lookup_ip(char const*) ()
#8  0x0806cb8f in get_myip() ()
#9  0x08048f3f in main ()
(gdb) 



Version-Release number of selected component (if applicable):
glibc-static-2.12.1-2.i686

How reproducible:
Everytime

Steps to Reproduce:
1. download streamit application filterbank
2. perform static compilation
3. run executable
  
Actual results:
Fails with Floating Point Exception.

Expected results:
Output bunch of numbers..

Additional info:
It is hard to setup this configuration to reproduce the error

Comment 1 Andreas Schwab 2010-10-20 08:25:02 UTC

*** This bug has been marked as a duplicate of bug 597578 ***