Created
July 5, 2014 14:30
-
-
Save fboris/8fba8fb320fe35fe3306 to your computer and use it in GitHub Desktop.
gdb log for bug of allocating memory in heap 4 (https://github.com/moon-bear/firmware/commit/4e8c54db2a27fa2552fcb13e8c1faa9511c18186)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attaching to program: /home/fboris/quadrotor_workspace/moon-bear/shengwen_firmware/program/firmware.elf, Remote target | |
0x08010a32 in __ieee754_sqrtf () | |
A debugging session is active. | |
Inferior 1 [Remote target] will be detached. | |
Quit anyway? (y or n) Detaching from program: /home/fboris/quadrotor_workspace/moon-bear/shengwen_firmware/program/firmware.elf, Remote target | |
Remote debugging using /dev/ttyACM0 | |
Target voltage: unknown | |
Available Targets: | |
No. Att Driver | |
1 STM32F4xx | |
Attaching to program: /home/fboris/quadrotor_workspace/moon-bear/shengwen_firmware/program/firmware.elf, Remote target | |
0x0800ddb6 in vPortFree (pv=0x20007088) at lib/FreeRTOS/Source/portable/MemMang/heap_4.c:267 | |
267 configASSERT( ( pxLink->xBlockSize & xBlockAllocatedBit ) != 0 ); | |
262 | |
263 /* This casting is to keep the compiler from issuing warnings. */ | |
264 pxLink = ( void * ) puc; | |
265 | |
266 /* Check the block is actually allocated. */ | |
267 configASSERT( ( pxLink->xBlockSize & xBlockAllocatedBit ) != 0 ); | |
268 configASSERT( pxLink->pxNextFreeBlock == NULL ); | |
269 | |
270 if( ( pxLink->xBlockSize & xBlockAllocatedBit ) != 0 ) | |
271 { | |
Continuing. | |
Program received signal SIGINT, Interrupt. | |
0x0800ddb6 in vPortFree (pv=0x20007088) at lib/FreeRTOS/Source/portable/MemMang/heap_4.c:267 | |
267 configASSERT( ( pxLink->xBlockSize & xBlockAllocatedBit ) != 0 ); | |
0x0800ddb6 in vPortFree (pv=0x20007088) at lib/FreeRTOS/Source/portable/MemMang/heap_4.c:267 | |
267 configASSERT( ( pxLink->xBlockSize & xBlockAllocatedBit ) != 0 ); | |
Quit | |
A debugging session is active. | |
Inferior 1 [Remote target] will be detached. | |
Quit anyway? (y or n) Detaching from program: /home/fboris/quadrotor_workspace/moon-bear/shengwen_firmware/program/firmware.elf, Remote target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment