Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Robust Industrial Motor Encoder Signal Chain Solutions

    Recent Discussions

    • About the values of CurV1,2 displayed in the cursors frame of scopy.
    • Purpose of "Load" in Scopy signal generator configuration GUI
    • about the transient response experiment example of RL Circuit using adalm2000
    • Using ADALM1000 AIN and CHA as kelvin connection
    • I2C communication with ADALM2OOO Through Scopy

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Robust Industrial Motor Encoder Signal Chain Solutions
    • Precision Low Power Measurement Solutions for Intelligent Edge
    • Advantages of Integrating Digital Power System Management (DPSM) into your Design
    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ230 about a clock and angle puzzle
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Using Python To Control The Pluto Radio And Plot Data

     

    Resistance is NOT Futile

    Latest Blogs

    • What is The Continuity of Engineering?
    • Move Over Sensors: Actuators Are Entering The Smart Factory Stage
    • What To Call A Non-Compliant Item
    • How to Construct a Beamformer with the ADALM-PLUTO
    • Customize Your EZ Experience
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
Linux Bug Archive
  • Processors and DSP
  • Software and Development Tools
  • Linux Distribution for Blackfin
  • Linux Bug Archive
  • Cancel
Linux Bug Archive
Documents [#4055] top (busybox) crashs
  • Q&A
  • Documents
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +ad1836: FAQ
  • +ad1938: FAQ
  • +ad1939: FAQ
  • +AD5280: FAQ
  • +ad73311: FAQ
  • +adau1361: FAQ
  • +adau1371: FAQ
  • +adau1373: FAQ
  • +adau1761: FAQ
  • +adp5588-gpio: FAQ
  • +adv7393: FAQ
  • +ADXL34x: FAQ
  • +bf518-ezbrd: FAQ
  • +bf518: FAQ
  • +bf51x: FAQ
  • +bf526-ezbrd: FAQ
  • +bf527-ezkit: FAQ
  • +bf533-stamp/ezkit: FAQ
  • +bf533: FAQ
  • +bf538-ezkit: FAQ
  • +bf548-ezkit: FAQ
  • +BF54x: FAQ
  • +bf561-ezkit: FAQ
  • +bf5xx: FAQ
  • +bfin-mac driver: FAQ
  • +bfin-uclinux-gdb: FAQ
  • +bfin_can.c: FAQ
  • +Blackfin: FAQ
  • +bluetooth: FAQ
  • +Build kernel: FAQ
  • +Build: FAQ
  • +cfcard test: FAQ
  • FAQ: [#6170] section mismatches in cifs code(2010)
  • FAQ: [#6173] linphone testing problem(2010)
  • FAQ: [#6190] BF561-EZKIT SMP kernel can not wake up by uart(2010)
  • FAQ: [#6194] libxenomai.so.0 can't be found in xenomai kernel with fdpic mode(2010)
  • FAQ: [#6207] Build error in CTS/RTS testing on board BF548-EZKIT(2010)
  • FAQ: [#6251] pread/pwrite arent decoded correctly by strace(2010)
  • FAQ: [#6253] strace build failed in trunk with outdated toolchain (missing asm/cachectl.h)(2010)
  • FAQ: [#6255] Busybox inetd crashes/rsh noconnet/ssh(2010)
  • FAQ: [#6265] libpng build fails due to not finding zlib(2010)
  • FAQ: [#6271] "nand unlock" is an unsupported command in u-boot update in nand flash(2010)
  • FAQ: [#6272] After update u-boot in spi flash, BF548-EZKIT can not boot from spi flash(2010)
  • +gadget fs bulk: FAQ
  • +gadget zero bulk: FAQ
  • +gadget zero control: FAQ
  • +Kernel xip: FAQ
  • +ltp test: FAQ
  • +microwin test: FAQ
  • +MPU kernel: FAQ
  • +Sl811-hcd.c USB: FAQ
  • +SPORT channel: FAQ
  • +trunk head kernel: FAQ
  • +usb otg driver: FAQ
  • +zlib: FAQ
  • +Illegal i2c: FAQ
  • +isp1362-hcd: FAQ
  • +Kernel: FAQ
  • +KGDBOE: FAQ
  • [#4646] Varittronix LCD driver mixes blue and Red
  • +serial driver: FAQ
  • +sigma firmware: FAQ
  • +spi transaction: FAQ
  • +strace FAQ
  • [#4787] [ltp] LTP test case shmctl01 failed in trunk for ltp-full-20081130
  • +tiff-4.0.0beta4: FAQ
  • [#5264] ping packet size test will fail for gadget ethernet test with DMA mode
  • +USBHOST: FAQ
  • +USB_EP_NI7_RXINTERVAL: FAQ
  • [#5257] Build usb gadget driver with DMA mode will fail
  • [#4708] Blackfin irda build fails for bf533-stamp
  • [#4735] unaligned accesses in qt webkit
  • [#5168] build cpufrequtils into fdpic format has error
  • [#5321] modprobe i2c lcd on bf533 stamp wait long time
  • [#4922] unwanted sound comes up after g_audio module is installed on BF548 and BF527
  • [#5176] app cpufrequtils in Blackfin app programs fails to build in FDPIC
  • [#5237] musb driver is broken after linux-2.6.30 update
  • [#5255] ping target board sometimes get wrong data byte for gadget ethernet pio mode
  • FAQ: [#6614] Kernel panic frequently when test sdio mmc on bf518-ezbrd(2011)
  • [#5336] canbus and ppifcd drivers can not be built on BF538-EZKIT
  • +SPI driver: FAQ
  • [#4714] the first time to build mtd-utils will fail in trunk
  • [#5524] drivers/video/bfin_adv7393fb.c build fails in 2.6.31 due to old i2c usage
  • [#5525] drivers/video/bf537-lq035.c build fails in 2.6.31 due to old i2c usage
  • [#5399] no sound when record in board and listen in PC for linphone test of ad1836 on bf533-stamp
  • [#5458] Drivers Serial:bfin_5xx:ttyBFx fails to generate resume from standby
  • [#4647] build samba fails on trunk now for redefinition in fcntl.h
  • [#5526] ip0x board has broken UART defines after resource reorganization
  • [#5527] drivers/media/video/blackfin/blackfin_cam.c build fails in 2.6.31 due to old i2c usage
  • [#5352] bfin_sport.c setup 2D DMA
  • [#5528] fs/binfmt_elf_fdpic.c build fails when CONFIG_ELF_CORE is enabled in 2.6.31
  • [#5464] isram_write() seems to be busted
  • [#5376] mmap05 sometimes can not pass when MPU
  • [#5534] run aplay/arecord will make system panic after kernel upgraded to 2.6.31
  • [#5361] Microwin (nanox) failed on trunk using AD7897 touch screen
  • [#5544] Sport uart TX stop waiting loop is too long to block RX interrupt in PIO mode when do duplex communication
  • [#5363] spi mmc is not supported in bf533-stamp
  • [#5550] fail to flash ubifs.img to nand
  • [#5470] build xenomai fails for no switchbench
  • [#5437] mathtest fails to compile
  • [#5551] SPI message lost when bus locked
  • [#5370] alsa tool fails to work after wake up from mem in bf537-stamp with ad1836 (can't resolve symbol)
  • [#5561] [ltp ]Kernel dump info when run ltp test cases access02, chown03, fchmod06, fchown03, fchown04
  • [#5377] amixer fail to run on ad1836 audio driver on BF537-STAMP
  • [#5475] build mkfs.ubifs on trunk head fails
  • [#5562] [ltp]some ltp test case is broken for getipckey and getcwd
  • [#5487] build usb.c fail in testsuites/usbdev/ test at asm/swab.h
  • [#5489] t2/t4 failed in gadget zero bulk test with dma mode
  • [#5567] build nand for bf537 fails on trunk
  • [#5494] Run tftlcd test case in bf548-ezkit, kernel crashed at the end
  • [#4879] traps test case 21 exception 0x3f: l1_instruction_access would make kernel panic on bf533 stamp
  • [#5568] Framebuffer DMA Error!!
  • [#5515] 4 more trap cases fails on bf533
  • [#5379] run scratchpad case sometimes would fail
  • [#5519] pushing Blackfin serial resources to boards broke many boards
  • [#5389] build pictureflow fails at branch head
  • [#5531] Usb SL811 failed on uclinux2009r1-rc6 on bf532 board.
  • [#5523] Blackfin MUSB build fails after update to 2.6.31
  • [#5391] For ad1836 and ad1981b, sometimes sound shakes at the end
  • [#5404] build kernel with 0x2000 as BOOT_LOAD address sometimes would fails at build-busybox-1.13.4
  • [#5469] CPU hardly idles anymore in svn trunk
  • [#5695] Build bf537-stamp fails at ad73322 for the latest trunk
  • [#5702] build xenomai into fdpic format fails for no libnative.so
  • [#5427] ircp failed on bf533-stamp
  • [#5708] Kernel can not boot up when spimmc driver is interrupt drivern in PIO mode
  • [#5711] gfortran case default_format_1.exe fails on 09r1 kernel but pass on trunk head
  • [#5712] I2C client drivers using dev_pm_ops fail to receive suspend/resume callbacks
  • [#5715] libpcap fails to compile in trunk
  • [#5589] STLport build fails
  • [#5724] SPORT driver crash on reload
  • [#5449] bfin_sdh doesn't save and restore peripheral context upon resume
  • [#5580] GPIO pin not reserved for CTS function on SPORT-UART driver
  • [#5521] trunk head build fails at ipc/shm.c
  • [#5636] generic gpio works on bf533 in the opposite way
  • [#5637] Kernel crashed when arecord and aplay on bf537-stamp with SoC I2S audio
  • [#5647] SPI driver bus_unlock() does not schedule postponed SPI messages
  • [#5683] build nand fails for format error
  • [#5689] while two or multi spi devices use gpio cs, spi setup will fail
  • [#5558] bfin mac multi-cast sending fails to work
  • [#5816] PREEMPT_RT: cyclic test stalls in some test mode
  • [#5824] some kernel modules fail to link due to losing strcpy in trunk head
  • [#5707] error in user/procps/Makefile
  • [#5841] [ltp] ltp test case shmctl01/semctl01 can not execute
  • [#5605] Build bf537-stamp fail at bf5xx-i2s.c in latest trunk
  • [#5614] With latest toolchain in trunk, fail to build some apps and libs at fork
  • [#5625] Build microwin app fails in trunk with 4.3 toolchain
  • [#5626] Build lib mad fail at option "-fforce-mem" with gcc 4.3
  • [#5722] bfin_sport_spi broken by cs_gpio changes
  • [#5627] fail to control gpio used by led and button through /sys/class/gpio/
  • [#5927] PR bit other than RAF bit in EMAC OPMODE register should be set for promisuous mode in bfin_mac driver
  • [#5727] build e2fsprogs-1.41.12 fail sometimes because of compiling order
  • [#5631] Build lib confuse failed with gcc 4.3 toolchain
  • [#5759] fix build for pwlib
  • [#5651] Build lirc failed at missing files
  • [#5931] Trying to compile CAN4LINUX for BF537-STAMP board but compilation is failing
  • [#5656] Build iproute2 fails at trunk for dlfcn.h when built as FLAT
  • [#5743] sound/soc/blackfin/bf5xx-ad1938.c build fails after 2.6.32 upgrade
  • [#5801] No interrupt occurs when reconnect gadget device in OTG mode.
  • [#5657] [ltp] ltp test case mount03/umount03 fail with error of "No such device"
  • [#5808] mmc configuration error in make config
  • [#5804] bf531: ethernet not working when switching to 2009R1
  • [#5810] initial sp is given wrong value and INIT_TASK_DATA is not linked into data
  • [#6335] Build xip failed in fdpic format when xenomai is enabled
  • [#7224] undifined variable x25_address in ./user/net-tools/lib/x25_src.c
  • [#5598] bluez-utils has parallel build issues with parser.h
  • [#5668] Fail to build app bluez-utils
  • [#7251] Blackfin SPI driver doesn't handle repeated changes in CPOL, CPHA and LSBF correctly
  • [#5767] In 09r1.1 branch, all ltp test cases show stack overflow in bf561 SMP kernel
  • [#5684] touching keypad on bf548 will make system dead and restart
  • [#7287] Can not build usb.c with libaio
  • [#5687] SPI read/write be wrong after suspend to memory and resume
  • [#7315] [ltp] ltp test case getrusage04 from ltp-full-20120903 fails in trunk
  • [#7328] Fail to compile pthread_test after toolchain update
  • [#5876] Repeating rsh/rcp causes error "poll: protocol failure in circuit setup"
  • [#7329] Fail to compile netperf after toolchain update
  • [#7333] Test dll fails to run after toolchain update
  • [#5741] adau1371 and adau1761 fail to build after 2.6.32 upgrade
  • [#7337] [ltp] ltp test case mount02 fails in ltp-full-20120903
  • [#7338] [ltp] ltp test case mount03 fails in ltp-full-20120903
  • [#5821] Fail to build pngview on regression machines with suse 10.2
  • [#5900] hardware single stepping in userspace does not handle syscalls correctly
  • [#5659] [ltp] ltp test case eventfd01 fail
  • [#7339] [ltp] can not apply patch of lchown02 in ltp-full-20101031 to ltp-full-20120903
  • [#7343] [ltp] LTP test case chdir04 fails in ltp-full-20120903
  • [#7396] build netperf fails for undefined reference to `___CPU_ZERO'
  • [#7483] bfin_sport driver does not work well in TDM DMA mode
  • [#7506] Dropbear does not build
  • [#5757] drop USER_SQUASHFS_MKSQUASHFS7Z as squashfs 4.0 does not support 7z anymore
  • [#5758] fix build for libopenh323
  • [#5833] trap test running on the second core of bf561 has serveral fails
  • [#5755] romfs target fails for lib/pwlib
  • [#5760] fix asterisk build
  • [#5756] romfs target fails for lib/libopenh323
  • [#5877] SPI transmit cs_change flag not properly handled
  • [#5939] bfin-can fails to build after linux-2.6.33 upgrade
  • [#5879] GPIO controlled slave request may fail when bfin_spi_setup() gets executed twice
  • [#5774] [ltp]ltp test case will be killed by oom-killer on bf533-ezkit in 09r1 branch occasionally
  • [#5894] BF527 uImage Flashing issue(Copy to Flash... Flash not Erased)
  • [#5941] links fails in trunk due to using fork()
  • [#5942] build usb host fail when remove anomaly 456 for BF526-EZBRD
  • [#7250] On bfin ppi test, it fails to quit from slave when send "q" from master
  • [#7379] Fail to build alsa lib in latest trunk with upgraded toolchain
  • [#5792] enc28j60 spi net fails to ping with host on trunk head kernel
  • [#4436] BF527-EZKIT unable to receive large files over UART in DMA mode
  • [#4764] Kernel prints warning when booting from jffs2 rootfs in nor flash on bf548-ezkit
  • [#5903] Impossible to work properly with two or more SPI slave devices using spi_bfin5xx driver.
  • FAQ: [#6386] build iproute2 may fail at ifstat.c sometimes in latest trunk(2010)
  • FAQ: [#6331] There is error in adau1371 audio testing on bf527-ezkit(2010)
  • [#5933] BF561-EZKIT SMP kernel can not wake up from standby mode by uart interrupt
  • FAQ: [#6564] dmacopy test on bf561-ezkit failed at sram_alloc in L1(2011)
  • [#4713] dmacopy tries to test L2 on BF537
  • [#4997] ppitest fails for bfin_ppi driver on bf537
  • [#5940] lynx fails in trunk due to using fork()
  • [#4104] Format usbdisk failed with mke2fs in trunk
  • FAQ: [#6578] iccutils build fails at scalar.c(2011)
  • [#3883] ftp server crash after connetion or chdir with MidnightCommander4.6.1
  • [#4697] kernel crash on bf533-stamp/bf533-ezkit after config IP for ethernet port
  • [#4050] xip test case failed in BF548-EZKIT
  • [#3991] mmc_spi not working out of the box.
  • [#3996] dhcpcd not stable on BF548-EZKIT
  • [#5136] Linphone: Can't hear each other and "Data access misaligned address violation"
  • [#5214] trunk applications don't build with trunk toolchain due to missing fork()
  • [#4055] top (busybox) crashs
  • [#5162] Linphone: Data access misaligned address
  • [#4992] bfin_sdh fails to build for BF514/BF516
  • [#5570] reboot on bf527-ezkit with nand and ubifs enabled fails
  • [#4955] 548 SDH: netperf, iperf triggers libertas error
  • [#5522] Lib DirectFB-1.4.0 crashes when run DirectFB demo on SVN trunk
  • [#3882] copy file function cp, after few times consume all memory
  • [#4773] BF527 usb-ide hard disk error

[#4055] top (busybox) crashs

[#4055] top (busybox) crashs

Submitted By: Yi Li

Open Date

2008-04-23 06:04:16     Close Date

2008-05-16 04:50:46

Priority:

Medium     Assignee:

Yi Li

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

trunk

Category:

N/A     Board:

EZKIT Lite

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

trunk

App binary format:

N/A     

Summary: top (busybox) crashs

Details:

uclinux-dist: Revision: 6611

linux: Revision: 4649

root:/> top

NULL pointer access (probably)

Deferred Exception context

CURRENT PROCESS:

COMM=top PID=277

TEXT = 0x00300000-0x0034bd14        DATA = 0x00930d14-0x0093435c

BSS = 0x0093435c-0x00960000  USER-STACK = 0x0097fed0

return address: [0x00000480]; contents of:

0x00000460:  9101  5401  9300  0010  0000  0000  0000  0000

0x00000470:  9101  5801  9300  0010  0000  0000  0000  0000

0x00000480: [0000] 0000  0000  0000  00a4  0000  0000  0000

0x00000490:  0000  0000  0000  0000  0000  0000  0000  0000

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062027  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x18

  EXCAUSE   : 0x27

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

RETN: <0x00f16000> /* unknown address */

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

RETS: <0x00337948> [ /bin/busybox + 0x37948 ]

PC  : <0x00337950> [ /bin/busybox + 0x37950 ]

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

ICPLB_FAULT_ADDR: <0x00337950> [ /bin/busybox + 0x37950 ]

PROCESSOR STATE:

R0 : 00000000    R1 : 00000028    R2 : 28200038    R3 : 00000029

R4 : 0097fd34    R5 : 00003633    R6 : 00931f18    R7 : 00000044

P0 : 00000006    P1 : 00a1ff18    P2 : 0097f8d8    P3 : 00931f18

P4 : 00980e18    P5 : 00000000    FP : 0097f8d4    SP : 00f15f24

LB0: 00a1f619    LT0: 00a1f618    LC0: 00000000

LB1: 00a1d47f    LT1: 00a1d47e    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00a362f4

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00a36320

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

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

USP : 0097f8a0  ASTAT: 02003025

Hardware Trace:

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

     Source : <0xffa0064e> { _exception_to_level5 + 0x9e }

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

     Source : <0xffa0050e> { _ex_trap_c + 0x72 }

   2 Target : <0xffa0049c> { _ex_trap_c + 0x0 }

     Source : <0xffa006d8> { _trap + 0x28 }

   3 Target : <0xffa006b0> { _trap + 0x0 }

     Source : <0x0033794e> [ /bin/busybox + 0x3794e ]

   4 Target : <0x00337948> [ /bin/busybox + 0x37948 ]

     Source : <0x00a1ff48> [ /lib/libuClibc-0.9.29.so + 0x1ff48 ]

   5 Target : <0x00a1ff3c> [ /lib/libuClibc-0.9.29.so + 0x1ff3c ]

     Source : <0x00a1f944> [ /lib/libuClibc-0.9.29.so + 0x1f944 ]

   6 Target : <0x00a1f93c> [ /lib/libuClibc-0.9.29.so + 0x1f93c ]

     Source : <0x00a1f9a4> [ /lib/libuClibc-0.9.29.so + 0x1f9a4 ]

   7 Target : <0x00a1f982> [ /lib/libuClibc-0.9.29.so + 0x1f982 ]

     Source : <0x00a1f972> [ /lib/libuClibc-0.9.29.so + 0x1f972 ]

   8 Target : <0x00a1f946> [ /lib/libuClibc-0.9.29.so + 0x1f946 ]

     Source : <0x00a1f916> [ /lib/libuClibc-0.9.29.so + 0x1f916 ]

   9 Target : <0x00a1f908> [ /lib/libuClibc-0.9.29.so + 0x1f908 ]

     Source : <0x00a1ff38> [ /lib/libuClibc-0.9.29.so + 0x1ff38 ]

  10 Target : <0x00a1ff32> [ /lib/libuClibc-0.9.29.so + 0x1ff32 ]

     Source : <0x00a1ff2a> [ /lib/libuClibc-0.9.29.so + 0x1ff2a ]

  11 Target : <0x00a1ff18> [ /lib/libuClibc-0.9.29.so + 0x1ff18 ]

     Source : <0x003080ae> [ /bin/busybox + 0x80ae ]

  12 Target : <0x003080a6> [ /bin/busybox + 0x80a6 ]

     Source : <0x00337944> [ /bin/busybox + 0x37944 ]

  13 Target : <0x00337936> [ /bin/busybox + 0x37936 ]

     Source : <0x0033781a> [ /bin/busybox + 0x3781a ]

  14 Target : <0x00337804> [ /bin/busybox + 0x37804 ]

     Source : <0x00a0c490> [ /lib/libuClibc-0.9.29.so + 0xc490 ]

  15 Target : <0x00a0c47e> [ /lib/libuClibc-0.9.29.so + 0xc47e ]

     Source : <0xffa00ba2> { __common_int_entry + 0xca }

Stack from 00f15f04:

        00000006 ffa00652 ffa00ba4 00000044 0000ffff 0097fd2c 0097f8d4 00a0c47e

        00000480 00000030 00062027 00000000 00f16000 00000480 00337950 00337948

        00000000 02003025 00a1d47f 00a1f619 00a1d47e 00a1f618 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00a36320 00a362f4 0097f8a0 0097f8d4 00000000 00980e18

Call Trace:

[<00003633>] _do_signal+0x9e3/0xcb4

SIGSEGV

Bellow patch can make top work, but I am not sure why it is commented out.

Index: busybox-1.10.1/libbb/procps.c

===================================================================

--- busybox-1.10.1/libbb/procps.c       (revision 6611)

+++ busybox-1.10.1/libbb/procps.c       (working copy)

@@ -226,8 +226,8 @@

                        if (n < 0)

                                break;

                        cp = strrchr(buf, ')'); /* split into "PID (cmd" and "<rest>" */

-                       /*if (!cp || cp[1] != ' ')

-                               break;*/

+                       if (!cp || cp[1] != ' ')

+                               break;

                        cp[0] = '\0';

                        if (sizeof(sp->comm) < 16)

                                BUG_comm_size();

Follow-ups

--- Yi Li                                                    2008-04-23 06:47:38

The fix is not correct. "top" will not crash, however, the output of

"top" is not correct.

--- Yi Li                                                    2008-04-24 03:36:15

Tried to build uclinux-dist trunk using 08r1-rc8 toolchain, still get failure

(after running top for a while):

NULL pointer access (probably)  0%   0% -/bin/sh                              

                                              

Deferred Exception context                                                    

                                              

CURRENT PROCESS:                                                              

                                              

COMM=top PID=282                                                              

                                              

TEXT = 0x00800000-0x0084bd3c        DATA = 0x00e68d3c-0x00e6c394              

                                              

BSS = 0x00e6c394-0x00e80000  USER-STACK = 0x00e9fed0                         

                                              

                                                                              

                                              

return address: [0x00837978]; contents of:                                    

                                              

0x00837950:  321e  327e  6da7  3045  304f  e3ff  ff51  0c80                   

                                              

0x00837960:  189d  321e  6149  3047  e127  0044  e3fe  83ba                   

                                              

0x00837970:  3228  321e  6000  6141 [9b28] 3044  51f8  3047                   

                                              

0x00837980:  e3fe  8293  321e  3008  6409  3007  6082  e300                   

                                              

                                                                              

                                              

SEQUENCER STATUS:               Not tainted                                   

                                              

SEQSTAT: 00060027  IPEND: 0030  SYSCFG: 0006                                 

                                              

  HWERRCAUSE: 0x18                                                            

                                              

  EXCAUSE   : 0x27                                                            

                                              

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

                                                    

RETN: <0x00e64000> [ /lib/ld-uClibc-0.9.29.so + 0x6000 ]               

                                                    

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

                                                    

RETS: <0x00837970> [ /bin/busybox + 0x37970 ]                          

                                                    

PC  : <0x00837978> [ /bin/busybox + 0x37978 ]                          

                                                    

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

                                                    

ICPLB_FAULT_ADDR: <0x00837978> [ /bin/busybox + 0x37978 ]               

                                                    

                                                                              

                                              

PROCESSOR STATE:                                                              

                                              

R0 : 00000000    R1 : 00000028    R2 : 20003732    R3 : 00000029             

                                              

R4 : 00e9fd35    R5 : 00003633    R6 : 00e69f50    R7 : 00000044             

                                              

P0 : 00000006    P1 : 002a2284    P2 : 00e9f8d8    P3 : 00e69f50             

                                              

P4 : 00e190d8    P5 : 00000000    FP : 00e9f8d4    SP : 00e63f24             

                                              

LB0: 002a1985    LT0: 002a1984    LC0: 00000000                              

                                              

LB1: 0029e077    LT1: 0029e076    LC1: 00000000                              

                                              

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 002b9ba0             

                                              

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 002b9bcc             

                                              

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000             

                                              

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000             

                                              

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

                                              

USP : 00e9f8a0  ASTAT: 02003025                                               

                                              

                                                                              

                                              

Hardware Trace:                                                               

                                              

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

                                                    

     Source : <0xffa0064e> { _exception_to_level5 + 0x9e }              

                                                    

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

                                                    

     Source : <0xffa0050e> { _ex_trap_c + 0x72 }                        

                                                    

   2 Target : <0xffa0049c> { _ex_trap_c + 0x0 }                         

                                                    

     Source : <0xffa006d8> { _trap + 0x28 }                             

                                                    

   3 Target : <0xffa006b0> { _trap + 0x0 }                              

                                                    

     Source : <0x00837976> [ /bin/busybox + 0x37976 ]                   

                                                    

   4 Target : <0x00837970> [ /bin/busybox + 0x37970 ]                   

                                                    

     Source : <0x002a22b4> [ /lib/libuClibc-0.9.29.so + 0x222b4 ]       

                                                    

   5 Target : <0x002a22a8> [ /lib/libuClibc-0.9.29.so + 0x222a8 ]       

                                                    

     Source : <0x002a1cb0> [ /lib/libuClibc-0.9.29.so + 0x21cb0 ]       

                                                    

   6 Target : <0x002a1ca8> [ /lib/libuClibc-0.9.29.so + 0x21ca8 ]       

                                                    

     Source : <0x002a1d24> [ /lib/libuClibc-0.9.29.so + 0x21d24 ]       

                                                    

   7 Target : <0x002a1cee> [ /lib/libuClibc-0.9.29.so + 0x21cee ]       

                                                    

     Source : <0x002a1cde> [ /lib/libuClibc-0.9.29.so + 0x21cde ]       

                                                    

   8 Target : <0x002a1cb2> [ /lib/libuClibc-0.9.29.so + 0x21cb2 ]       

                                                    

     Source : <0x002a1c82> [ /lib/libuClibc-0.9.29.so + 0x21c82 ]       

                                                    

   9 Target : <0x002a1c74> [ /lib/libuClibc-0.9.29.so + 0x21c74 ]       

                                                    

     Source : <0x002a22a4> [ /lib/libuClibc-0.9.29.so + 0x222a4 ]       

                                                    

  10 Target : <0x002a229e> [ /lib/libuClibc-0.9.29.so + 0x2229e ]       

                                                    

     Source : <0x002a2296> [ /lib/libuClibc-0.9.29.so + 0x22296 ]       

                                                    

  11 Target : <0x002a2284> [ /lib/libuClibc-0.9.29.so + 0x22284 ]       

                                                    

     Source : <0x008080e8> [ /bin/busybox + 0x80e8 ]                    

                                                    

  12 Target : <0x008080e0> [ /bin/busybox + 0x80e0 ]                    

                                                    

     Source : <0x0083796c> [ /bin/busybox + 0x3796c ]                   

                                                    

  13 Target : <0x0083795e> [ /bin/busybox + 0x3795e ]                   

                                                    

     Source : <0x00837842> [ /bin/busybox + 0x37842 ]                   

                                                    

  14 Target : <0x0083782c> [ /bin/busybox + 0x3782c ]                   

                                                    

     Source : <0x0028d1b0> [ /lib/libuClibc-0.9.29.so + 0xd1b0 ]        

                                                    

  15 Target : <0x0028d19e> [ /lib/libuClibc-0.9.29.so + 0xd19e ]        

                                                    

     Source : <0xffa00ba2> { __common_int_entry + 0xca }                

                                                    

Stack from 00e63f04:                                                          

                                              

        00000006 ffa00652 ffa00ba4 00000044 0000ffff 00e9fd2c 00e9f8d4 0028d19e

                                              

        00000480 00000030 00060027 00000000 00e64000 00000480 00837978 00837970

                                              

        00000000 02003025 0029e077 002a1985 0029e076 002a1984 00000000 00000000

                                              

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

                                              

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

                                              

        00000000 00000000 002b9bcc 002b9ba0 00e9f8a0 00e9f8d4 00000000 00e190d8

                                              

                                                                              

                                              

Call Trace:                                                                   

                                              

[<00003633>] _do_signal+0x9e3/0xcb4                                     

                                                    

                                                                              

                                              

SIGSEGV                    

--- Mike Frysinger                                           2008-04-24 03:46:11

what are you doing exactly ?  just running `top` and letting it sit there ?

ive been using `top -d 1` the last couple days and havent seen any problems

--- Yi Li                                                    2008-04-24 22:51:08

Yes. I just run "top" for a while or run "ps -ef" will lead

to this crash.

This bug does not happen always. But it happens frequently on one of the

BF548-EZkit (v1.3) boards.

I will assign the bug to me since it only happens to me.

--- Mike Frysinger                                           2008-04-25 00:19:50

can you only make it happen on the BF548-EZKits ?  i've been using top a lot

lately, but only on the BF537-STAMP (2008R1 and trunk) ...

--- Yi Li                                                    2008-04-25 05:01:29

It can only happen on one BF548-EZKIT 1.3 board. I tested with another

BF548-EZKIT-1.3 and BF548-EZKIT-1.1 board, both work well. So I tend to think

this may related with HW issue.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

  • Share
  • History
  • More
  • Cancel
Related
Recommended
Social
Quick Links
  • About ADI
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
Newsletter

Interested in the latest news and articles about ADI products, design tools, training and events? Subscribe today!

Sign Up
Analog Logo
©1995 - 2023 Analog Devices, Inc. All Rights Reserved
沪ICP备09046653号-1
  • Sitemap
  • Legal
  • Privacy & Security
  • Privacy Settings
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.