View Issue Details

IDProjectCategoryView StatusLast Update
0000339Double CommanderGraphical user interfacepublic2016-06-26 12:00
Reporteryurii.shutkin Assigned Tocobines  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Platformi386OSwindowsOS Versionxp
Product Version0.6.0 (trunk)Product Build4299 
Fixed in Version0.5.5 
Summary0000339: crashes then remove column in column customizer (only in portable mode)
DescriptionAfter removing a column and pressing ok button application crashes with the following error in the log:

--------------- 13-02-2012, 23:08:07 ---------------
| DC v0.5.5 alpha Rev. 4299M -- i386-Win32-win32/win64
| Windows XP SP3 i386
Unhandled exception: EStringListError: List index (2) out of bounds
  Stack trace:
  $00467970 in S:\Programs\doublecmd\doublecmd.exe
Steps To Reproduce0) Open configuration menu.
1) Turn on portable mode (choose program dir for storing parameters rather than user home dir).
2) Go to column customizer and remove some column. Press Ok.
TagsNo tags attached.
Attached Files
doublecmd.err (544 bytes)
doublecmd.xml (14,606 bytes)   
<?xml version="1.0" encoding="utf-8"?>
<doublecmd DCVersion="0.5.5 alpha" ConfigVersion="5">
  <Configuration Save="True">
    <UseConfigInProgramDir>True</UseConfigInProgramDir>
  </Configuration>
  <Language>
    <POFileName>doublecmd.ru.po</POFileName>
  </Language>
  <Behaviours>
    <RunInTerminal>cmd.exe /K</RunInTerminal>
    <RunTerminal>cmd.exe</RunTerminal>
    <OnlyOneAppInstance>False</OnlyOneAppInstance>
    <LynxLike>True</LynxLike>
    <ShortFileSizeFormat>True</ShortFileSizeFormat>
    <MinimizeToTray>False</MinimizeToTray>
    <AlwaysShowTrayIcon>False</AlwaysShowTrayIcon>
    <Mouse>
      <Selection Enabled="True">
        <Button>0</Button>
      </Selection>
      <ScrollMode>1</ScrollMode>
      <WheelScrollLines>3</WheelScrollLines>
    </Mouse>
    <AutoFillColumns>False</AutoFillColumns>
    <AutoSizeColumn>1</AutoSizeColumn>
    <DateTimeFormat>dd.mm.yy</DateTimeFormat>
    <CutTextToColumnWidth>True</CutTextToColumnWidth>
    <ShowSystemFiles>False</ShowSystemFiles>
    <ListFilesInThread>True</ListFilesInThread>
    <LoadIconsSeparately>True</LoadIconsSeparately>
    <DriveBlackList/>
  </Behaviours>
  <Tools>
    <Viewer Enabled="False">
      <Path/>
      <Parameters/>
      <RunInTerminal>False</RunInTerminal>
      <KeepTerminalOpen>False</KeepTerminalOpen>
    </Viewer>
    <Editor Enabled="False">
      <Path/>
      <Parameters/>
      <RunInTerminal>False</RunInTerminal>
      <KeepTerminalOpen>False</KeepTerminalOpen>
    </Editor>
    <Differ Enabled="False">
      <Path/>
      <Parameters/>
      <RunInTerminal>False</RunInTerminal>
      <KeepTerminalOpen>False</KeepTerminalOpen>
    </Differ>
  </Tools>
  <Fonts>
    <Main>
      <Name>default</Name>
      <Size>10</Size>
      <Style>1</Style>
    </Main>
    <Editor>
      <Name>Fixedsys</Name>
      <Size>14</Size>
      <Style>0</Style>
    </Editor>
    <Viewer>
      <Name>Fixedsys</Name>
      <Size>14</Size>
      <Style>0</Style>
    </Viewer>
    <Log>
      <Name>Fixedsys</Name>
      <Size>12</Size>
      <Style>0</Style>
    </Log>
    <ViewerBook>
      <Name>default</Name>
      <Size>16</Size>
      <Style>1</Style>
    </ViewerBook>
  </Fonts>
  <Colors>
    <Foreground>536870912</Foreground>
    <Background>16777215</Background>
    <Background2>16777215</Background2>
    <Mark>255</Mark>
    <Cursor>-2147483635</Cursor>
    <CursorText>-2147483634</CursorText>
    <UseInvertedSelection>False</UseInvertedSelection>
    <InactivePanelBrightness>100</InactivePanelBrightness>
    <UseFrameCursor>False</UseFrameCursor>
    <FreeSpaceIndicator>
      <ForeColor>0</ForeColor>
      <BackColor>16777215</BackColor>
      <UseGradient>True</UseGradient>
    </FreeSpaceIndicator>
    <FileFilters/>
  </Colors>
  <ToolTips>
    <ShowToolTipMode>1</ShowToolTipMode>
    <CustomFields/>
  </ToolTips>
  <Layout>
    <MainMenu>True</MainMenu>
    <ButtonBar Enabled="True">
      <FlatIcons>True</FlatIcons>
      <ButtonHeight>24</ButtonHeight>
      <IconSize>16</IconSize>
    </ButtonBar>
    <DriveBar1>True</DriveBar1>
    <DriveBar2>True</DriveBar2>
    <DriveBarFlat>True</DriveBarFlat>
    <DrivesListButton Enabled="True">
      <ShowLabel>True</ShowLabel>
      <ShowFileSystem>True</ShowFileSystem>
      <ShowFreeSpace>True</ShowFreeSpace>
    </DrivesListButton>
    <DirectoryTabs>True</DirectoryTabs>
    <CurrentDirectory>True</CurrentDirectory>
    <TabHeader>True</TabHeader>
    <StatusBar>True</StatusBar>
    <CmdLine>True</CmdLine>
    <LogWindow>False</LogWindow>
    <TermWindow>False</TermWindow>
    <KeyButtons>True</KeyButtons>
    <InterfaceFlat>True</InterfaceFlat>
    <DriveFreeSpace>True</DriveFreeSpace>
    <DriveIndicator>False</DriveIndicator>
    <ProgressInMenuBar>False</ProgressInMenuBar>
    <PanelOfOperationsInBackground>True</PanelOfOperationsInBackground>
    <HorizontalFilePanels>False</HorizontalFilePanels>
    <ShortFormatDriveInfo>True</ShortFormatDriveInfo>
  </Layout>
  <FilesViews>
    <Sorting>
      <CaseSensitivity>0</CaseSensitivity>
      <NaturalSorting>False</NaturalSorting>
      <SortFolderMode>0</SortFolderMode>
    </Sorting>
  </FilesViews>
  <Keyboard>
    <Typing>
      <Actions>
        <NoModifier>1</NoModifier>
        <Alt>0</Alt>
        <CtrlAlt>2</CtrlAlt>
      </Actions>
    </Typing>
  </Keyboard>
  <FileOperations>
    <BufferSize>524288</BufferSize>
    <UseMmapInSearch>False</UseMmapInSearch>
    <PartialNameSearch>True</PartialNameSearch>
    <WipePassNumber>1</WipePassNumber>
    <DropReadOnlyFlag>True</DropReadOnlyFlag>
    <ProcessComments>True</ProcessComments>
    <RenameSelOnlyName>False</RenameSelOnlyName>
    <ShowCopyTabSelectPanel>False</ShowCopyTabSelectPanel>
    <UseTrash>True</UseTrash>
    <SkipFileOpError>False</SkipFileOpError>
    <ShowDialogOnDragDrop>False</ShowDialogOnDragDrop>
    <OverwriteFolder>False</OverwriteFolder>
    <Options>
      <Symlink>0</Symlink>
      <CorrectLinks>False</CorrectLinks>
      <FileExists>0</FileExists>
      <DirectoryExists>0</DirectoryExists>
      <CheckFreeSpace>True</CheckFreeSpace>
    </Options>
  </FileOperations>
  <Tabs>
    <Options>785</Options>
    <CharacterLimit>32</CharacterLimit>
    <Position>0</Position>
    <OpenedTabs>
      <Left>
        <ActiveTab>0</ActiveTab>
        <Tab>
          <FileView Type="columns">
            <History>
              <Entry Active="True">
                <FileSource Type="FileSystem"/>
                <Paths>
                  <Path>C:\Programs\doublecmd\</Path>
                </Paths>
              </Entry>
            </History>
            <ColumnsView>
              <ColumnsSet>Default</ColumnsSet>
              <Sorting/>
            </ColumnsView>
          </FileView>
          <Caption>doublecmd</Caption>
          <Options>0</Options>
        </Tab>
      </Left>
      <Right>
        <ActiveTab>0</ActiveTab>
        <Tab>
          <FileView Type="columns">
            <History>
              <Entry Active="True">
                <FileSource Type="FileSystem"/>
                <Paths>
                  <Path>C:\Programs\doublecmd\</Path>
                </Paths>
              </Entry>
            </History>
            <ColumnsView>
              <ColumnsSet>Default</ColumnsSet>
              <Sorting/>
            </ColumnsView>
          </FileView>
          <Caption>doublecmd</Caption>
          <Options>0</Options>
        </Tab>
      </Right>
    </OpenedTabs>
  </Tabs>
  <Log Enabled="False">
    <FileName>C:\Documents and Settings\yshutkin\Application Data\doublecmd\doublecmd.log</FileName>
    <Options>255</Options>
  </Log>
  <History>
    <SearchReplaceHistory Save="True"/>
    <DirHistory Save="True"/>
    <CmdLineHistory Save="True"/>
    <FileMaskHistory Save="True"/>
  </History>
  <QuickSearch>
    <MatchBeginning>True</MatchBeginning>
    <MatchEnding>True</MatchEnding>
    <Case>1</Case>
    <Items>2</Items>
  </QuickSearch>
  <QuickFilter>
    <AutoHide>True</AutoHide>
  </QuickFilter>
  <Miscellaneous>
    <GridVertLine>False</GridVertLine>
    <GridHorzLine>False</GridHorzLine>
    <ShowWarningMessages>True</ShowWarningMessages>
    <SpaceMovesDown>False</SpaceMovesDown>
    <DirBrackets>True</DirBrackets>
  </Miscellaneous>
  <AutoRefresh>
    <Options>3</Options>
    <ExcludeDirs/>
    <Mode>0</Mode>
  </AutoRefresh>
  <Icons>
    <ShowMode>3</ShowMode>
    <ShowOverlays>False</ShowOverlays>
    <Size>16</Size>
    <CustomDriveIcons>False</CustomDriveIcons>
  </Icons>
  <IgnoreList Enabled="False">
    <IgnoreListFile>C:\Documents and Settings\yshutkin\Application Data\doublecmd\ignorelist.txt</IgnoreListFile>
  </IgnoreList>
  <DirectoryHotList/>
  <Viewer>
    <PreviewVisible>False</PreviewVisible>
    <SaveThumbnails>True</SaveThumbnails>
    <ImageStretch>False</ImageStretch>
    <CopyMovePath1/>
    <CopyMovePath2/>
    <CopyMovePath3/>
    <CopyMovePath4/>
    <CopyMovePath5/>
    <PaintMode>Pen</PaintMode>
    <PaintWidth>5</PaintWidth>
    <NumberOfColumns>1</NumberOfColumns>
    <ViewerMode>0</ViewerMode>
    <PaintColor>255</PaintColor>
    <BackgroundColor>0</BackgroundColor>
    <FontColor>16777215</FontColor>
    <TextPosition>0</TextPosition>
  </Viewer>
  <Lua>
    <PathToLibrary>lua5.1.dll</PathToLibrary>
  </Lua>
  <NameShortcutFile>shortcuts.scf</NameShortcutFile>
  <LastUsedPacker>zip</LastUsedPacker>
  <SearchTemplates/>
  <ColumnsSets>
    <ColumnsSet>
      <Name>Default</Name>
      <CustomView>False</CustomView>
      <CursorBorder Enabled="False">
        <Color>0</Color>
      </CursorBorder>
      <Columns>
        <Column>
          <Title>Имя</Title>
          <FuncString>[DC().GETFILENAMENOEXT{}]</FuncString>
          <Width>250</Width>
          <Align>0</Align>
          <Font>
            <Name>default</Name>
            <Size>10</Size>
            <Style>1</Style>
          </Font>
          <Overcolor>True</Overcolor>
          <TextColor>536870912</TextColor>
          <Background>16777215</Background>
          <Background2>16777215</Background2>
          <MarkColor>255</MarkColor>
          <CursorColor>-2147483635</CursorColor>
          <CursorText>-2147483634</CursorText>
        </Column>
        <Column>
          <Title>Тип</Title>
          <FuncString>[DC().GETFILEEXT{}]</FuncString>
          <Width>50</Width>
          <Align>0</Align>
          <Font>
            <Name>default</Name>
            <Size>10</Size>
            <Style>1</Style>
          </Font>
          <Overcolor>True</Overcolor>
          <TextColor>536870912</TextColor>
          <Background>16777215</Background>
          <Background2>16777215</Background2>
          <MarkColor>255</MarkColor>
          <CursorColor>-2147483635</CursorColor>
          <CursorText>-2147483634</CursorText>
        </Column>
        <Column>
          <Title>Размер</Title>
          <FuncString>[DC().GETFILESIZE{}]</FuncString>
          <Width>70</Width>
          <Align>1</Align>
          <Font>
            <Name>default</Name>
            <Size>10</Size>
            <Style>1</Style>
          </Font>
          <Overcolor>True</Overcolor>
          <TextColor>536870912</TextColor>
          <Background>16777215</Background>
          <Background2>16777215</Background2>
          <MarkColor>255</MarkColor>
          <CursorColor>-2147483635</CursorColor>
          <CursorText>-2147483634</CursorText>
        </Column>
        <Column>
          <Title>Дата</Title>
          <FuncString>[DC().GETFILETIME{}]</FuncString>
          <Width>70</Width>
          <Align>1</Align>
          <Font>
            <Name>default</Name>
            <Size>10</Size>
            <Style>1</Style>
          </Font>
          <Overcolor>True</Overcolor>
          <TextColor>536870912</TextColor>
          <Background>16777215</Background>
          <Background2>16777215</Background2>
          <MarkColor>255</MarkColor>
          <CursorColor>-2147483635</CursorColor>
          <CursorText>-2147483634</CursorText>
        </Column>
        <Column>
          <Title>Атриб</Title>
          <FuncString>[DC().GETFILEATTR{}]</FuncString>
          <Width>175</Width>
          <Align>0</Align>
          <Font>
            <Name>default</Name>
            <Size>10</Size>
            <Style>1</Style>
          </Font>
          <Overcolor>True</Overcolor>
          <TextColor>536870912</TextColor>
          <Background>16777215</Background>
          <Background2>16777215</Background2>
          <MarkColor>255</MarkColor>
          <CursorColor>-2147483635</CursorColor>
          <CursorText>-2147483634</CursorText>
        </Column>
      </Columns>
    </ColumnsSet>
  </ColumnsSets>
  <Plugins>
    <DsxPlugins/>
    <WcxPlugins>
      <WcxPlugin Enabled="True">
        <ArchiveExt>zip</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\zip\zip.wcx</Path>
        <Flags>607</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>tar</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\zip\zip.wcx</Path>
        <Flags>95</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>bz2</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\zip\zip.wcx</Path>
        <Flags>91</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>tbz</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\zip\zip.wcx</Path>
        <Flags>95</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>gz</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\zip\zip.wcx</Path>
        <Flags>91</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>tgz</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\zip\zip.wcx</Path>
        <Flags>95</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>lzma</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\lzma\lzma.wcx</Path>
        <Flags>1</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>cpio</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\cpio\cpio.wcx</Path>
        <Flags>0</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>deb</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\deb\deb.wcx</Path>
        <Flags>4</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>rpm</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\rpm\rpm.wcx</Path>
        <Flags>4</Flags>
      </WcxPlugin>
      <WcxPlugin Enabled="True">
        <ArchiveExt>rar</ArchiveExt>
        <Path>%commander_path%\plugins\wcx\unrar\unrar.wcx</Path>
        <Flags>4</Flags>
      </WcxPlugin>
    </WcxPlugins>
    <WdxPlugins/>
    <WfxPlugins>
      <WfxPlugin Enabled="True">
        <Name>FTP</Name>
        <Path>%commander_path%\plugins\wfx\ftp\ftp.wfx</Path>
      </WfxPlugin>
    </WfxPlugins>
    <WlxPlugins/>
  </Plugins>
  <MainWindow>
    <Position>
      <Left>378</Left>
      <Top>100</Top>
      <Width>760</Width>
      <Height>370</Height>
      <Maximized>False</Maximized>
    </Position>
  </MainWindow>
</doublecmd>
doublecmd.xml (14,606 bytes)   
Fixed in Revision4373
Operating systemWindows
WidgetsetWin32
Architecture32-bit

Activities

cobines

2012-03-09 02:47

administrator   ~0000406

Can you check with latest revision? I think it might have been fixed, I cannot reproduce it.

yurii.shutkin

2012-03-09 16:10

reporter   ~0000408

The problem still exists. I've checked with revision 4323.

Did you set "Options->Configuration->Location of Configuration files" to "Program Directory"? This is required to reproduce the fail.

cobines

2012-03-10 03:58

administrator   ~0000412

I downloaded snapshot 4323 from http://www.firebirdsql.su/dc. Run, set "Options->Configuration->Location of Configuration files" to "Program Directory", press OK. Right click on column header, "Configure this custom columns view", delete the last column, press OK. No crash.
You can always reproduce it or only sometimes?
Also, please attach your settings doublecmd.xml file.

yurii.shutkin

2012-03-10 13:24

reporter   ~0000414

I've found that DC doesn't crash immediately if removed column is outside of visible area, i.e. if dc window is small enough. In this case after removing the column dc works ok and removed column is not reachable with bottom scroller but still crashes after resizing the window to the size then removed column becomes visible.

Note, that it doesn't crashes at all if I close dc and open it again before resizing the window (then configuration file is reloaded).

I've also noticed that I can't switch view to just created column set, I need to restart dc to reload conf file to make it possible. And the most interesting thing is that for column sets other than "Default" the crash doesn't happen.

Actually, I've found that "portable" condition is not necessary, in non-portable mode it crashes also, I just didn't noticed it before because deleted column was outside the visible area by default when I tested it.

cobines

2012-03-11 06:58

administrator   ~0000435

I was able to reproduce it and I think it is fixed.

Issue History

Date Modified Username Field Change
2012-02-13 23:24 yurii.shutkin New Issue
2012-02-13 23:24 yurii.shutkin File Added: doublecmd.err
2012-03-09 02:47 cobines Note Added: 0000406
2012-03-09 02:48 cobines Status new => feedback
2012-03-09 16:10 yurii.shutkin Note Added: 0000408
2012-03-09 16:10 yurii.shutkin Status feedback => new
2012-03-10 03:58 cobines Note Added: 0000412
2012-03-10 13:24 yurii.shutkin Note Added: 0000414
2012-03-10 13:25 yurii.shutkin File Added: doublecmd.xml
2012-03-11 02:13 cobines Assigned To => cobines
2012-03-11 02:13 cobines Status new => assigned
2012-03-11 06:58 cobines Fixed in Revision => 4373
2012-03-11 06:58 cobines Note Added: 0000435
2012-03-11 06:58 cobines Status assigned => resolved
2012-03-11 06:58 cobines Fixed in Version => 0.5.5
2012-03-11 06:58 cobines Resolution open => fixed
2016-06-26 12:00 Alexx2000 Status resolved => closed