Closed Bug 981954 Opened 11 years ago Closed 11 years ago

Sometimes we remove a char message whose scan code is different from found message

Categories

(Core :: Widget: Win32, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30
Tracking Status
firefox28 --- fixed
firefox29 --- fixed
firefox30 --- fixed
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(Keywords: crash, topcrash-metro, Whiteboard: [qa-])

Crash Data

When we remove found char message, the removed message's scancode is sometimes different from the found message. We can guess that it's caused by another application inserting new key message into the queue. So, we should ignore the scan code difference if other values are same.
This bug was fixed by attachment 8377472 [details] [diff] [review]. (In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #75) > Logs of remaining crashes are: > > > Handling message: WM_KEYDOWN (0x00000100), wParam: 0x00000080, lParam: 0x00000001, InSendMessageEx()=ISMEX_NOSEND, > > Found message: WM_CHAR (0x00000102), wParam: 0x0000092F, lParam: 0x00000001, > > Removed message: WM_CHAR (0x00000102), wParam: 0x0000092F, lParam: 0x00800001 > > and > > > Handling message: WM_KEYDOWN (0x00000100), wParam: 0x00000080, lParam: 0x00000001, InSendMessageEx()=ISMEX_NOSEND, > > Found message: WM_CHAR (0x00000102), wParam: 0x000000A0, lParam: 0x00000001, > > Removed message: WM_CHAR (0x00000102), wParam: 0x000000A0, lParam: 0x002A0001 > > http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a- > 923143f3456c/scancode.doc > According to "Keyboard Scan Code Specification", scan code 0x80 means > releasing undefined key. 0x2A is pressing left shift key. It might occur > when new keydown or keyup message is inserted to the queue. Although, I have > no idea to confirm it. (In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #76) > Created attachment 8377472 [details] [diff] [review] > NativeKey should not check scan code at comparing found char message and > removed char message (landed on m-c and aurora) > > Let's ignore the scan code value at comparing found char message with > removed char message. > > That's all for the crash reasons which we know. (In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #77) > Thank you, let's close this bug after watching crash reports for a week. > https://hg.mozilla.org/integration/mozilla-inbound/rev/efd7039a2ff2 (In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #84) > https://hg.mozilla.org/mozilla-central/rev/efd7039a2ff2
Status: ASSIGNED → RESOLVED
Crash Signature: [@ mozilla::widget::NativeKey::GetFollowingCharMessage(tagMSG&)]
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Keywords: verifyme
It seems that this issue is still reproducing, since bug 962140 currently has the ASSIGNED status and according to Socorro, there are builds with the 20140306171728 and 20140306171728 build IDs that crashed with this signature, in the last 4 weeks: https://crash-stats.mozilla.com/report/list?signature=mozilla%3A%3Awidget%3A%3ANativeKey%3A%3AGetFollowingCharMessage%28tagMSG%26%29&product=Firefox&query_type=contains&range_unit=weeks&process_type=any&hang_type=any&date=2014-03-11+10%3A00%3A00&range_value=4#tab-reports
(In reply to Manuela Muntean [:Manuela] [QA] from comment #2) > It seems that this issue is still reproducing, since bug 962140 currently > has the ASSIGNED status and according to Socorro, there are builds with the > 20140306171728 and 20140306171728 build IDs that crashed with this > signature, in the last 4 weeks: > > https://crash-stats.mozilla.com/report/ > list?signature=mozilla%3A%3Awidget%3A%3ANativeKey%3A%3AGetFollowingCharMessag > e%28tagMSG%26%29&product=Firefox&query_type=contains&range_unit=weeks&process > _type=any&hang_type=any&date=2014-03-11+10%3A00%3A00&range_value=4#tab- > reports See bug 981958 comment 3.
I see there is a crash on 29.0 Beta (https://crash-stats.mozilla.com/report/index/b98dbda6-04e9-470e-8319-c687f2140321). Per comment #3 I'm removing the "verifyme" keyword, since it seems there's nothing more we can do on the QA side for now.
Keywords: verifyme
qa- as per comment 4.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.