zsmjhtn opened a new issue #2972: Curiosity how do u develop project by using 
V0.26/0.24?
URL: https://github.com/apache/incubator-weex/issues/2972
 
 
   First: console.log in Js is in vain. 
   Weex throw error is so obscure that I can only depend on Console.log for 
finding bugs.Now it useless, i can not understand the change of  Console.
   
   Second: Error log is so chaos。
   Even a little Js errors,u can see a lot of useless logs。Example
   
   ```java
   2019-10-17 15:47:10.646 26175-26201/com.ifaex_aos E/WeexCore: 
script_side_in_multi_process.cpp:314,futex lock pi failed: No such process, 
80006682 26201 (0 0 0 80006682)
   2019-10-17 15:47:10.647 26175-26201/com.ifaex_aos E/WXBridge: 
reportServerCrash instanceId:1 crashFile: /crash_dump.log
   2019-10-17 15:47:10.647 26175-26201/com.ifaex_aos E/WXParams: 
getCrashFilePath:/data/user/0/com.ifaex_aos/app_crash
   2019-10-17 15:47:10.647 26175-26201/com.ifaex_aos D/jsengine: 
callReportCrashReloadPage 
crashFile:/data/user/0/com.ifaex_aos/app_crash/crash_dump.log
   2019-10-17 15:47:10.664 26175-26201/com.ifaex_aos E/WeexCore: 
wx_bridge.cpp:1138,class Name is com/taobao/weex/bridge/WXBridge
   2019-10-17 15:47:10.664 26175-26201/com.ifaex_aos E/WeexCore: 
WXBridge_jni.h:1198,Java_WXBridge_reset_clazz class Name is 
com/taobao/weex/bridge/WXBridge
   2019-10-17 15:47:10.684 26175-26201/com.ifaex_aos W/weex: app AvailMemory 
---->>>1634
   2019-10-17 15:47:10.702 26175-26304/com.ifaex_aos D/ReportCrash:  
commitJscCrashAlarmMonitor errMsg SIG: SIGSEGV (11), fault addr: 0x0
       maps:
       b73d4000-b73d5000 r-xp 00000000 fd:06 231600                             
/data/app/com.ifaex_aos-Eypc1EKUSA-6G84DkfJYkQ==/lib/arm/libweexjsb.so
       b73d5000-b73d6000 r--p 00000000 fd:06 231600                             
/data/app/com.ifaex_aos-Eypc1EKUSA-6G84DkfJYkQ==/lib/arm/libweexjsb.so
       b73d6000-b73d7000 rw-p 00000000 00:00 0 
       ea700000-eac00000 rw-p 00000000 00:00 0                                  
[anon:libc_malloc]
       eac15000-eac16000 ---p 00000000 00:00 0                                  
[anon:thread stack guard page]
       eac16000-ead12000 rw-p 00000000 00:00 0 
       ead12000-ead13000 ---p 00000000 00:00 0                                  
[anon:thread stack guard page]
       ead13000-eae0f000 rw-p 00000000 00:00 0 
       eae0f000-eae10000 ---p 00000000 00:00 0                                  
[anon:thread stack guard page]
       eae10000-eaf0c000 rw-p 00000000 00:00 0 
       eaf0c000-eaf0d000 ---p 00000000 00:00 0                                  
[anon:thread stack guard page]
       eaf0d000-eb009000 rw-p 00000000 00:00 0 
       eb009000-eb00a000 ---p 00000000 00:00 0                                  
[anon:thread stack guard page]
       eb00a000-eb106000 rw-p 00000000 00:00 0 
       eb106000-eb107000 ---p 00000000 00:00 0                                  
[anon:thread stack guard page]
       eb107000-eb203000 rw-p 00000000 00:00 0 
       eb203000-eb204000 ---p 00000000 00:00 0                                  
[anon:thread stack guard page]
       eb204000-eb300000 rw-p 00000000 00:00 0 
       eb300000-eb680000 rw-p 00000000 00:00 0 
   ```
   Maybe the reason is the error using/import of:
   ```javascript
   onst logModule = weex.requireModule('sdk-console-log')
        const toastModule = weex.requireModule('modal')
   ......
   ..... invoke above code....
   ```
   When I delete those  relativition code, the chaos errors is dismiss.
   Through chaos logs , I don not what error happen to me and how to solve it.
   
   I confirm  weex_group  take great pains on this project.
   But the new version is more  difficult to use , compare to early version。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to