View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001282||OpenMPT||User Interface||public||2019-11-10 14:38||2019-11-10 14:57|
|Reporter||TheRealByteRaver||Assigned To||Saga Musix|
|Product Version||OpenMPT 1.28.08.00 / libopenmpt 0.4.9 (upgrade first)|
|Target Version||OpenMPT 1.28.09.00 / libopenmpt 0.4.11 (current stable)||Fixed in Version||OpenMPT 1.28.09.00 / libopenmpt 0.4.11 (current stable)|
|Summary||0001282: crash when expanding single-row pattern|
Being a complete n00b in mpt, I opened a song for editing and wanted the patterns of that song to be 64 rows long (they were 48 rows long). I didn't now how to do that so I shrunk the pattern by clicking the X icon (labeled "shrink pattern") repeatedly until the pattern was zero (or 1) row long. When I then expanded the pattern again by clicking the icon right next to it (labeled "expand pattern"), MPT just closed without warning or error message.
|Steps To Reproduce|
I used mechanic.it ("Mechanical And Supernaddy"), an .MDL file resaved as .IT with MPT, made by Jari Karppinen.
I was unable to reproduce the bug by following the same steps with another module (xm file saved to .it, patterns shrunk & expanded again)
Disclaimer: I tried to check if this bug reported before, but couldn't find any mention of it.
|Tags||No tags attached.|
|Has the bug occurred in previous versions?|
|Tested code revision (in case you know it)|
Fixed in r12329. You can set OpenMPT's update channel to "next" and wait for version 1.28.08.03 to arrive there (should be available by tomorrow), or wait for the next stable release.
FWIW, the problem only occurs after halving a pattern that had an odd number of rows, in your example this was triggered by resizing the pattern from 3 to 1 row.
|2019-11-10 14:38||TheRealByteRaver||New Issue|
|2019-11-10 14:55||Saga Musix||Assigned To||=> Saga Musix|
|2019-11-10 14:55||Saga Musix||Status||new => assigned|
|2019-11-10 14:55||Saga Musix||Target Version||=> OpenMPT 1.28.09.00 / libopenmpt 0.4.11 (current stable)|
|2019-11-10 14:55||Saga Musix||Summary||crash when expanding zero row pattern => crash when expanding single-row pattern|
|2019-11-10 14:57||Saga Musix||Note Added: 0004148|
|2019-11-10 14:57||Saga Musix||Status||assigned => resolved|
|2019-11-10 14:57||Saga Musix||Resolution||open => fixed|
|2019-11-10 14:57||Saga Musix||Fixed in Version||=> OpenMPT 1.28.09.00 / libopenmpt 0.4.11 (current stable)|