Opened 17 years ago

Closed 16 years ago

#2290 closed bug (fixed)

bluetooth crashes when removing device

Reported by: monni Owned by: oruizdorantes
Priority: normal Milestone: R1
Component: Network & Internet/Bluetooth Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

vm_page_fault

iframe at 0x80532e70 (end = 0x80532ec8)

80532e70 (+ 104) 0x93a85ec3 </boot/beos/system/add-ons/kernel/drivers/dev/bluetooth/h2generic> nb_destroy + 0x0017 80532ed8 (+ 48) 0x93a84804 </boot/beos/system/add-ons/kernel/drivers/dev/bluetooth/h2generic> device_removed + 0x00e4

eax 0x0 ebx 0x93a88504 ecx 0x0 edx 0x909ece40 esi 0x0 edi 0x909ecee0 ebp 0x80532ed0 esp 0x80532ea4 eip 0x93a85ec3 eflags 0x10292

Sorry about lack of formatting, had to hand-write

Change History (3)

comment:1 by oruizdorantes, 17 years ago

Status: newassigned

Thanks,

nope, more or less I have it located, somehow was expected.

comment:2 by monni, 16 years ago

http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2util.c#L65

Needs to check if nbuf is NULL... After that NO... I mean NO.... KDL ;)

Related to same file, it has several lines with "nbuf->COOKIEFIELD == NULL" that really should be "nbuf->COOKIEFIELD == 0" as COOKIEFIELD isn't of pointer type.

comment:3 by oruizdorantes, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.