Development
Ticket #12051 (usb_modeswitch.cpp missing several devices) created
The following devices need to be added to src/add-ons/kernel/drivers/common/usb_modeswitch.cpp
Huawei E5377 USB modem/router
Huawei HWD12 LTE USB modem stick
The required code follows:
{ /* MSG_HUAWEI_4 */
0x55, 0x53, 0x42, 0x43, 0x12, 0x34, 0x56, 0x78,
0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x0a, 0x11,
0x06, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
},
...
{{ 0, 0, 0, HUAWEI_VENDOR, 0x1f02}, MSG_HUAWEI_3}, // E5377
{{ 0, 0, 0, HUAWEI_VENDOR, 0x1f03}, MSG_HUAWEI_4}, // HWD12 LTE
I also note that this file object isn't being created, but I'm fairly unfamiliar with Jam so can't debug it at this stage. Consequently this functionality is missing from the build.
Ticket #12045 (Small GUI unification of translators) closed
Thanks for looking over it. Applied with hrev49142.
BCalendarView: Use system color.
Time: reintroduces seconds for aesthetic reasons.
Ticket #12050 (Tracker deadlock between FS unmount and DoPeriodicUpdate) created
Periodic update BPose's are ones that get updated periodically through TTracker::Pulse() like the volume icons on the desktop with their free space bars. They are kept in a list managed by a global PeriodicUpdatePoses object.
TTracker::Pulse() calls PeriodicUpdatePoses::DoPeriodicUpdate() (Utilities.cpp:222) which locks the PeriodicUpdatePoses object and then locks the looper of each BPoseView where a BPose is to be updated.
When a volume is unmounted the FS notification triggers the BPose representing the volume on the desktop to be removed and destroyed. The BPose destructor then removes itself from the list via PeriodicUpdatePoses::RemovePose() (Utilities.cpp:200). This goes through the list and when it finds the item, it locks the object and removes the BPose. Locking is broken because items are added to the list without locking and the list traversal on remove doesn't happen locked. This should be fixed as well but doesn't affect the deadlock here.
The deadlock happens when DoPeriodicUpdate already holds the lock of PeriodicUpdatePoses but hasn't yet locked the looper of the BPoseView while the FS notification is handled (which means the looper is locked) but hasn't yet caused PeriodicUpdatePoses::RemovePose() to be called.
Attached is a KDL session showing more details. As I am tracking other issues currently and am unsure how this could be fixed cleanly, I'll leave this here without intention of fixing it myself.
Ticket #12049 (Haiku Book should warn about area_delete changes) created
A comment in the current virtual memory code states that differently from BeOS, in Haiku it's not possible to delete an area_id created by another team, this should be cleared out in the Haiku Book.
Ticket #12047 (Webpositive seg fault (not dup of 11835)) closed
Dupe of #10924
Ticket #12048 (POSIX API is missing pthread_condattr_setclock implementation) created
The POSIX API provided by Haiku is missing the declaration and implementation of pthread_condattr_setclock (and maybe pthread_condattr_getclock), so even though Haiku provides a monotonic clock, it is not possible to inform the pthread implementation, that it shall be used.
[haiku-development] Re: The next release (kallisti5)
[haiku-development] Re: The next release (Adrien Destugues)
[haiku-development] Re: The next release (Andrew Hudson)
Ticket #12047 (Webpositive seg fault (not dup of 11835)) created
Crashing when accessing a website. Report attached:
[haiku-development] Re: The next release (Earl Pottinger)
[haiku-development] Re: The next release (Richie Nyhus-Smith)
[haiku-development] Re: The next release (Adrien Destugues)
[haiku-development] Re: The next release (kallisti5)
Ticket #12046 (Boot fails with Focusrite Scarlett 2i4 attached) created
If I boot 49132 with my Focusrite Scarlett 2i4 attached I either get a garbled display or a KDL. The KDL seems to be caused by Haiku's USB midi support but I don't get a syslog when that happens.
I have attached a syslog dump from booting with the 2i4 attached which resulted in a messed-up display ie no desktop.
