Opened 13 years ago

Closed 13 years ago

#375 closed defect (fixed)

USB: vhc driver crashes on startup.

Reported by: Jan Vesely Owned by:
Priority: major Milestone: 0.5.0
Component: helenos/usb/other Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

Crash in IPC during root hub registration.
backtrace:
0x00019429 (async_sess_args_set+9)
0x00017092 (service_connect+98)
0x0000da0e (devman_device_connect+46)
0x0000289b (hub_register_in_devman_fibril+43)
0x00010519 (fibril_main+25)

Change History (2)

comment:1 by Jakub Jermář, 13 years ago

This is because the call to async_connect_me_to(mgmt, exch, service, arg2, arg3); returns NULL. In other words, the attempt to connect to the hc_dev in hub_register_in_devman_fibril() fails. On the other hand, hub_register_in_devman_fibril() looks like it is ready to handle a couple of such failures, so perhaps service_connect() should simply return NULL when sess is NULL.

comment:2 by Jakub Jermář, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in mainline,1232.

Note: See TracTickets for help on using tickets.