cm-heclouds / nbiot_sdk Goto Github PK
View Code? Open in Web Editor NEWOneNET NBIOT C SDK
OneNET NBIOT C SDK
在该函数中,如果nbiot_udp_create等函数失败,会造成段错误
*** Error in `./nbiot_sample': free(): invalid pointer: 0x0000000000615100 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81499)[0x7f6828fa7499]
./nbiot_sample(nbiot_free+0x18)[0x40deba]
./nbiot_sample(nbiot_device_create+0xa0)[0x403b4b]
./nbiot_sample(main+0x546)[0x40367d]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f6828f48445]
./nbiot_sample[0x402de9]
======= Memory map: ========
00400000-00415000 r-xp 00000000 fd:00 213658279 /root/lanli/nbiot_sdk/sample/nbiot_sample
00614000-00615000 r--p 00014000 fd:00 213658279 /root/lanli/nbiot_sdk/sample/nbiot_sample
00615000-00616000 rw-p 00015000 fd:00 213658279 /root/lanli/nbiot_sdk/sample/nbiot_sample
00bfb000-00c1c000 rw-p 00000000 00:00 0 [heap]
7f6824000000-7f6824021000 rw-p 00000000 00:00 0
7f6824021000-7f6828000000 ---p 00000000 00:00 0
7f6828d10000-7f6828d25000 r-xp 00000000 fd:00 206156309 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f6828d25000-7f6828f24000 ---p 00015000 fd:00 206156309 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f6828f24000-7f6828f25000 r--p 00014000 fd:00 206156309 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f6828f25000-7f6828f26000 rw-p 00015000 fd:00 206156309 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f6828f26000-7f68290e9000 r-xp 00000000 fd:00 201339150 /usr/lib64/libc-2.17.so
7f68290e9000-7f68292e8000 ---p 001c3000 fd:00 201339150 /usr/lib64/libc-2.17.so
7f68292e8000-7f68292ec000 r--p 001c2000 fd:00 201339150 /usr/lib64/libc-2.17.so
7f68292ec000-7f68292ee000 rw-p 001c6000 fd:00 201339150 /usr/lib64/libc-2.17.so
7f68292ee000-7f68292f3000 rw-p 00000000 00:00 0
7f68292f3000-7f6829315000 r-xp 00000000 fd:00 235816849 /usr/lib64/ld-2.17.so
7f6829504000-7f6829507000 rw-p 00000000 00:00 0
7f6829512000-7f6829514000 rw-p 00000000 00:00 0
7f6829514000-7f6829515000 r--p 00021000 fd:00 235816849 /usr/lib64/ld-2.17.so
7f6829515000-7f6829516000 rw-p 00022000 fd:00 235816849 /usr/lib64/ld-2.17.so
7f6829516000-7f6829517000 rw-p 00000000 00:00 0
7fff84224000-7fff84245000 rw-p 00000000 00:00 0 [stack]
7fff84300000-7fff84302000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
该地址为静态全局区地址,不是堆地址
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.