[#7159] 4.5 toolchain gcc.dg/graphite/run-id-1.c execution test make kernel panic

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#7159] 4.5 toolchain gcc.dg/graphite/run-id-1.c execution test make kernel panic

Submitted By: Mingquan Pan

Open Date

2012-06-15 01:53:01    

Priority:

Medium     Assignee:

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

BF527     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: 4.5 toolchain gcc.dg/graphite/run-id-1.c execution test make kernel panic

Details:

 

4.5 toolchain gcc.dg/graphite/run-id-1.c execution test make kernel panic.

 

Though this case pass in the log:

 

Executing on host: bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.5/gcc/testsuite/gcc.dg/graphite/run-id-1.c   -O2 -fgraphite-identity -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES  -lm  -mcpu=bf527-0.2  -o ./run-id-1.exe    (timeout = 300)

spawn bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.5/gcc/testsuite/gcc.dg/graphite/run-id-1.c -O2 -fgraphite-identity -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -lm -mcpu=bf527-0.2 -o ./run-id-1.exe^M

PASS: gcc.dg/graphite/run-id-1.c (test for excess errors)

Executing on bfin-linux-uclibc: /tmp/run-id-1.exe.31755 {} {}   (timeout = 300)

spawn [open ...]^M

XYZ0ZYX

Executing on bfin-linux-uclibc: rm -f  /tmp/run-id-1.exe.31755    (timeout = 300)

spawn [open ...]^M

XYZ0ZYX

Executed ./run-id-1.exe, status 0

PASS: gcc.dg/graphite/run-id-1.c execution test

 

 

On target console:testing uclinux gcc^M

Data access misaligned address violation^M

<5> - Attempted misaligned data memory or data cache access.^M

Kernel OOPS in progress^M

Deferred Exception context^M

CURRENT PROCESS:^M

COMM=run-id-1.exe.25 PID=17995  CPU=0^M

TEXT = 0x02c80040-0x02c809e0        DATA = 0x02c80a00-0x02c80a78^M

BSS = 0x02c80a78-0x02c80ac0  USER-STACK = 0x02c9ef40^M

^M

return address: [0x00021866]; contents of:^M

0x00021840:  e522  002f  e12b  00bc  a170  5adc  a1b7  306b ^M

0x00021850:  b0f0  51f8  a1f1  305a  3401  a230  081d  1957 ^M

0x00021860:  0000  0000  0000 [a094] 09a7  181f  600b  6898 ^M

0x00021870:  e0b3  001a  2006  a08c  09a7  1817  0000  0000 ^M

^M

ADSP-BF527-0.2 525(MHz CCLK) 131(MHz SCLK) (mpu off)^M

Linux version 3.3.0-ADI-2012R1-pre-00734-gf91de8a (test@45-bf527-toolchain) (gcc version 4.5.3 (ADI-trunk/svn-5865) ) #14 Wed Jun 13 21:50:59 CST 2012^M

^M

SEQUENCER STATUS:               Not tainted^M

SEQSTAT: 00060024  IPEND: 0048  IMASK: 003f  SYSCFG: 0006^M

  Peripheral interrupts masked off^M

  Kernel interrupts masked off^M

  EXCAUSE   : 0x24^M

  physical IVG3 asserted : <0xffa00738> { _trap + 0x0 }^M

  physical IVG6 asserted : <0xffa00d98> { _evt_timer + 0x0 }^M

  logical irq   6 mapped  : <0xffa00378> { _bfin_coretmr_interrupt + 0x0 }^M

  logical irq  13 mapped  : <0x000aa260> { _bfin_t350mcqb_irq_error + 0x0 }^M

  logical irq  21 mapped  : <0x000dcd8c> { _bfin_rtc_interrupt + 0x0 }^M

  logical irq  27 mapped  : <0x000defe0> { _bfin_twi_interrupt_entry + 0x0 }^M

  logical irq  31 mapped  : <0x000b61ac> { _bfin_serial_dma_rx_int + 0x0 }^M

  logical irq  32 mapped  : <0x000b5fc8> { _bfin_serial_dma_tx_int + 0x0 }^M

  logical irq  35 mapped  : <0x000d73c8> { _bfin_mac_interrupt + 0x0 }^M

RETE: <0x00000000> /* Maybe null pointer? */^M

RETN: <0x02a2fe14> /* kernel dynamic memory (maybe user-space) */^M

RETX: <0x00000480> /* Maybe fixed code section */^M

RETS: <0x00021840> { _run_posix_cpu_timers + 0x354 }^M

PC  : <0x00021866> { _run_posix_cpu_timers + 0x37a }^M

DCPLB_FAULT_ADDR: <0x00000448> /* Maybe fixed code section */^M

ICPLB_FAULT_ADDR: <0x00021866> { _run_posix_cpu_timers + 0x37a }^M

PROCESSOR STATE:^M

R0 : 0000043c    R1 : 003d0d3b    R2 : 00000482    R3 : 00000442^M

R4 : ffffffc0    R5 : 02a0e6fc    R6 : 02a2fe38    R7 : 00000874^M

P0 : 001c46e0    P1 : 02e5ca80    P2 : 00000442    P3 : 02a0e6fc^M

P4 : 02a0e640    P5 : 02c5f040    FP : 02c5f1d0    SP : 02a2fd38^M

LB0: 02f0d0ff    LT0: 02f0d0ec    LC0: ffffffff^M

LB1: 00025572    LT1: 00025522    LC1: 00000000^M

B0 : 00000000    L0 : 00000000    M0 : 00145a5d    I0 : 003d0d3b^M

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 001c6ca4^M

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 001c6ca4^M

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: 00000149   A0.x: 00000000   A1.w: 00000149   A1.x: 00000000^M

USP : 028ce5b0  ASTAT: 02003004^M

^M

Hardware Trace:^M

   0 Target : <0x00003c60> { _trap_c + 0x0 }^M

     Source : <0xffa006cc> { _exception_to_level5 + 0xa4 } JUMP.L^M

   1 Target : <0xffa00628> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa004e0> { _bfin_return_from_exception + 0x18 } RTX^M

   2 Target : <0xffa004c8> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa00582> { _ex_trap_c + 0x72 } JUMP.S^M

   3 Target : <0xffa00510> { _ex_trap_c + 0x0 }^M

     Source : <0xffa00792> { _trap + 0x5a } JUMP (P4)^M

   4 Target : <0xffa00738> { _trap + 0x0 }^M

      FAULT : <0x00021866> { _run_posix_cpu_timers + 0x37a } P4 = W[P2 + 2]^M

     Source : <0x00021864> { _run_posix_cpu_timers + 0x378 } NOP^M

   5 Target : <0x00021840> { _run_posix_cpu_timers + 0x354 }^M

     Source : <0x00020b50> { _thread_group_cputimer + 0x50 } RTS^M

   6 Target : <0x00020b4a> { _thread_group_cputimer + 0x4a }^M

     Source : <0x00020b3c> { _thread_group_cputimer + 0x3c } IF CC JUMP pcrel (BP)^M

   7 Target : <0x00020b00> { _thread_group_cputimer + 0x0 }^M

     Source : <0x0002183c> { _run_posix_cpu_timers + 0x350 } CALL pcrel^M

   8 Target : <0x00021836> { _run_posix_cpu_timers + 0x34a }^M

     Source : <0x00021736> { _run_posix_cpu_timers + 0x24a } IF !CC JUMP pcrel ^M

   9 Target : <0x0002172c> { _run_posix_cpu_timers + 0x240 }^M

     Source : <0x00021728> { _run_posix_cpu_timers + 0x23c } IF !CC JUMP pcrel (BP)^M

  10 Target : <0x000216f8> { _run_posix_cpu_timers + 0x20c }^M

     Source : <0x000216f4> { _run_posix_cpu_timers + 0x208 } IF CC JUMP pcrel (BP)^M

  11 Target : <0x000216c2> { _run_posix_cpu_timers + 0x1d6 }^M

     Source : <0x000216be> { _run_posix_cpu_timers + 0x1d2 } IF !CC JUMP pcrel (BP)^M

  12 Target : <0x000216aa> { _run_posix_cpu_timers + 0x1be }^M

     Source : <0x00021656> { _run_posix_cpu_timers + 0x16a } IF CC JUMP pcrel ^M

  13 Target : <0x0002163e> { _run_posix_cpu_timers + 0x152 }^M

     Source : <0x000215ec> { _run_posix_cpu_timers + 0x100 } IF CC JUMP pcrel ^M

  14 Target : <0x000215da> { _run_posix_cpu_timers + 0xee }^M

     Source : <0x0002157c> { _run_posix_cpu_timers + 0x90 } IF CC JUMP pcrel ^M

  15 Target : <0x00021562> { _run_posix_cpu_timers + 0x76 }^M

     Source : <0x0001673c> { ___lock_task_sighand + 0x34 } RTS^M

Kernel Stack

Stack info:^M

SP: [0x02a2fd0c] <0x02a2fd0c> /* kernel dynamic memory (maybe user-space) */^M

FP: (0x02a2fe8c)^M

Memory from 0x02a2fd00 to 02a30000^M

02a2fd00: 00000001  00000041  00000204 [00000000] 02c80c04  ffa006d0  001b6000  00000048 ^M

02a2fd20: 00060024  02a0e6fc  ffffffc0  02a2fe54  02a2fdcc  00000480  00000480  00000048 ^M

02a2fd40: 00060024  00000000  02a2fe14  00000480  00021866  00021840  0000043c  02003004 ^M

02a2fd60: 00025572  02f0d0ff  00025522  02f0d0ec  00000000  ffffffff  00000149  00000000 ^M

02a2fd80: 00000149  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

02a2fda0: 00000000  00000000  00000000  00000000  00000000  00145a5d  00000000  001c6ca4 ^M

02a2fdc0: 001c6ca4  003d0d3b  028ce5b0  02c5f1d0  02c5f040  02a0e640  02a0e6fc  00000442 ^M

02a2fde0: 02e5ca80  001c46e0  00000874  02a2fe38  02a0e6fc  ffffffc0  00000442  00000482 ^M

02a2fe00: 003d0d3b  0000043c  0000043c  001c46e0  00000006  000272f4  001c3f30  02c5f040 ^M

02a2fe20: 0000043a  02c5f06c  0000043a  0000043a  003d0d3b  0000043c  02a2fe38  02a2fe38 ^M

02a2fe40: 0000003f  001c785c  000302a8  001c3f30  ffe02104  001c3ed0  00000006  00000000 ^M

02a2fe60: 00000000  ffffffc0  00000001  001ccc54  026eb400 <02a2e000><ffa0038a> 001c3f30 ^M

02a2fe80: ffe02104  00000006  00000006 (00000000)<00010b36> 001bcd70 <02a2e000>^M

02a2fea0: 00000001  00000001  00010b42  00000001 <02a2e000> 02c9eebc  000351ac  001c785c ^M

02a2fec0: 00145320  028ce5bc  00000006  00000000  00000000  00000000  028ce5bc  00037ef2 ^M

02a2fee0: 001cd7f0 <00034b1e> 001cd7f0  00000000  00000000  ffa00348  ffa00358 <ffa008ca>^M

02a2ff00: 00000150  ffffe000  ffa00c1c  00000150  00000000  000002be  7efefeff  00000000 ^M

02a2ff20: 00000480  02c801ce  00000050  00060000  00000000  02a30000  02f02abe  02c801ce ^M

02a2ff40: 02c8025c  00000006  02001025  02f12ca3  02f0d0ff  02f12c98  02f0d0ec  00000000 ^M

02a2ff60: ffffffff  0000008b  00000000  0000008b  00000000  00000000  00000000  00000000 ^M

02a2ff80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000 ^M

02a2ffa0: 028ce5bc  00000000  00000000  0066481c  006648bc  028ce5b0  02c9eebc  00000150 ^M

02a2ffc0: 00145320  028ce5bc  00000000  02a143d8  000003e7  00000000  000002be  00000000 ^M

02a2ffe0: 00000000  0000014d  00000000  000002bf  000003e8  000003e8  000003e7  00000006 ^M

Return addresses in stack:^M

    address : <0x02a2e000> /* kernel dynamic memory (maybe user-space) */^M

    address : <0xffa0038a> { _bfin_coretmr_interrupt + 0x12 }^M

   frame  1 : <0x00010b36> { ___do_softirq + 0x7e }^M

    address : <0x02a2e000> /* kernel dynamic memory (maybe user-space) */^M

    address : <0x00035080> { _handle_irq_event_percpu + 0x38 }^M

    address : <0x02a2e000> /* kernel dynamic memory (maybe user-space) */^M

    address : <0x00034b1e> { _generic_handle_irq + 0x2a }^M

    address : <0xffa008ca> { _system_call + 0x6a }^M

Modules linked in:^M

Kernel panic - not syncing: Kernel exception^M

Rebooting in 3 seconds..^M

^M

U-Boot 2010.06-svn2479 (ADI-2010R1) (Oct 19 2010 - 13:00:15)^M

^M

 

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)^M

Board: ADI BF527 EZ-Kit board^M

       Support: http://blackfin.uclinux.org/^M

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz^M

RAM:   64 MiB^M

Flash: 4 MiB^M

In:    serial^M

Out:   serial^M

Err:   serial^M

KGDB:  [on serial] ready^M

Net:   bfin_mac^M

Hit any key to stop autoboot:  5 ^H^H^H 4 ^H^H^H 3 ^H^H^H 2 ^H^H^H 1 ^H^H^H 0 ^M

Using bfin_mac device^M

 

Testing is running on target with following versions:

kernel:    Linux release 3.3.0-ADI-2012R1-pre-00734-gf91de8a, build #14 Wed Jun 13 21:50:59 CST 2012

toolchain: bfin-uclinux-gcc release gcc version 4.5.3 (ADI-trunk/svn-5865)

user-dist: release svn-10713, build #4 Wed Jun 13 21:49:45 CST 2012

 

 

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes