jadonk / jadonk/rowboat

Kernel crash when play camera application

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Build eclair image for Beagleboard xM
2. Boot Beagleboard with the built SD image
3. Run Camera application

What is the expected output? What do you see instead?

Camera application should run without crash. But it causes a kernel crash. The
dump looks like below (the complete dump is in the attached file):

D/CameraService( 831): CameraService::connect E (pid 1046, client 0x4b440)
D/CameraService( 831): Client::Client E (pid 1046)
I/dalvikvm( 931): Wrote stack tUnable to handle kernel paging request at
virtual address fbd47754
race to '/data/anr/traces.txt'
pgd = cfb30000
[fbd47754] *pgd=00000000
Internal error: Oops: 805 [#1]
last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
Modules linked in: omaplfb pvrsrvkm sdmak lpm_omap3530 dsplinkk
CPU: 0 Not tainted (2.6.32 #24)
PC is at IPS_unregister+0x114/0x21c [dsplinkk]
LR is at IPS_unregister+0xbc/0x21c [dsplinkk]
pc : [] lr : [] psr: 60000013
sp : cfbe1e28 ip : 00000001 fp : 00000000
r10: 00008000 r9 : 00000000 r8 : d107f000
r7 : ffffffff r6 : d0b00200 r5 : 00000000 r4 : bf021fc4
r3 : 00000000 r2 : fbd47754 r1 : 00000000 r0 : 677e42f0
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8fb30019 DAC: 00000015

What version of the product are you using? On what operating system?

Beagleboard xM. Ubuntu 10.04.

Please provide any additional information below.

I build the image with the following command:

make TARGET_PRODUCT=beagleboard USE_CAMERA_STUB=false -j8 OMAPES=5.x

```

Original issue reported on code.google.com by `junzha...@hotmail.com` on 14 Jan 2011 at 4:29

Attachments:
- [log.txt](https://storage.googleapis.com/google-code-attachments/rowboat/issue-76/comment-0/log.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the attached log.txt and the kernel dump from the Camera application run, focusing first on the IPS_unregister call in the dsplinkk module. Reproduce the issue using the Beagleboard xM build command and trace the crash during camera startup. Done means the camera application starts without causing a kernel crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, linux
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.