Giter Club home page Giter Club logo

Comments (10)

 avatar commented on September 28, 2024

from crash.

kasks80 avatar kasks80 commented on September 28, 2024

What kind of dumpfile is it? What architecture?
-> arch is arm64.(current I'm developing the android project)
-> how can i check kind of dumpfile?

I was confused. I mean when using "bt -t" or "bt -a", I could see below things.

PID: 16645 TASK: ffffffc027fa9180 CPU: 0 COMMAND: "Binder:16621_1"
bt: WARNING: cannot determine starting stack frame for task ffffffc027fa9180

actually I expected like the below result.(copy example from "help bt")

crash> bt -a
PID: 286    TASK: c0b3a000  CPU: 0   COMMAND: "in.rlogind"
#0 [c0b3be90] crash_save_current_state at c011aed0
#1 [c0b3bea4] panic at c011367c
#2 [c0b3bee8] tulip_interrupt at c01bc820
#3 [c0b3bf08] handle_IRQ_event at c010a551
#4 [c0b3bf2c] do_8259A_IRQ at c010a319
#5 [c0b3bf3c] do_IRQ at c010a653
#6 [c0b3bfbc] ret_from_intr at c0109634
   EAX: 00000000  EBX: c0e68280  ECX: 00000000  EDX: 00000004  EBP: c0b3bfbc
   DS:  0018      ESI: 00000004  ES:  0018      EDI: c0e68284
   CS:  0010      EIP: c012f803  ERR: ffffff09  EFLAGS: 00000246
#7 [c0b3bfbc] sys_select at c012f803
#8 [c0b3bfc0] system_call at c0109598
   EAX: 0000008e  EBX: 00000004  ECX: bfffc9a0  EDX: 00000000
   DS:  002b      ESI: bfffc8a0  ES:  002b      EDI: 00000000
   SS:  002b      ESP: bfffc82c  EBP: bfffd224
   CS:  0023      EIP: 400d032e  ERR: 0000008e  EFLAGS: 00000246

from crash.

 avatar commented on September 28, 2024

from crash.

8yanghao avatar 8yanghao commented on September 28, 2024

I also meet such problem. on ARM64 platform I also can't restore the task bt;
crash> help -m
... [ cut ] ...
panic_task_regs: 0
...
but actually I get restore the pc, sp ptr from kmsg print or other way, is there any way to set the x0~x31 and PC, SP ptr by hand? and then the bt can work fine?

from crash.

 avatar commented on September 28, 2024

from crash.

slowpy avatar slowpy commented on September 28, 2024

in arm64,the crash tool check pstate

from crash.

taigerhu avatar taigerhu commented on September 28, 2024

I also meet such problem. on ARM64 platform I also can't restore the task bt;
crash> help -m
... [ cut ] ...
panic_task_regs: 0
...
but actually I get restore the pc, sp ptr from kmsg print or other way, is there any way to set the x0~x31 and PC, SP ptr by hand? and then the bt can work fine?

hi

i already debug the function, seems no crash_notes symbol, did you side fix the issue?

Thx.

from crash.

praton1729 avatar praton1729 commented on September 28, 2024

Hi guys,

I was able to get the bt(still with one error message) by adding/subtracting(yes, both worked) 8 from sp on arm64. The printed register values are not correct though.

image

P.S: help -D and help -m output is attached.
help_D.txt
help_m.txt

from crash.

YuanyeMa avatar YuanyeMa commented on September 28, 2024

Hi guys,
I also meet such problem. on ARM64 platform.
Adding/subtracting 8 from sp is does not work yet.

Corefile type : vmcore_data
panic_task_regs: 0

crash> bt 1
PID: 1 TASK: ffffff95c514bd40 CPU: 7 COMMAND: "init"
bt: WARNING: cannot determine starting stack frame for task ffffff95c514bd40
crash> bt -I 0x00000558f52a1a4 -S 0x000007fca225500 1
PID: 1 TASK: ffffff95c514bd40 CPU: 7 COMMAND: "init"
bt: non-process stack address for this task: 7fca225500
(valid range: ffffffc010060000 - ffffffc010064000)
crash> bt -I 0x00000558f52a1a4 -S 0x000007fca225508 1
PID: 1 TASK: ffffff95c514bd40 CPU: 7 COMMAND: "init"
bt: non-process stack address for this task: 7fca225508
(valid range: ffffffc010060000 - ffffffc010064000)

Does anyone have any ideas to solve this problem?

Thanks Very Much

from crash.

YuanyeMa avatar YuanyeMa commented on September 28, 2024

When the crash is just started, the following print is displayed. Does it matter?

WARNING: cpu 0: cannot find NT_PRSTATUS note
WARNING: cpu 1: cannot find NT_PRSTATUS note
WARNING: cpu 2: cannot find NT_PRSTATUS note
WARNING: cpu 3: cannot find NT_PRSTATUS note
WARNING: cpu 4: cannot find NT_PRSTATUS note
WARNING: cpu 5: cannot find NT_PRSTATUS note
WARNING: cpu 6: cannot find NT_PRSTATUS note
WARNING: cpu 7: cannot find NT_PRSTATUS note

Also, is the issue related to zram enabled in the kernel?

Thanks.

from crash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.