Full Version:
OpenMPT v1.17.02.48
Has the bug occured in previous versions? If yes, please specify version(s): (This option is optional, and doesn't need research. But in case you know...)[/b]
dunno
Description of the bug:
long name tracks lead to crash of mpt in channel mode
e.g. Abdullah_Ibrahim
How often does it happen?:
constant
How to reproduce (step by step description):
give your track a long name like Abdullah_Ibrahim and render in channel mode....
I nearly went nuts as I looked for the reason of the bug!!
Edit By Mod: Changed topic title
Cannot reproduce. Are you setting that "Abdullah_Ibrahim" as filename or as track title on MPT General View tab? Maybe you're saving rendered WAV files into directory with very long name? Does it crash right when you press "Render" or in the middle of rendering?
Just a question... is the path name you are going to store the WAV files very long aswell?
example C:\Documents and Settings\le_parasite\Documents\modules\openmpt\blah\test folder\wav export\
This could be a limitation of file name length in Windows then and not a bug of OpenMPT. Try to export the WAV files to root (i.e. C:\) and see if it sill happens.
Quote from: "Jojo"Just a question... is the path name you are going to store the WAV files very long aswell?
example C:\Documents and Settings\le_parasite\Documents\modules\openmpt\blah\test folder\wav export\
This could be a limitation of file name length in Windows then and not a bug of OpenMPT. Try to export the WAV files to root (i.e. C:\) and see if it sill happens.
you get it, the name of the module is 06_174_bbeat4b3.it and save location is on the XP desktop C:\Documents and Settings\le parasite\Bureau\xxxxxxxx_bbeat! lol Changing the folder name with a shorter or erasing the track name, prevent mpt from crashing.
This confirms my aversion against this ridicule M$ construction. I choose my own directories to work with.
You can solve this issue also using subst.
By creating a driveletter for a path, the path becomes alot shorter.
Example:
subst m: c:\docume~1\myuser\mydocu~1\music
could get you: m:\mysong.it
Quote from: "Sam_Zen"This confirms my aversion against this ridicule M$ construction. I choose my own directories to work with.
How does an MPT bug confirm your aversion against which MS construction?
you didn't read correctly. it is NOT (!) a bug in MPT but Windows itself does not allow paths + filenames that are so long. That's only one of the reasons why i created my own "My Documents" folders on drive E:\ and F:\. Another reason is that games nowadays store their settings and savegames in the my documents folder which makes it less comfortable to browse - i mean, why are that my "own" documents?!
There's buffer overflow somewhere in MPT anyway, 'cause MPT is one that crashed, not Windows ::) . All system functions should check filepath length and give some warning to user if it is too big (at least they meant to do so).
Quote from: "Jojo"it is NOT (!) a bug in MPT but Windows itself does not allow paths + filenames that are so long.
As mentioned by pelya, it is a bug in MPT. What comes to the length limit, I have an impression that it is ~250 characters. That may not sound much, but try to create a path with that many characters ;).
2 le_parasite
Did some channels happen to have names?
Quote from: "Relabsoluness"
2 le_parasite
Did some channels happen to have names?
Sorry if I wasn't clear enough, indeed by "tracks" I refered to channel
so the bug appeared with this path:
C:\Documents and Settings\le parasite\Bureau\xxxxxxxx_bbeat\06_174_bbeat4b3-008_Abdullah_Ibrahim.wav
Quote from: "Jojo"you didn't read correctly. it is NOT (!) a bug in MPT but Windows itself does not allow paths + filenames that are so long.
Yes I did, yes it is and yes it does. :wink:
Quote from: "le_parasite"Sorry if I wasn't clear enough, indeed by "tracks" I refered to channel
Thanks for the clarification; bug confirmed.
Quote from: "le_parasite"
I nearly went nuts as I looked for the reason of the bug!!
Edit By Mod: Changed topic title
le_parasite, I owe you my sanity for this - thanks!!!
Quote from: "dBlues"Quote from: "le_parasite"
I nearly went nuts as I looked for the reason of the bug!!
Edit By Mod: Changed topic title
le_parasite, I owe you my sanity for this - thanks!!!
ahahah glad to read that.
I've been crashing after exporting 11 channels as WAV, then I noticed this post and shortened the filename and directory path.
Now I noticed that channel 12 had spaces in the channel name, could that have been crashing MPT?
Shouldn't MPT replace those spaces with underscores or something?
Or maybe it was simply the file length.
I'm trying an export now with shorted channel names.
( I have 48 channels to export as separate wav files)
Awesome, it looks like they're all exporting properly!