Bug 644673 - Floating Point exception in malloc.c
Summary: Floating Point exception in malloc.c
Keywords:
Status: CLOSED DUPLICATE of bug 597578
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 13
Hardware: i686
OS: Linux
low
high
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-19 22:30 UTC by yyetim
Modified: 2016-11-24 16:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-20 08:25:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.