[uClibc 0001493]: fopen(<filenam>, "a") or "w" causes crash. The gdb data follows:

bugs at busybox.net bugs at busybox.net
Fri Sep 7 14:36:10 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1493 
====================================================================== 
Reported By:                akennedy
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1493
Category:                   Other
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             09-06-2007 18:44 PDT
Last Modified:              09-07-2007 07:36 PDT
====================================================================== 
Summary:                    fopen(<filenam>, "a") or "w" causes crash.  The gdb
data follows:
Description: 
http://busybox.net/bugs/view.php?id=0  0x0805d17f in __malloc_consolidate ()
(gdb) backtrace
http://busybox.net/bugs/view.php?id=0  0x0805d17f in __malloc_consolidate ()
http://busybox.net/bugs/view.php?id=1  0x0805c65d in malloc ()
http://busybox.net/bugs/view.php?id=2  0x0805a98f in _stdio_fopen ()
http://busybox.net/bugs/view.php?id=3  0x0805a61e in fopen ()

====================================================================== 

---------------------------------------------------------------------- 
 akennedy - 09-07-07 07:36  
---------------------------------------------------------------------- 
This error seems to be only in the file:
libc/stdlib/malloc-standard/free.c
because when I changed to the simple-malloc, I no longer get the segfault. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-06-07 18:44  akennedy       New Issue                                    
09-06-07 18:44  akennedy       Status                   new => assigned     
09-06-07 18:44  akennedy       Assigned To               => uClibc          
09-06-07 19:07  akennedy       Issue Monitored: akennedy                    
09-07-07 07:36  akennedy       Note Added: 0002726                          
======================================================================




More information about the uClibc-cvs mailing list