Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
893 stars 131 forks source link

Crash: iter.sort is not a function #15908

Open VortexFeedback opened 3 months ago

VortexFeedback commented 3 months ago

Application Crash

System

Platform win32 10.0.22635
Architecture x64
Application Version 1.11.6
Process renderer

Message

iter.sort is not a function

Context

gamemode = Cyberpunk 2077

Stack

TypeError: iter.sort is not a function
    at D:\vortex\resources\app.asar\renderer.js:5546:84
    at Array.map (<anonymous>)
    at groupMods (D:\vortex\resources\app.asar\renderer.js:5546:68)
    at ModList.updateModGrouping (D:\vortex\resources\app.asar\renderer.js:5924:144)
    at D:\vortex\resources\app.asar\renderer.js:5916:50
    at tryCatcher (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (D:\vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

External file: tmp-35100oUOPt52b3bBD.7z

Reported by: CWjm12

IDCs commented 1 month ago

Hi there - looking at the code, this particular crash should not be possible as the code ensures that the iterated list is correctly populated. I'm assuming this was a one off?