Ticket #39746

Windows 8.1環境のマルチディスプレイ間のウィンドウ移動時にTeraTermが強制終了する

Eröffnet am: 2019-11-11 18:33 Letztes Update: 2019-12-09 10:18

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

TeraTerm Version: 4.104(SVN# 8043)

Windows Version: Windows 8.1 Pro

Windows 8.1環境にて、TeraTermメインウィンドウをマルチディスプレイ間の移動を行うと強制終了します。

Ver 4.102 では発生せず、Ver 4.103 で発生するようになりました。

デバッグ環境があるので確認してみたところ、

vtwin.cpp 内の LRESULT CVTWindow::OnDpiChanged(WPARAM wp, LPARAM) の pAdjustWindowRectExForDpi(&Rect, Style, TRUE/*menu*/, ExStyle, NewDPI);

で落ちていました。

AdjustWindowRectExForDpi() は Windows 10 1607 以降で実装された関数ですが、 Windows 8.1 環境で WM_DPICHANGED メッセージが飛んでくると、呼べずに落ちているようです(pAdjustWindowRectExForDpiがNULLになってます)

以下、トレースログです。

---------------------------
Tera Term: Application fault
---------------------------
eax=00000310 ebx=00A597B4 ecx=14EF0000 edx=00A5957C esi=000002E0 edi=00BC4310

ebp=00A595F0 esp=00A59518 eip=00000000 efl=00010202

cs=0023 ss=002B ds=002B es=002B fs=0053 gs=002B

Exception: ACCESS_VIOLATION

#1  0x00000000 in  --- at <Unknown Module> 
#2  0x00c107a6 in CVTWindow::OnDpiChanged() + 0x126 at ***\Debug\ttermpro.exe ***\teraterm\teraterm\vtwin.cpp:6339
#3  0x00c11343 in CVTWindow::Proc() + 0x7b3 at ***\Debug\ttermpro.exe ***\teraterm\teraterm\vtwin.cpp:6620
#4  0x00bc4358 in TTCFrameWnd::ProcStub() + 0x48 at ***\Debug\ttermpro.exe ***\\teraterm\common\tmfc_frame.cpp:102
#5  0x74f28e71 in CallNextHookEx() + 0xb1 at C:\Windows\SYSTEM32\USER32.dll 

---------------------------
OK   
---------------------------

Ticket-Verlauf (3/7 Historien)

2019-11-11 18:33 Aktualisiert von: inoue_tro
  • New Ticket "Windows 8.1環境のマルチディスプレイ間のウィンドウ移動時にTeraTermが強制終了する" created
2019-11-15 18:07 Aktualisiert von: doda
  • Details Updated
2019-11-16 23:45 Aktualisiert von: zmatsuo
  • Verantwortlicher Update from (Keine) to zmatsuo
  • Lösung Update from Keine to Gefixt
  • Meilenstein Update from (Keine) to Tera Term 4.105 (closed)
2019-11-17 00:03 Aktualisiert von: zmatsuo
  • Lösung Update from Gefixt to Keine
  • Meilenstein Update from Tera Term 4.105 (closed) to (Keine)
  • Verantwortlicher Update from zmatsuo to (Keine)
Kommentar

修正が完了しました。次のリリースに反映されています。

詳細な報告ありがとうございました。

2019-11-17 00:10 Aktualisiert von: zmatsuo
  • Meilenstein Update from (Keine) to Tera Term 4.105 (closed)
  • Verantwortlicher Update from (Keine) to zmatsuo
  • Lösung Update from Keine to Gefixt
2019-12-08 09:01 Aktualisiert von: None
2019-12-09 10:18 Aktualisiert von: doda
  • Status Update from Offen to Geschlossen
Kommentar

Tera Term 4.105 で修正されました。

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden