device Hangs

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

device Hangs

Postby arunbm123 » Sun Mar 24, 2019 3:56 pm

hello friends,

I am testing my device with my firmware.
After 3-4 Hours my device just stops with out any error.
even monitor Shows nothing.

How do I find whats reason for hanging.

Thanks

ESP_Sprite
Posts: 9020
Joined: Thu Nov 26, 2015 4:08 am

Re: device Hangs

Postby ESP_Sprite » Mon Mar 25, 2019 3:34 am

Any chance you can force a core dump, using e.g. a button irq or something?

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: device Hangs

Postby arunbm123 » Mon Mar 25, 2019 3:37 am

hello ESP_Sprite

I didnt get what you are saying...Kindly elobrate please !
-Thanks

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: device Hangs

Postby arunbm123 » Mon Mar 25, 2019 7:29 am

hello Esp_spirite,

Here is Core Dump, Kindly can u look at this

Code: Select all


==================== CURRENT THREAD STACK =====================
#-1 0x4000bff0 in ?? ()
Backtrace stopped: Cannot access memory at address 0x4000bff0

======================== THREADS INFO =========================
  Id   Target Id         Frame
  16   process 15        xQueueGenericReceive (xQueue=0x3ffb7a5c, pvBuffer=0x0,                                                                                                     xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-idf/comp                                                                                                    onents/freertos/queue.c:1580
  15   process 14        xQueueGenericReceive (xQueue=0x3ffcaa30, pvBuffer=0x3ff                                                                                                    cbe60, xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-i                                                                                                    df/components/freertos/queue.c:1580
  14   process 13        xQueueGenericReceive (xQueue=0x3ffb2d30, pvBuffer=0x3ff                                                                                                    d7d70, xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-i                                                                                                    df/components/freertos/queue.c:1580
  13   process 12        xQueueGenericReceive (xQueue=0x3ffb6110, pvBuffer=0x3ff                                                                                                    d9f70, xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-i                                                                                                    df/components/freertos/queue.c:1580
  12   process 11        xQueueGenericReceive (xQueue=0x3ffdbc78, pvBuffer=0x3ff                                                                                                    dd130, xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-i                                                                                                    df/components/freertos/queue.c:1580
  11   process 10        xQueueGenericReceive (xQueue=0x3ffdad60, pvBuffer=0x3ff                                                                                                    db710, xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-i                                                                                                    df/components/freertos/queue.c:1580
  10   process 9         xQueueGenericReceive (xQueue=0x3ffb5a4c, pvBuffer=0x3ff                                                                                                    da970, xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-i                                                                                                    df/components/freertos/queue.c:1580
  9    process 8         xQueueGenericReceive (xQueue=0x3ffb7eb4, pvBuffer=0x0,                                                                                                     xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-idf/comp                                                                                                    onents/freertos/queue.c:1580
  8    process 7         xQueueGenericReceive (xQueue=0x3ffc9718, pvBuffer=0x3ff                                                                                                    ca790, xTicksToWait=4294967295, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-i                                                                                                    df/components/freertos/queue.c:1580
  7    process 6         0x40095770 in prvProcessTimerOrBlockTask (xNextExpireTi                                                                                                    me=1073492980, xListWasEmpty=<optimized out>) at C:/msys32/home/renu/esp/esp-idf                                                                                                    /components/freertos/timers.c:570
  6    process 5         0x40093a06 in vTaskDelay (xTicksToDelay=<optimized out>                                                                                                    ) at C:/msys32/home/renu/esp/esp-idf/components/freertos/tasks.c:1459
  5    process 4         0x40093a06 in vTaskDelay (xTicksToDelay=<optimized out>                                                                                                    ) at C:/msys32/home/renu/esp/esp-idf/components/freertos/tasks.c:1459
  4    process 3         xQueueGenericReceive (xQueue=0x3ffb2f50, pvBuffer=0x0,                                                                                                     xTicksToWait=100, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-idf/components/                                                                                                    freertos/queue.c:1580
  3    process 2         xQueueGenericReceive (xQueue=0x3ffbd7b4, pvBuffer=0x3ff                                                                                                    c9660, xTicksToWait=10, xJustPeeking=0) at C:/msys32/home/renu/esp/esp-idf/compo                                                                                                    nents/freertos/queue.c:1580
  2    process 1         0x40181896 in vsnprintf (str=0x0, size=1, fmt=0x8009483                                                                                                    a <error: Cannot access memory at address 0x8009483a>, ap=...) at ../../../.././                                                                                                    newlib/libc/stdio/vsnprintf.c:42
* 1    <main task>       0x4000bff0 in ?? ()



ESP_Sprite
Posts: 9020
Joined: Thu Nov 26, 2015 4:08 am

Re: device Hangs

Postby ESP_Sprite » Wed Mar 27, 2019 2:15 am

Looks like the system is still doing its thing... can you give a bit more info about what it should be doing?

Who is online

Users browsing this forum: Google [Bot] and 153 guests