[Bug 886] New: [PATCH] Segmentation fault triggered from DEBUG_BLOCK_PRINT in block-raw.c because logfile is NULL

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Thu Sep 20 05:31:05 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=886

           Summary: [PATCH] Segmentation fault triggered from
                    DEBUG_BLOCK_PRINT in block-raw.c because logfile is NULL
           Product: OpenMoko
           Version: current svn head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: qemu-neo1973
        AssignedTo: dodji at openedhand.com
        ReportedBy: zmedico at gmail.com
                CC: buglog at lists.openmoko.org


This problem appeared when upstream changes were pulled in revision 2981. This
triggers the following segmentation fault when running flash.sh:

openmoko/flash.sh: line 88: 1421 Segmentation fault (core dumped) $qemu
-mtdblock "$script_dir/$flash_base" -kernel "$script_dir/$1" -serial stdio
-nographic -usb -monitor null 0<&0

I used gdb to generate a backtrace and found that the segmentation fault was due
to the DEBUG_BLOCK_PRINT macro in block-raw.c being called while logfile was NULL.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list