Forums - Code Crashed when connect to http/https server

3 posts / 0 new
Last post
Code Crashed when connect to http/https server
georged
Join Date: 21 Apr 17
Posts: 1
Posted: Fri, 2017-06-23 06:24

We are working with QCA4004 module and facing a code crashing issue in qualcomm network api.
In station mode, When we are trying to connect to http/https server, code is getting crashed occasionally.(issue found in both http and https)

After debugging we found that this issue is happened in qcom_http_client_method api .

code Secion : 

httpc.command is HTTPC_CONNECT_SSL_CMD
httpc.data is 443(PORT)
 
stat = qcom_http_client_method(httpc.command, httpc.url, httpc.data, NULL); // Here we got the error code
 

We also found this issue in sdk shell command code provided by qualcomm. Not all the time, but most of the time.

Please help us to resolve this issue.? and what could be the reasons for this.?

The error response is 

assertion failed? pc=0x9bcd9c, line=5555, dump area=0x430008

Target ID: 0x32000052 (838860882)
Debug Info:
0x32000052 0x000015b3 0x009bcd9c 0x00955b31 
0x009bcd9c 0x00060130 0x0000001e 0x00447858 
0x00475268 0x00000020 0x0047528c 0x00000002 
0x00000009 0x00000000 0x009bcdf8 0x009bce0b 
0x009dfb70 0x00a0c99e 0x00000000 0x00000000 
0x409bcd9c 0x00430118 0x00955a00 0x00000040 
0x809bcf02 0x00430178 0x00009016 0xc09bcd9c 
0x809bd4d3 0x004301b8 0x00475268 0x00000010 
0x80a1681a 0x00430208 0x00000000 0x00461cf0 
0x80a0ac94 0x00430228 0x00000005 0x00461cf0 
0x809b400b 0x00430248 0x0043d624 0x00461ce4 
0x80a0ae5f 0x00430268 0x00438adc 0x0000f08d 
0x80a0b39f 0x00430298 0x00000000 0x0000f08d 
0x8095c7e8 0x004302b8 0x00000000 0x0000f08d 
0x809cef8f 0x004302d8 0x0000f08d 0x00461ce4 
  • Up0
  • Down0
c_rayl
Join Date: 14 Jan 16
Posts: 19
Posted: Fri, 2017-09-29 02:09

Dear Customer,

Could you provide which SDK you're using ? and that is 4004 hostless or hosted ?

Regards,

Ray

  • Up0
  • Down0
c_rayl
Join Date: 14 Jan 16
Posts: 19
Posted: Fri, 2017-09-29 02:20

Dear Customer,

Please try out this workround.

The DUT crashes with info "pc=0x9bd41a, line=5555, dump area=0x4300b8" when the command "--ip_http_client query" is sent to DUT without checking for availability of HTTP connection.

-> A work-around is to check for HTTP connection before sending any HTTP queries.
 A DUT already connected to reference AP fails to ping reference AP occasionally when small management buffer is running out. Recommend to use large pings (>300 bytes) as a work-around.

Regards,

Ray

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.