Using NON-OS-SDK and got some problem

jacklin
Posts: 15
Joined: Wed Apr 04, 2018 11:37 am

Using NON-OS-SDK and got some problem

Postby jacklin » Mon May 07, 2018 7:46 pm

I wanna using system_show_malloc() to check up the memory leak.but i got fatal exception when i call the function:

Fatal exception 28(LoadProhibitedCause):
epc1=0x4000228b, epc2=0x00000000, epc3=0x00000000, excvaddr=0x020000e0, depc=0x00000000

I am so comfused,because i just add one line code to the demo ,and it crash.Could someone help me to solve this problem?
Thank you so much ! The SDK version is v2.2.0.

AgentSmithers
Posts: 81
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: Using NON-OS-SDK and got some problem

Postby AgentSmithers » Wed May 09, 2018 5:19 am

Hey Jack,
I've been a bit busy with recently upcoming requirements but I think I'll get some time to hash away at this in the next day or so. I'll report back what I get. I believe I'm running 2.2.0 currently as well.

jacklin
Posts: 15
Joined: Wed Apr 04, 2018 11:37 am

Re: Using NON-OS-SDK and got some problem

Postby jacklin » Wed May 09, 2018 1:17 pm

AgentSmithers wrote:Hey Jack,
I've been a bit busy with recently upcoming requirements but I think I'll get some time to hash away at this in the next day or so. I'll report back what I get. I believe I'm running 2.2.0 currently as well.

HI,AgentSmithers :
Thanks for your reply.I had try many version of nonos SDK (v1.5 v2.1 v2.2) to solve this problem,finally i found that the v2.2.0 still doesn't work with the function :system_show_malloc() ,and other version seems normal.when i call this function in v1.5 and v2.1 it output:

udp.c 944 malloc 64
timers.c 296 malloc 32
timers.c 296 malloc 32
timers.c 296 malloc 32
timers.c 296 malloc 32
timers.c 296 malloc 64
user_interface.c 2278 malloc 48
ieee80211.c 556 malloc 688
ieee80211.c 562 malloc 288
platform.c 102 malloc 224
airkiss_lan.c 167 malloc 48
airkiss_lan.c 173 malloc 64
wpa_main.c 98 malloc 176
wpa_main.c 82 malloc 176
.........

But i want to use the v2.2.0, because other version seems have other weired bug in tcp conncection ...

AgentSmithers
Posts: 81
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: Using NON-OS-SDK and got some problem

Postby AgentSmithers » Sat May 12, 2018 4:52 am

jacklin wrote:
AgentSmithers wrote:Hey Jack,
I've been a bit busy with recently upcoming requirements but I think I'll get some time to hash away at this in the next day or so. I'll report back what I get. I believe I'm running 2.2.0 currently as well.

HI,AgentSmithers :
Thanks for your reply.I had try many version of nonos SDK (v1.5 v2.1 v2.2) to solve this problem,finally i found that the v2.2.0 still doesn't work with the function :system_show_malloc() ,and other version seems normal.when i call this function in v1.5 and v2.1 it output:

udp.c 944 malloc 64
timers.c 296 malloc 32
timers.c 296 malloc 32
timers.c 296 malloc 32
timers.c 296 malloc 32
timers.c 296 malloc 64
user_interface.c 2278 malloc 48
ieee80211.c 556 malloc 688
ieee80211.c 562 malloc 288
platform.c 102 malloc 224
airkiss_lan.c 167 malloc 48
airkiss_lan.c 173 malloc 64
wpa_main.c 98 malloc 176
wpa_main.c 82 malloc 176
.........

But i want to use the v2.2.0, because other version seems have other weired bug in tcp conncection ...


No problem Jacklin, Anything you still need help with? Seems maybe just a framework upgrade at this point?

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest