maxscript bug 某些情况下当字母大写时会报访问异常

大概在2023+版本出现,不知道什么原因

(此bug已在#(28000, 68, 0, 28, 0, 0, 3879, 2026, "")版本被修复)

运行下面这个代码:

fn testFn =
(
aaa.bbb.axIs 1 -- error, see that uppercase 'I'
)

你将得到错误:

这种bug我是怎么发现的???

-- Known system exception
-- ########################################################################
-- Address: 0xbedceaf4; nCode: 0x00000000C0000005
-- Desc: EXCEPTION_ACCESS_VIOLATION The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
-- Read of Address: 0x0000000000000000
-- ########################################################################
-- MAXScript callstack:
-- thread data: threadID:13584
-- ------------------------------------------------------
-- [stack level: 0]
-- In top-level
-- ########################################################################
-- C++ callstack:
-- (ntdll): (filename not available): KiUserExceptionDispatcher
-- (MAXScrpt): (filename not available): OwnerThunk::OwnerThunk
-- (MAXScrpt): (filename not available): Value::superClassOf_vf
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): GetMAXScriptParserKeywords
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): command_name_from_code
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): GetMAXScriptParserKeywords
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): GetMAXScriptParserKeywords
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): GetMAXScriptParserKeywords
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): command_name_from_code
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): GetMAXScriptParserKeywords
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): GetMAXScriptParserKeywords
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): define_system_global_replace
-- (MAXScrpt): (filename not available): install_rollout_control
-- (MAXScrpt): (filename not available): Parser::compile
-- (MAXScrpt): (filename not available): Listener::get_style
-- (KERNEL32): (filename not available): BaseThreadInitThunk
-- (ntdll): (filename not available): RtlUserThreadStart
-- ########################################################################
posted @   trykle  阅读(21)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示