ID 389048 - Modo crashes when switching between PBviews directed to folders containing thousands of images.

Follow

Problem summary
Modo crashes when switching between PBviews directed to folders containing thousands of images.

Customer reported version
modo.12.2v1

Customer reported platform
windows10

Steps to reproduce
1) In Modo, create a 3D Window [Layout > Windows > Tabbed 3d]
2) Remove/Delete or replace all available tabs in the 3D window with Preset Browser tabs [Data Lists > Preset Browser]
3) Create a folder named "Materials_Library" on your device.
4) Load thousands of images into this directory.
5) In Modo, Press "F6" to open a default Preset Browser instance.
6) Select (add path...) and navigate to the directory created in step 3. Select the folder.
7) Close the preset browser instance.
8) With the "Tabbed 3d" window open, close Modo to save the configuration changes.
9) Locate the config file and open it in a text editor. (This file can be found by selecting System > Open Preferences Folder)
10) Search for any blocks containing the text "PBview" and perform step 6 on each block:
11) Replace any lines between "<atom type="Hash">###########:pbview</atom>" and "</hash>" with the following block of code:
      <atom type="OverrideDefaultBasePaths">Materials_Library</atom>
      <atom type="FilterBy">(none)</atom>
      <atom type="Identifier">Materials_Library</atom>
      <atom type="UseAlternateMode">0</atom>
      <atom type="Mode">vthumbs</atom>
      <atom type="AllowDirBrowser">0</atom>
      <atom type="AllowNavPathToolbars">0</atom>
      <atom type="AllowFullViewWhenEmbedded">1</atom>
      <atom type="AllowZoomToolbar">1</atom>
      <atom type="AllowFilterToolbar">1</atom>
      <atom type="showPathsOnGroups">0</atom>
      <atom type="ShowEmptyGroups">0</atom>
      <atom type="MultiDirMode">group</atom>
      <atom type="ListHierarchy">1</atom>
      <atom type="SortMode">alpha</atom>
      <atom type="FilterStringAffectsDirs">0</atom>
      <atom type="FilterStringEnable">1</atom>
      <atom type="ViewportLock2">0 0</atom>
      <atom type="MinHeader">1</atom>
      <atom type="QuadLock">0</atom>
      <atom type="ViewportTitle">Title 1</atom>
      <atom type="ViewportClass">vpembedded</atom>
12) Save the config file, then open Modo.
13) When Modo opens, the Tabbed 3D window should appear. The tab should be pointed to the "Materials_Library" directory, and display any images added.
14) Switch between each tab fairly quickly.
Result: In some instances, Modo will crash.

Expected behaviour
Modo should not crash when Preset Browser instances are pointed to a custom directory with thousands of files.

Actual behaviour
Modo can crash when Preset Browser instances containing thousands of images are switched between quickly.

Workaround
Unknown. 

Earliest version tested
12.2v1 - Support has been unable to reproduce this crash.

    We're sorry to hear that

    Please tell us why