[Bug 9112] New: memory handling bad by gcc compiler with kubuntu/ubuntu 5.04

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Tue Apr 12 20:02:28 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=9112
Ubuntu (kubuntu) | gcc-4.0

           Summary: memory handling bad by gcc compiler with kubuntu/ubuntu
                    5.04
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: NEW
          Keywords: kubuntu
          Severity: major
          Priority: P2
         Component: gcc-4.0
        AssignedTo: debzilla at ubuntu.com
        ReportedBy: bagmeetb at iastate.edu
         QAContact: kubuntu-bugs at lists.ubuntu.com


This might not be an actual bug, may be something is wrong with my
configuration of gcc
  
  The output on executing simple c program gives segmentation fault sometimes
without any reason. The problem occurs when passing poiters to floats, or char
to a funtion. On return from the function, trying to access the values of the
floats passed in gives segmentation fault. Declaring the float variable static
before passing in the pointer resolves the segmentation fault in some cases.
 
  Anyway exactly the same code is compiling fine and running without errors
under gcc version 2.95 under a system with red-hat 8...

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kubuntu-bugs mailing list