Closed
Bug 854766
Opened 13 years ago
Closed 8 years ago
coredump
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: enkui.lv, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (X11; U; Linux x86_64; zh-CN; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16
Build ID: 20110323163108
Steps to reproduce:
i do the steps as bug847268 comments 7 for using coredump to analyze freeze problem.
Actual results:
when uses command to debug as bug847268 comments7, error below:
:/local/Beetle-lite/device/qcom/b2g_common$./run-gdb.sh --coredump Boot2Gecko core.b2g.1862
Error: TARGET_PRODUCT not defined. Looks like you need some |lunch|
so PLS show me the detail how to use the coredump for further debug, thanks~
Expected results:
it would debug well use coredump.
above error is OK
and other issue: in init.rc, I changed the coredump file to sdcard as below:
setrlimit 4 -1 -1
write /proc/sys/kernel/core_pattern /sdcard/core.%e.%p
write /proc/sys/fs/suid_dumpable 1
but it can not work.
Comment 2•13 years ago
|
||
(In reply to enkui.lv from comment #1)
> above error is OK
> and other issue: in init.rc, I changed the coredump file to sdcard as below:
>
> setrlimit 4 -1 -1
> write /proc/sys/kernel/core_pattern /sdcard/core.%e.%p
> write /proc/sys/fs/suid_dumpable 1
>
> but it can not work.
Hi,
Did you check the permission of /sdcard? I created folder /data/coredump and give it proper permission to do so.
mkdir /data/coredump 0777 system system
I add below code:
chmod 0777 /sdcard
to give it proper permission.
as below:
setrlimit 4 -1 -1
chmod 0777 /sdcard
write /proc/sys/kernel/core_pattern /sdcard/core.%e.%p
write /proc/sys/fs/suid_dumpable 1
but it still can not work.
Is there any output errors or logs?
Flags: needinfo?(enkui.lv)
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•