[#5473] run linphone case on trunk head would have dump info

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

[#5473] run linphone case on trunk head would have dump info

Submitted By: Mingquan Pan

Open Date

2009-08-31 17:36:51     Close Date

2009-10-15 23:00:05

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc9

App binary format:

N/A     

Summary: run linphone case on trunk head would have dump info

Details:

 

run linphone case on trunk head would have dump info, both for ad73322 and ad1980.

 

Linux version 2.6.30.5-ADI-2010R1-pre-svn7247 (test@uclinux56-ad73322-snormtd-df) (gcc version 4.1.2 (ADI svn)) #4 Sat Aug 29 03:27:02 GMT 2009

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001245a0

  rodata    = 0x001245a0-0x00183538

  bss       = 0x00184000-0x001956c4

  data      = 0x001956c4-0x001a8000

    stack   = 0x001a6000-0x001a8000

  init      = 0x001a8000-0x00a2c000

  available = 0x00a2c000-0x037ff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off

NR_IRQS:98

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 46356k/65536k RAM, (8720k init code, 1165k kernel code, 527k data, 2048k dma, 6720k reserved)

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (36 KB free)

net_namespace: 296 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

bio: create slab <bio-0> at 0

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

msgmni has been set to 90

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Advanced Linux Sound Architecture Driver Version 1.0.20.

dma_alloc_init: dma_page @ 0x00d88000 - 512 pages at 0x03e00000

ALSA device list:

  #0: Analog Devices AD73322 at PF10 SPORT0,rx/tx dma ch:3/4,err irq:45

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 07:43:37 UTC (1085989417)

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 8720k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.14.3 (2009-08-29 03:24:01 GMT) hush - the humble shell

 

root:/> versionPHY: 0:01 - Link is Up - 100/Full

 

kernel:    Linux release 2.6.30.5-ADI-2010R1-pre-svn7247, build #4 Sat Aug 29 03:27:02 GMT 2009

toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-8783, build #36 Sat Aug 29 03:25:45 GMT 2009

root:/> successful boot attempt

************** STEP 3: Start LINPHONE TEST

 

ifconfig eth0 10.100.4.50

root:/> route add -net default gw 10.100.4.174

route: SIOCADDRT: File exists

root:/> route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

10.100.4.0      *               255.255.255.0   U     0      0        0 eth0

default         10.100.4.174    0.0.0.0         UG    0      0        0 eth0

root:/> Ready.

linphonec>

Case 1 ...PASS

 

Case 1 ...PASS

linphonec

NLS disabled.

ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown parameters 0

ALSA lib ../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:0

Ready

Warning: video is disabled in linphonec, use -V or -C or -D to enable.

linphonec>

Case 1 ...PASS

 

Case 1 ...PASS

<sip:toto@10.100.4.50> is calling you.

 

Case 2 ...PASS

 

Case 2 ...PASS

answer

Connected.

 

Case 2 ...PASS

 

Case 2 ...PASS

call sip:test@10.100.4.174

Contacting sip:test@10.100.4.174

linphonec> linphonec> Connected.

linphonec>

Case 2 ...PASS

 

Case 2 ...PASS

Jump to NULL address

Deferred Exception context

CURRENT PROCESS:

COMM=linphonec PID=207

CPU = 0

TEXT = 0x00980000-0x009bfc18        DATA = 0x008d0c18-0x008d6210

BSS = 0x008d6210-0x008e0000  USER-STACK = 0x008ffeb0

 

return address: [0x(null)]; contents of:

 

ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)

Linux version 2.6.30.5-ADI-2010R1-pre-svn7247 (test@uclinux56-ad73322-snormtd-df) (gcc version 4.1.2 (ADI svn)) #4 Sat Aug 29 03:27:02 GMT 2009

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 0000202d  IPEND: 0008  IMASK: ffff  SYSCFG: 0006

  EXCAUSE   : 0x2d

  physical IVG3 asserted : <0xffa006f8> { _trap + 0x0 }

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

RETN: <0x002c2000> [ linphonec + 0x0 ]

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

RETS: <0x009a8290> [ /usr/bin/linphonec + 0x28290 ]

PC  : <0x00000000> /* Maybe null pointer? */

DCPLB_FAULT_ADDR: <0x008d0004> [ /usr/bin/linphonec + 0x3f004 ]

ICPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

 

PROCESSOR STATE:

R0 : 00219f34    R1 : 00000025    R2 : 008ded00    R3 : 00000000

R4 : 008ded00    R5 : 0021a340    R6 : 008d30c0    R7 : 00219f34

P0 : 0021a340    P1 : 00000000    P2 : 008d12b0    P3 : 00000000

P4 : 008d30c0    P5 : 0021a6f0    FP : 008decd0    SP : 002c1f24

LB0: 00212335    LT0: 00212328    LC0: 00000000

LB1: 009aaf15    LT1: 009aaf00    LC1: 0000001c

B0 : 008de474    L0 : 00000000    M0 : 00000028    I0 : 00000000

B1 : 0021a620    L1 : 00000000    M1 : 0004b938    I1 : 008de568

B2 : 00000008    L2 : 00000000    M2 : 000486ac    I2 : 008de558

B3 : 0021a620    L3 : 00000000    M3 : 008de780    I3 : 008de55e

A0.w: 00001400   A0.x: 00000000   A1.w: 00001400   A1.x: 00000000

USP : 008decbc  ASTAT: 02003065

 

Hardware Trace:

   0 Target : <0x00004ec4> { _trap_c + 0x0 }

     Source : <0xffa0068c> { _exception_to_level5 + 0xa4 } CALL pcrel

   1 Target : <0xffa005e8> { _exception_to_level5 + 0x0 }

     Source : <0xffa0049c> { _bfin_return_from_exception + 0x20 } RTX

   2 Target : <0xffa0047c> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00540> { _ex_trap_c + 0x74 } JUMP.S

   3 Target : <0xffa004cc> { _ex_trap_c + 0x0 }

     Source : <0xffa00760> { _trap + 0x68 } JUMP (P4)

   4 Target : <0xffa00718> { _trap + 0x20 }

     Source : <0xffa00714> { _trap + 0x1c } IF !CC JUMP

   5 Target : <0xffa006f8> { _trap + 0x0 }

     Source : <0x0099d686> [ /usr/bin/linphonec + 0x1d686 ] JUMP (P1)

   6 Target : <0x0099d674> [ /usr/bin/linphonec + 0x1d674 ]

     Source : <0x009a828c> [ /usr/bin/linphonec + 0x2828c ] CALL pcrel

   7 Target : <0x009a8288> [ /usr/bin/linphonec + 0x28288 ]

     Source : <0x009a8228> [ /usr/bin/linphonec + 0x28228 ] IF !CC JUMP

   8 Target : <0x009a8214> [ /usr/bin/linphonec + 0x28214 ]

     Source : <0x009a7f64> [ /usr/bin/linphonec + 0x27f64 ] RTS

   9 Target : <0x009a7f5e> [ /usr/bin/linphonec + 0x27f5e ]

     Source : <0x009a7f38> [ /usr/bin/linphonec + 0x27f38 ] IF !CC JUMP

  10 Target : <0x009a7f2c> [ /usr/bin/linphonec + 0x27f2c ]

     Source : <0x009a8210> [ /usr/bin/linphonec + 0x28210 ] CALL pcrel

  11 Target : <0x009a81ec> [ /usr/bin/linphonec + 0x281ec ]

     Source : <0x009a82f8> [ /usr/bin/linphonec + 0x282f8 ] CALL pcrel

  12 Target : <0x009a82ee> [ /usr/bin/linphonec + 0x282ee ]

     Source : <0x009a8300> [ /usr/bin/linphonec + 0x28300 ] IF CC JUMP

  13 Target : <0x009a82fc> [ /usr/bin/linphonec + 0x282fc ]

     Source : <0x009a82d0> [ /usr/bin/linphonec + 0x282d0 ] RTS

  14 Target : <0x009a82be> [ /usr/bin/linphonec + 0x282be ]

     Source : <0x009a82d0> [ /usr/bin/linphonec + 0x282d0 ] RTS

  15 Target : <0x009a82be> [ /usr/bin/linphonec + 0x282be ]

     Source : <0x009a8286> [ /usr/bin/linphonec + 0x28286 ] RTS

Userspace Stack

Stack info:

SP: [0x008decbc] <0x008decbc> [ linphonec + 0x2cbc ]

FP: (0x008decb4)

Memory from 0x008decb0 to 008df000

008decb0: 00000000 (008decd0)<009a8290>[0021a030] 00398c60  0039b63c  00000000  00000000

008decd0:(008ded04)<009a82fc> 0021a6f0  008d30c0  00000000  008d30c0  008ded00  0021a340

008decf0: 00000002  00000000  00000004  00000000  00000000 (008ded38)<009a836c> 0021a340

008ded10: 00000000  00000002  00000000  00000002  00000004  0021c9d4  00000000  00000000

008ded30: 00000000  005b8d80 (008dee00)<003a56e6> 00399388  008dee24  008dee24  00000030

008ded50: 00399388  003ff864  00000002  00000eaa  00000002  00000ea4  00000002  00000e9e

008ded70: 00000002  00000e98  00000002  00000e92  00000002  00000e8c  00000002  00000e86

008ded90: 00000002  00000e80  00000002  00000e7a  00000002  00000e74  00000002  00000e6e

008dedb0: 00000002  00000e68  00000002  00000e62  00000002  00000e5c  00000002  00000e56

008dedd0: 00000002  00000e50  00000002  00000e4a  00000002  00000e44  00000002  00000e3e

008dedf0: 00000002  00000e38  00000002  00000e32 (00000000)<001cbdec> 008dee24  008ff898

008dee10: 00003000  00000030  00000002  00000e1a  00000002  0023be24  00398a80  00000000

008dee30: 00000000  00000c03  000000cf  00000000  0039b6a0  00000000  00000000  00000000

008dee50: 00000000  00000000  00000000  00000000  00000000  00000000  008dee6c  0000000b

008dee70: 008dee74  00000000  00000000  00000000  003ff864  0021a340  80000000  00000000

008dee90: 00000008  00000008  00000008  008ff82c <003a64da> 003e9280  003e9940  008ff82c

008deeb0:<003a60f0> 003e9280  003e95b8  00000000  00000000  008ff854 <003a64da> 008ff85c

008deed0:<003a64da> 003e9280  003e9940  008ff85c <003a60f0> 003e9280  003e95b8 <003a64da>

008deef0: 008ff880 <003a64da> 008ff85c  003e9940  008ff890 <001ef348> 00000000  00000000

008def10: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

008def30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

008def50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

008def70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

008def90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

008defb0: 00000000  00000000  008dee24  00000003  00000000  00000000  00000000  00000000

008defd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

008deff0: 00000000  00000000  00000000  00000000

Return addresses in stack:

   frame  1 : <0x009a8290> [ /usr/bin/linphonec + 0x28290 ]

   frame  2 : <0x009a82fc> [ /usr/bin/linphonec + 0x282fc ]

   frame  3 : <0x009a836c> [ /usr/bin/linphonec + 0x2836c ]

   frame  4 : <0x003a56e6> [ /lib/libpthread.so.0 + 0x56e6 ]

   frame  5 : <0x001cbdec> [ /lib/libc.so.0 + 0xbdec ]

    address : <0x003a64da> [ /lib/libpthread.so.0 + 0x64da ]

    address : <0x003a60f0> [ /lib/libpthread.so.0 + 0x60f0 ]

    address : <0x003a64da> [ /lib/libpthread.so.0 + 0x64da ]

    address : <0x003a64da> [ /lib/libpthread.so.0 + 0x64da ]

    address : <0x003a60f0> [ /lib/libpthread.so.0 + 0x60f0 ]

    address : <0x003a64da> [ /lib/libpthread.so.0 + 0x64da ]

    address : <0x003a64da> [ /lib/libpthread.so.0 + 0x64da ]

    address : <0x001ef348> [ /lib/libc.so.0 + 0x2f348 ]

SEGV

:/>

 

 

Follow-ups

 

--- Barry Song                                               2009-09-04 05:37:14

Seem with [#5162] in 2009R1. Stack overflow. Need to increase stack size of

application and threads.

 

--- Mingquan Pan                                             2009-10-15 23:00:05

This error disappears for linphone running on ad73322. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes