[Fixed] ChangeLevel with an invalid name causes crash

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

ChangeLevel with an invalid name causes crash

Postby SPZ1 » Mon Jul 26, 2021 7:10 am

It seems that the map name string has to have more than 8 characters to cause the crash.
You do not have the required permissions to view the files attached to this post.
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: ChangeLevel with an invalid name causes crash

Postby _mental_ » Mon Jul 26, 2021 7:27 am

I would prefer to have a runnable sample instead of crash report, especially if this issue has 100% repro rate.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: ChangeLevel with an invalid name causes crash

Postby _mental_ » Fri Aug 06, 2021 6:31 am

Fixed here and there. None of them is related to number of characters in level's name though.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: ChangeLevel with an invalid name causes crash

Postby drfrag » Fri Aug 06, 2021 8:01 am

Without a runnable sample i don't know if the legacy builds are affected.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: ChangeLevel with an invalid name causes crash

Postby _mental_ » Fri Aug 06, 2021 8:28 am

It does partially. Run the attached file with the following command line, and press Use until it returns to console.
Code: Select allExpand view
-iwad doom2 -file change_level.pk3 +map map01 +puke 1

The process will crash on attempt to exit. You need this commit.
You do not have the required permissions to view the files attached to this post.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: ChangeLevel with an invalid name causes crash

Postby drfrag » Fri Aug 06, 2021 10:06 am

Thanks, for me it doesn't crash.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: ChangeLevel with an invalid name causes crash

Postby _mental_ » Fri Aug 06, 2021 10:24 am

I tried with LZDoom 3.88, and it is certainly affected. There is an assertion failure before the crash in Debug build as well. If you don’t hit it, you’re doing something wrong.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: ChangeLevel with an invalid name causes crash

Postby drfrag » Fri Aug 06, 2021 10:34 am

May be it's my compiler then i'll merge it.
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: ChangeLevel with an invalid name causes crash

Postby drfrag » Fri Aug 06, 2021 10:49 am

User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 3 guests