Skip to content

[BUG] nimble broken for nrf52, nrf53 #18053

@raiden00pl

Description

@raiden00pl

Description / Steps to reproduce the issue

One of the recent changes broke nimble on nrf52 and nrf53.

Last working release: 12.12

there is a crash or deadlock in this area:

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ SOURCE (CODE) ]────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
In file: /home/raiden00/git/RTOS/nuttx/nuttx/net/bluetooth/bluetooth_sendmsg.c:306
   301   /* Initialize the state structure. This is done with the network locked
   302    * because we don't want anything to happen until we are ready.
   303    */
   304 
   305   conn_dev_lock(&conn->bc_conn, &radio->r_dev);
 ► 306   memset(&state, 0, sizeof(struct bluetooth_sendto_s));
   307   nxsem_init(&state.is_sem, 0, 0); /* Doesn't really fail */
   308 
   309   state.is_sock   = psock;          /* Socket descriptor to use */
   310   state.is_buflen = len;            /* Number of bytes to send */
   311   state.is_buffer = buf;            /* Buffer to send from */


Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armIssues related to ARM (32-bit) architectureArea: NetworkingEffects networking subsystemOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions