change language to simplified Chinese: sequencer -> add image strip crashes Blender #28709

Closed
opened 2011-09-20 23:19:55 +02:00 by Dalai Felinto · 4 comments

%%%How to reproduce:
~trunk - post garlic merge

(0) in an English Windows
(1) change Language to Simplified Chinese
(2) go to sequencer
(3) add an image or sound strip (Shift+A -> the second option from the bottom )

.. CRASH ...

Running a debug Blender in windows I get the following message in a popup:


Debug Assertion Failed!
Program: C:\Blender\blender.exe
File: f:\dd\vctools\ctr_bld\self_x86\crt\src\output.c
Line 1158:

Expression (ch != _T('\0'))

For information [bla bla bla]


When I click "retry" I get the crash and in MSVC the following backtrace:


blender.exe!_output_l(_iobuf * stream=0x0028fa6c, const char * format=0x040bd50a, localeinfo_struct * plocinfo=0x00000000, char * argptr=0x0028faac)  Line 1158 + 0x35 bytes	C++
blender.exe!sprintf(char * string=0x0028fac0, const char * format=0x040bd504, ...)  Line 130 + 0x13 bytes	C
blender.exe!uiDefAutoButR(uiBlock * block=0x0a2a1f88, PointerRNA * ptr=0x0028fd9c, PropertyRNA * prop=0x048a90e0, int index=-1, const unsigned char * name=0x040bd4f8, int icon=0, int x1=0, int y1=0, int x2=200, int y2=20)  Line 119 + 0x2b bytes	C
blender.exe!uiItemFullR(uiLayout * layout=0x0a2d20a8, PointerRNA * ptr=0x0028fd9c, PropertyRNA * prop=0x048a90e0, int index=-1, int value=0, int flag=0, const unsigned char * name=0x040bd4f8, int icon=0)  Line 1048 + 0x2c bytes	C

blender.exe!uiDefAutoButsRNA(uiLayout * layout=0x0a2d20a8, PointerRNA * ptr=0x0028fd9c, int (PropertyRNA ) check_prop=0x00695780, const unsigned char label_align=0) Line 180 + 0x1d bytes C

blender.exe!uiLayoutOperatorButs(const bContext * C=0x0403a648, uiLayout * layout=0x0a2d20a8, wmOperator * op=0x0a251440, int (PropertyRNA *)* check_prop=0x00695780, const unsigned char label_align=0, const short flag=2)  Line 2808 + 0x16 bytes	C
blender.exe!file_panel_operator(const bContext * C=0x0403a648, Panel * pa=0x04e2d1e8)  Line 199 + 0x1d bytes	C
blender.exe!ED_region_panels(const bContext * C=0x0403a648, ARegion * ar=0x0a2aa4e0, int vertical=1, const unsigned char * context=0x00000000, int contextnr=-1)  Line 1529 + 0x13 bytes	C
blender.exe!file_channel_area_draw(const bContext * C=0x0403a648, ARegion * ar=0x0a2aa4e0)  Line 473 + 0x13 bytes	C
blender.exe!ED_region_do_draw(bContext * C=0x0403a648, ARegion * ar=0x0a2aa4e0)  Line 431 + 0x10 bytes	C
blender.exe!wm_method_draw_triple(bContext * C=0x0403a648, wmWindow * win=0x04845638)  Line 597 + 0xd bytes	C
blender.exe!wm_draw_update(bContext * C=0x0403a648)  Line 776 + 0xd bytes	C
blender.exe!WM_main(bContext * C=0x0403a648)  Line 386 + 0x9 bytes	C
blender.exe!_main()  + 0x213 bytes	C
blender.exe!__tmainCRTStartup()  Line 266 + 0x19 bytes	C
blender.exe!mainCRTStartup()  Line 182	C
kernel32.dll!77033677() 	
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	
ntdll.dll!777a9d72() 	
ntdll.dll!777a9d45() 	
blender.exe!ui_but_menu(bContext * C=0x75007878, uiBut * but=0x084d8b21)  Line 4373 + 0x8 bytes	C
8308458b()	

@@###################

The crash is for the rna prop Files (prop->identifier=files ; prop->type = COLLECTION)
Thanks%%%

%%%How to reproduce: ~trunk - post garlic merge (0) in an English Windows (1) change Language to Simplified Chinese (2) go to sequencer (3) add an image or sound strip (Shift+A -> the second option from the bottom ) .. CRASH ... Running a debug Blender in windows I get the following message in a popup: **** Debug Assertion Failed! Program: C:\Blender\blender.exe File: f:\dd\vctools\ctr_bld\self_x86\crt\src\output.c Line 1158: Expression (ch != _T('\0')) For information [bla bla bla] **** When I click "retry" I get the crash and in MSVC the following backtrace: **** blender.exe!_output_l(_iobuf * stream=0x0028fa6c, const char * format=0x040bd50a, localeinfo_struct * plocinfo=0x00000000, char * argptr=0x0028faac) Line 1158 + 0x35 bytes C++ blender.exe!sprintf(char * string=0x0028fac0, const char * format=0x040bd504, ...) Line 130 + 0x13 bytes C blender.exe!uiDefAutoButR(uiBlock * block=0x0a2a1f88, PointerRNA * ptr=0x0028fd9c, PropertyRNA * prop=0x048a90e0, int index=-1, const unsigned char * name=0x040bd4f8, int icon=0, int x1=0, int y1=0, int x2=200, int y2=20) Line 119 + 0x2b bytes C blender.exe!uiItemFullR(uiLayout * layout=0x0a2d20a8, PointerRNA * ptr=0x0028fd9c, PropertyRNA * prop=0x048a90e0, int index=-1, int value=0, int flag=0, const unsigned char * name=0x040bd4f8, int icon=0) Line 1048 + 0x2c bytes C > blender.exe!uiDefAutoButsRNA(uiLayout * layout=0x0a2d20a8, PointerRNA * ptr=0x0028fd9c, int (PropertyRNA *)* check_prop=0x00695780, const unsigned char label_align=0) Line 180 + 0x1d bytes C blender.exe!uiLayoutOperatorButs(const bContext * C=0x0403a648, uiLayout * layout=0x0a2d20a8, wmOperator * op=0x0a251440, int (PropertyRNA *)* check_prop=0x00695780, const unsigned char label_align=0, const short flag=2) Line 2808 + 0x16 bytes C blender.exe!file_panel_operator(const bContext * C=0x0403a648, Panel * pa=0x04e2d1e8) Line 199 + 0x1d bytes C blender.exe!ED_region_panels(const bContext * C=0x0403a648, ARegion * ar=0x0a2aa4e0, int vertical=1, const unsigned char * context=0x00000000, int contextnr=-1) Line 1529 + 0x13 bytes C blender.exe!file_channel_area_draw(const bContext * C=0x0403a648, ARegion * ar=0x0a2aa4e0) Line 473 + 0x13 bytes C blender.exe!ED_region_do_draw(bContext * C=0x0403a648, ARegion * ar=0x0a2aa4e0) Line 431 + 0x10 bytes C blender.exe!wm_method_draw_triple(bContext * C=0x0403a648, wmWindow * win=0x04845638) Line 597 + 0xd bytes C blender.exe!wm_draw_update(bContext * C=0x0403a648) Line 776 + 0xd bytes C blender.exe!WM_main(bContext * C=0x0403a648) Line 386 + 0x9 bytes C blender.exe!_main() + 0x213 bytes C blender.exe!__tmainCRTStartup() Line 266 + 0x19 bytes C blender.exe!mainCRTStartup() Line 182 C kernel32.dll!77033677() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] ntdll.dll!777a9d72() ntdll.dll!777a9d45() blender.exe!ui_but_menu(bContext * C=0x75007878, uiBut * but=0x084d8b21) Line 4373 + 0x8 bytes C 8308458b() @@################### The crash is for the rna prop Files (prop->identifier=files ; prop->type = COLLECTION) Thanks%%%
Author
Owner

Changed status to: 'Open'

Changed status to: 'Open'

%%%Possible fix was commited at revision 40429. Please test and tell if it works or some other issues present.%%%

%%%Possible fix was commited at revision 40429. Please test and tell if it works or some other issues present.%%%
Author
Owner

%%%Problem fixed (closing the report, thanks).
A side thing that happened: Now Image and Sound in the Sequencer are no longer translated to Chinese. I find that strange but I guess it's unrelated (they were translated yesterday) see yesterday's build screenshot (attached)%%%

%%%Problem fixed (closing the report, thanks). A side thing that happened: Now Image and Sound in the Sequencer are no longer translated to Chinese. I find that strange but I guess it's unrelated (they were translated yesterday) see yesterday's build screenshot (attached)%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#28709
No description provided.