[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Problem with bt_buffer allocation/deallocation



Hello,

This occurs when connected via ppp and 
in this case do a ls, which seem to produce a couple of
bt_buf subscriptions, but when the stack starts to return them, they
have
been corrupted, or at least the magic, and nothing will work afterwards.

Could this be hardware dependant?


The stack version used is CVS ~2001-03-16.
Currently running in user mode but I have experienced the same problem
in Kernel mode.
RH6.2

Best Regards 
Stefan Thomasson




    BTMEM get_bt_buf : no data in buffer
    BTMEM subscribe_bt_buf : buf_len 47
    BTMEM get_bt_buf : no data in buffer
    BTMEM Buffer empty, reset buffer and subsc at 0
     BTMEM get_bt_buf : returning 0
    BTMEM unsubscribe_bt_buf : 25 bytes (not incl hdrs) at pos 0
    BTMEM get_bt_buf : no data in buffer
    BTMEM subscribe_bt_buf : buf_len 44
    BTMEM get_bt_buf : no data in buffer
    BTMEM Buffer empty, reset buffer and subsc at 0
     BTMEM get_bt_buf : returning 0
    BTMEM unsubscribe_bt_buf : 22 bytes (not incl hdrs) at pos 0
    BTMEM get_bt_buf : no data in buffer
    BTMEM subscribe_bt_buf : buf_len 48
    BTMEM get_bt_buf : no data in buffer
    BTMEM Buffer empty, reset buffer and subsc at 0
     BTMEM get_bt_buf : returning 0
    BTMEM unsubscribe_bt_buf : 26 bytes (not incl hdrs) at pos 0
    BTMEM get_bt_buf : no data in buffer
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : no data in buffer
    BTMEM Buffer empty, reset buffer and subsc at 0
     BTMEM get_bt_buf : returning 0
    BTMEM unsubscribe_bt_buf : 140 bytes (not incl hdrs) at pos 0
    BTMEM get_bt_buf : no data in buffer
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : no data in buffer
    BTMEM Buffer empty, reset buffer and subsc at 0
     BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 324
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 486
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 146
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 648
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 794
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 956
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 1118
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 1280
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 1442
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 1604
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 1766
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : buf_len 162
    BTMEM get_bt_buf : returning 0
    BTMEM subscribe_bt_buf : subscribe in tail at pos 1928
    BTMEM get_bt_buf : returning 0
    BTMEM get_bt_buf : returning 0
    BTMEM unsubscribe_bt_buf : 140 bytes (not incl hdrs) at pos 0


BT SYS: ERROR :get_bt_buf : wrong magic!
BT SYS: ERROR :get_bt_buf : wrong magic!
    BTMEM subscribe_bt_buf : buf_len 39
BT SYS: ERROR :get_bt_buf : wrong magic!
    BTMEM subscribe_bt_buf : subscribe in tail at pos 2090
BT SYS: ERROR :get_bt_buf : wrong magic!
wait for a connection on line 0
bt_waitline : not impl in usermode stack
    BTMEM subscribe_bt_buf : buf_len 39
BT SYS: ERROR :get_bt_buf : wrong magic!
    BTMEM subscribe_bt_buf : subscribe in tail at pos 2129
BT SYS: ERROR :get_bt_buf : wrong magic!
waitpid pppd: No child processes
BT SYS: Shutting down RFCOMM
BT SYS: Shutting down SDP
    BTMEM subscribe_bt_buf : buf_len 39
BT SYS: ERROR :get_bt_buf : wrong magic!
    BTMEM subscribe_bt_buf : subscribe in tail at pos 2168
use NO timer...
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com