View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000389 | Double Commander | Default | public | 2012-03-26 09:12 | 2012-04-05 18:28 |
Reporter | Vaka2 | Assigned To | cobines | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Projection | none | ETA | none | ||
Product Version | 0.6.0 (trunk) | Product Build | 4484 | ||
Fixed in Version | 0.5.5 | ||||
Summary | 0000389: Crash при перезаписи файла | ||||
Description | Crash при перезаписи файла | ||||
Tags | No tags attached. | ||||
Attached Files | doublecmd.xml (19,000 bytes)
<?xml version="1.0"?> <doublecmd DCVersion="0.5.5 alpha" ConfigVersion="5"> <Configuration Save="True"> <UseConfigInProgramDir>False</UseConfigInProgramDir> </Configuration> <Colors> <FileFilters> <Filter> <Name>Pascal sources</Name> <FileMasks>*.pas;*.pp</FileMasks> <Color>32768</Color> <Attributes/> </Filter> <Filter> <Name>Pascal binaries</Name> <FileMasks>*.ppu;*.o;*.dcu</FileMasks> <Color>16711680</Color> <Attributes/> </Filter> <Filter> <Name>Specified Executables</Name> <FileMasks>*</FileMasks> <Color>55758</Color> <Attributes>-rwxrwxr*x</Attributes> </Filter> <Filter> <Name>Executables</Name> <FileMasks>*</FileMasks> <Color>32768</Color> <Attributes>-*x*</Attributes> </Filter> </FileFilters> <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> </Colors> <Plugins> <DsxPlugins> <DsxPlugin> <Name>dsxlocatx</Name> <Path>%commander_path%/plugins/dsx/dsxlocate/dsxlocate.dsx</Path> <Description/> </DsxPlugin> </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>lzma</ArchiveExt> <Path>%commander_path%/plugins/wcx/lzma/lzma.wcx</Path> <Flags>1</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>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>68</Flags> </WcxPlugin> </WcxPlugins> <WdxPlugins> <WdxPlugin> <Name>rpm_wdx</Name> <Path>%commander_path%/plugins/wdx/rpm_wdx/rpm_wdx.wdx</Path> <DetectString>EXT="RPM"</DetectString> </WdxPlugin> <WdxPlugin> <Name>deb_wdx</Name> <Path>%commander_path%/plugins/wdx/deb_wdx/deb_wdx.wdx</Path> <DetectString>EXT="DEB"</DetectString> </WdxPlugin> </WdxPlugins> <WfxPlugins> <WfxPlugin Enabled="True"> <Name>FTP</Name> <Path>%commander_path%/plugins/wfx/ftp/ftp.wfx</Path> </WfxPlugin> <WfxPlugin Enabled="True"> <Name>Windows Network</Name> <Path>%commander_path%/plugins/wfx/samba/samba.wfx</Path> </WfxPlugin> </WfxPlugins> <WlxPlugins> <WlxPlugin> <Name>wlxMplayer</Name> <Path>%commander_path%/plugins/wlx/wlxmplayer/wlxmplayer.wlx</Path> <DetectString>(EXT="MPG")|(EXT="AVI")|(EXT="MPEG")|(EXT="FLV")|(EXT="MKV")|(EXT="MP4")|(EXT="3GP")|(EXT="ASF")|(EXT="MOV")|(EXT="WMV")|(EXT="RM")</DetectString> </WlxPlugin> </WlxPlugins> </Plugins> <Language> <POFileName>doublecmd.ru.po</POFileName> </Language> <Behaviours> <RunInTerminal>gnome-terminal</RunInTerminal> <RunTerminal>gnome-terminal</RunTerminal> <OnlyOneAppInstance>True</OnlyOneAppInstance> <LynxLike>True</LynxLike> <ShortFileSizeFormat>True</ShortFileSizeFormat> <MinimizeToTray>False</MinimizeToTray> <AlwaysShowTrayIcon>False</AlwaysShowTrayIcon> <Mouse> <Selection Enabled="True"> <Button>0</Button> </Selection> <ScrollMode>2</ScrollMode> <WheelScrollLines>3</WheelScrollLines> </Mouse> <AutoFillColumns>True</AutoFillColumns> <AutoSizeColumn>0</AutoSizeColumn> <DateTimeFormat>dd.mm.yy</DateTimeFormat> <CutTextToColumnWidth>False</CutTextToColumnWidth> <ShowSystemFiles>False</ShowSystemFiles> <ListFilesInThread>True</ListFilesInThread> <LoadIconsSeparately>True</LoadIconsSeparately> <DelayLoadingTabs>True</DelayLoadingTabs> <HighlightUpdatedFiles>True</HighlightUpdatedFiles> <DriveBlackList>/squashed/*;/var/*;/usr;/portage</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>Sans</Name> <Size>10</Size> <Style>1</Style> </Main> <Editor> <Name>Monospace</Name> <Size>11</Size> <Style>0</Style> </Editor> <Viewer> <Name>Monospace</Name> <Size>11</Size> <Style>0</Style> </Viewer> <Log> <Name>Monospace</Name> <Size>10</Size> <Style>0</Style> </Log> <ViewerBook> <Name>Sans</Name> <Size>10</Size> <Style>0</Style> </ViewerBook> </Fonts> <ToolTips> <ShowToolTipMode>1</ShowToolTipMode> <CustomFields/> </ToolTips> <Layout> <MainMenu>True</MainMenu> <ButtonBar Enabled="False"> <FlatIcons>True</FlatIcons> <ButtonHeight>28</ButtonHeight> <IconSize>24</IconSize> </ButtonBar> <DriveBar1>False</DriveBar1> <DriveBar2>False</DriveBar2> <DriveBarFlat>True</DriveBarFlat> <DrivesListButton Enabled="True"> <ShowLabel>True</ShowLabel> <ShowFileSystem>True</ShowFileSystem> <ShowFreeSpace>True</ShowFreeSpace> </DrivesListButton> <DirectoryTabs>True</DirectoryTabs> <CurrentDirectory>True</CurrentDirectory> <TabHeader>False</TabHeader> <StatusBar>True</StatusBar> <CmdLine>False</CmdLine> <LogWindow>False</LogWindow> <TermWindow>False</TermWindow> <KeyButtons>True</KeyButtons> <InterfaceFlat>True</InterfaceFlat> <DriveFreeSpace>False</DriveFreeSpace> <DriveIndicator>True</DriveIndicator> <ProgressInMenuBar>True</ProgressInMenuBar> <PanelOfOperationsInBackground>True</PanelOfOperationsInBackground> <HorizontalFilePanels>False</HorizontalFilePanels> <ShortFormatDriveInfo>True</ShortFormatDriveInfo> </Layout> <FileOperations> <BufferSize>524288</BufferSize> <UseMmapInSearch>False</UseMmapInSearch> <PartialNameSearch>True</PartialNameSearch> <WipePassNumber>1</WipePassNumber> <DropReadOnlyFlag>False</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>912</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>/home/vaka/</Path> </Paths> </Entry> </History> <ColumnsView> <ColumnsSet>name</ColumnsSet> <Sorting> <Sort> <Column>1</Column> <Direction>1</Direction> </Sort> </Sorting> </ColumnsView> </FileView> <Caption>vaka</Caption> <Options>0</Options> </Tab> </Left> <Right> <ActiveTab>0</ActiveTab> <Tab> <FileView Type="columns"> <History> <Entry Active="True"> <FileSource Type="FileSystem"/> <Paths> <Path>/mnt/1300/</Path> </Paths> </Entry> </History> <ColumnsView> <ColumnsSet>name</ColumnsSet> <Sorting> <Sort> <Column>1</Column> <Direction>1</Direction> </Sort> </Sorting> </ColumnsView> </FileView> <Caption>1300</Caption> <Options>0</Options> </Tab> </Right> </OpenedTabs> </Tabs> <Log Enabled="False"> <FileName>/home/vaka/.config/doublecmd/doublecmd.log</FileName> <Options>255</Options> </Log> <History> <SearchReplaceHistory Save="False"/> <DirHistory Save="False"/> <CmdLineHistory Save="False"/> <FileMaskHistory Save="False"/> </History> <QuickSearch Enabled="True"> <Mode>0</Mode> <MatchBeginning>True</MatchBeginning> <MatchEnding>True</MatchEnding> <Case>1</Case> <Items>2</Items> </QuickSearch> <QuickFilter Enabled="False"> <Mode>0</Mode> <AutoHide>True</AutoHide> </QuickFilter> <Miscellaneous> <GridVertLine>False</GridVertLine> <GridHorzLine>False</GridHorzLine> <ShowWarningMessages>True</ShowWarningMessages> <SpaceMovesDown>True</SpaceMovesDown> <DirBrackets>False</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>/home/vaka/.config/doublecmd/ignorelist.txt</IgnoreListFile> </IgnoreList> <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>1</ViewerMode> <PaintColor>255</PaintColor> <BackgroundColor>0</BackgroundColor> <FontColor>16777215</FontColor> <TextPosition>0</TextPosition> </Viewer> <Lua> <PathToLibrary>liblua5.1.so.0</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>80</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> <ColumnsSet> <Name>name</Name> <CustomView>False</CustomView> <CursorBorder Enabled="False"> <Color>0</Color> </CursorBorder> <Columns> <Column> <Title>Имя</Title> <FuncString>[DC().GETFILENAME{}] </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>0</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>63</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> <MainWindow> <Position> <Left>1150</Left> <Top>459</Top> <Width>768</Width> <Height>594</Height> <Maximized>False</Maximized> </Position> </MainWindow> <MultiRenamePresets> <LastPreset>1</LastPreset> <Presets> <Preset> <Name>1</Name> <Filename>[C]</Filename> <Extension>[E]</Extension> <FilenameStyle>0</FilenameStyle> <ExtensionStyle>2</ExtensionStyle> <Find/> <Replace/> <RegExp>False</RegExp> <UseSubs>False</UseSubs> <Counter>1</Counter> <Interval>1</Interval> <Width>1</Width> </Preset> </Presets> </MultiRenamePresets> <Keyboard> <Typing> <Actions> <NoModifier>2</NoModifier> <Alt>0</Alt> <CtrlAlt>0</CtrlAlt> </Actions> </Typing> </Keyboard> <FilesViews> <Sorting> <CaseSensitivity>0</CaseSensitivity> <NaturalSorting>False</NaturalSorting> <SortFolderMode>0</SortFolderMode> <NewFilesPosition>2</NewFilesPosition> <UpdatedFilesPosition>2</UpdatedFilesPosition> </Sorting> </FilesViews> <UseShellForFileOperations>False</UseShellForFileOperations> </doublecmd> | ||||
Fixed in Revision | 4536 | ||||
Operating system | Linux | ||||
Widgetset | GTK2 | ||||
Architecture | 32-bit | ||||
|
Как повторять? Прикрепить doublecmd.xml и doublecmd.err. |
|
Это при копировании и перезаписи: Double Commander 0.5.5 alpha Revision: 4491M Build: 2012/03/28 Lazarus: 0.9.30.2-33321 Free Pascal: 2.4.4 Platform: i386-Linux-gtk2 System: Linux version 3.3.0-git Widgetset library: GTK 2.24.10 This program is free software released under terms of GNU GPL 2 (C)opyright 2006-2012 Koblov Alexander (Alexx2000@mail.ru) and contributors (see about dialog) Executable directory: /opt/doublecmd/ Loading configuration... WDX: LOAD: /opt/doublecmd/plugins/wdx/rpm_wdx/rpm_wdx.wdx WDX: LOAD: /opt/doublecmd/plugins/wdx/deb_wdx/deb_wdx.wdx Loading lng file: /opt/doublecmd/language/doublecmd.ru.po Creating PixmapManager Loading icon theme DCTheme Theme hicolor not found. UDisks: Cannot acquire connection to DBUS system bus: org.freedesktop.DBus.Error.FileNotFound Failed to connect to socket /var/run/dbus/system_bus_socket: Нет такого файла или каталога Detecting devices through /etc/mtab. FileSystemWatcher thread starting TColumnsFileView.Create components Creating TFileSystemFileSource TColumnsFileView.Create components TColumnsFileView.Create components frmMain.frmMainShow TApplication.HandleException Access violation Stack trace: chown (/home/vaka/1/новый.txt) failed $084B8B13 line 624, column 7 of fFileOpDlg.pas in /opt/doublecmd/doublecmd $080D1BE3 in /opt/doublecmd/doublecmd $080D0277 in /opt/doublecmd/doublecmd $084B8151 line 345, column 1 of fFileOpDlg.pas in /opt/doublecmd/doublecmd $080F01EF line 2536, column 35 of fmain.pas in /opt/doublecmd/doublecmd $080F09A5 line 2674, column 17 of fmain.pas in /opt/doublecmd/doublecmd $083584FC line 1272, column 46 of umaincommands.pas in /opt/doublecmd/doublecmd $0835E1D9 line 186, column 7 of uformcommands.pas in /opt/doublecmd/doublecmd $080ECC8F line 1339, column 30 of fmain.pas in /opt/doublecmd/doublecmd $082FB2D4 line 1063, column 28 of uhotkeymanager.pas in /opt/doublecmd/doublecmd $082FB4F4 line 1151, column 10 of uhotkeymanager.pas in /opt/doublecmd/doublecmd $081557ED in /opt/doublecmd/doublecmd $08155826 in /opt/doublecmd/doublecmd $08155B6B in /opt/doublecmd/doublecmd $08155AC0 in /opt/doublecmd/doublecmd $081580F9 in /opt/doublecmd/doublecmd $0806DF3A in /opt/doublecmd/doublecmd Это при удалении: TApplication.HandleException Access violation Stack trace: $084B8B13 line 624, column 7 of fFileOpDlg.pas in /opt/doublecmd/doublecmd $080D1BE3 in /opt/doublecmd/doublecmd $080D0277 in /opt/doublecmd/doublecmd $084B8151 line 345, column 1 of fFileOpDlg.pas in /opt/doublecmd/doublecmd $08358D2E line 1409, column 37 of umaincommands.pas in /opt/doublecmd/doublecmd $0835E1D9 line 186, column 7 of uformcommands.pas in /opt/doublecmd/doublecmd $080ECC8F line 1339, column 30 of fmain.pas in /opt/doublecmd/doublecmd $082FB2D4 line 1063, column 28 of uhotkeymanager.pas in /opt/doublecmd/doublecmd $082FB4C3 line 1138, column 16 of uhotkeymanager.pas in /opt/doublecmd/doublecmd $081557ED in /opt/doublecmd/doublecmd $08155826 in /opt/doublecmd/doublecmd $08155B6B in /opt/doublecmd/doublecmd $08155AC0 in /opt/doublecmd/doublecmd $081580F9 in /opt/doublecmd/doublecmd $0806DF3A in /opt/doublecmd/doublecmd $08154F5D in /opt/doublecmd/doublecmd $082A9B81 in /opt/doublecmd/doublecmd |
|
Я не могу повторить. Со мной работает нормально. |
|
Сделал грязный патч, который исправляет ситуацию. --- fFileOpDlg.pas- 2012-04-03 14:54:56.137466643 +0400 +++ fFileOpDlg.pas 2012-04-03 14:51:24.566111648 +0400 @@ -652,9 +652,9 @@ Item: PEventsListItem; Event: TOperationProgressWindowEvent; begin - for Event in Events do - for Item in EventsListeners[Event] do - Item^.EventFunction(FOperationHandle, Event); +// for Event in Events do +// for Item in EventsListeners[Event] do +// Item^.EventFunction(FOperationHandle, Event); end; procedure TfrmFileOp.SetPauseGlyph; |
|
И если вы попробуете это? http://www.firebirdsql.su/dc/ |
|
странно.. но в скачанном архиве http://www.firebirdsql.su/dc/doublecmd.0.5.5.r4529.gtk2.i386.tar.bz2 такого бага нет. а в самосборном dc баг есть. может не так собираю? как надо? попробую собрать с fpc-2.6.0... и обновить lazarus... |
|
Это может быть ошибка в компиляторе 2.4.4. FPC 2.4.5, 2.6.0 работы. |
|
не помогло... Starting GuiMessageQueue Starting Double Commander Double Commander 0.5.5 alpha Revision: 4534M Build: 2012/04/03 Lazarus: 0.9.30.4-35971 Free Pascal: 2.6.0 Platform: i386-Linux-gtk2 System: Linux version 3.3.0-git Widgetset library: GTK 2.24.10 This program is free software released under terms of GNU GPL 2 (C)opyright 2006-2012 Koblov Alexander (Alexx2000@mail.ru) and contributors (see about dialog) Executable directory: /opt/doublecmd/ Loading configuration... WDX: LOAD: /opt/doublecmd/plugins/wdx/rpm_wdx/rpm_wdx.wdx WDX: LOAD: /opt/doublecmd/plugins/wdx/deb_wdx/deb_wdx.wdx Loading lng file: /opt/doublecmd/language/doublecmd.ru.po Creating PixmapManager Loading icon theme DCTheme Theme hicolor not found. UDisks: Cannot acquire connection to DBUS system bus: org.freedesktop.DBus.Error.FileNotFound Failed to connect to socket /var/run/dbus/system_bus_socket: Нет такого файла или каталога Detecting devices through /etc/mtab. FileSystemWatcher thread starting TColumnsFileView.Create components Creating TFileSystemFileSource (doublecmd:14839): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (doublecmd:14839): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (doublecmd:14839): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (doublecmd:14839): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (doublecmd:14839): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (doublecmd:14839): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() TColumnsFileView.Create components TColumnsFileView.Create components (doublecmd:14839): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() frmMain.frmMainShow ^[[BTApplication.HandleException Access violation Stack trace: $08472373 line 657, column 7 of fFileOpDlg.pas in /opt/doublecmd/doublecmd $080D1FD7 in /opt/doublecmd/doublecmd $0847192F line 343, column 1 of fFileOpDlg.pas in /opt/doublecmd/doublecmd $08471EF3 line 500, column 38 of fFileOpDlg.pas in /opt/doublecmd/doublecmd $0835E580 line 615, column 13 of newdesign/uoperationsmanager.pas in /opt/doublecmd/doublecmd $08368B99 line 1498, column 11 of umaincommands.pas in /opt/doublecmd/doublecmd $0836D70B line 202, column 7 of uformcommands.pas in /opt/doublecmd/doublecmd $08308A7D line 1103, column 75 of uhotkeymanager.pas in /opt/doublecmd/doublecmd $08308C61 line 1178, column 16 of uhotkeymanager.pas in /opt/doublecmd/doublecmd $0815981D in /opt/doublecmd/doublecmd $08159856 in /opt/doublecmd/doublecmd $08159B9B in /opt/doublecmd/doublecmd $08159AF0 in /opt/doublecmd/doublecmd $0815C1C9 in /opt/doublecmd/doublecmd $0806EA46 in /opt/doublecmd/doublecmd $08158F9F in /opt/doublecmd/doublecmd $082B3A31 in /opt/doublecmd/doublecmd |
|
This error can be reproduced also with FPC 2.6.0. It happening only when DC compiled with optimization level -O2 or -O3. |
|
Фрагмент лога сборки, где встречается -O2 Note: environment config file not found - using defaults NOTE: miscellaneous options file not found - using defaults TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory="../lib" CurOutputDir="../lib/" TCompiler.Compile WorkingDir="/var/tmp/doublecmd-0.5.5/plugins/wcx/unrar/src/" CompilerFilename="/usr/bin/fpc" CompilerParams=" -MObjFPC -Scghi -O2 -Pi386 -Pi386 -gl -XX -vewnhi -l @fpc-extra.cfg -Fi../lib -Fi../../../../sdk -Fu../../../../sdk -Fu. -FU../lib/ -FE../lib/ -ounrar.wcx -fPIC unrar.dpr" [TCompiler.Compile] CmdLine="/usr/bin/fpc -MObjFPC -Scghi -O2 -Pi386 -Pi386 -gl -XX -vewnhi -l @fpc-extra.cfg -Fi../lib -Fi../../../../sdk -Fu../../../../sdk -Fu. -FU../lib/ -FE../lib/ -ounrar.wcx -fPIC unrar.dpr" Действие "Выполнить команду до" завершено TCompiler.Compile WorkingDir="/var/tmp/doublecmd-0.5.5/src/" CompilerFilename="/usr/bin/fpc" CompilerParams=" -MObjFPC -Scaghi -Ci -O2 -OoREGVAR -Pi386 -Pi386 -gw -Xg -vewnhi -l @fpc-extra.cfg -Fi/home/vaka/dc/lazarus/ide -Fi../units/i386-linux-gtk2 -Fi../sdk -Fl../libraries/i386-linux -Fuplatform -Fuplatform/unix -Fu../sdk -Funewdesign -Funewdesign/fileproperties -Fuframes -Fu../components/viewer/lib/i386-linux -Fu/home/vaka/dc/lazarus/components/synedit/units/i386-linux -Fu../components/KASToolBar/lib/i386-linux -Fu../components/CmdLine/lib/i386-linux -Fu../components/gifanim/lib/i386-linux -Fu../components/ZVDateTimeCtrls/lib/i386-linux -Fu/home/vaka/dc/lazarus/ideintf/units/i386-linux -Fu/home/vaka/dc/lazarus/components/lazcontrols/lib/i386-linux -Fu/home/vaka/dc/lazarus/lcl/units/i386-linux -Fu/home/vaka/dc/lazarus/lcl/units/i386-linux/gtk2 -Fu../components/chsdet/lib/i386-linux -Fu../components/dcpcrypt/lib/i386-linux -Fu/home/vaka/dc/lazarus/packager/units/i386-linux -Fu. -FU../units/i386-linux-gtk2/ -FE../ -odoublecmd -dNIGHTLY_BUILD -dLCL -dLCLgtk2 doublecmd.lpr" [TCompiler.Compile] CmdLine="/usr/bin/fpc -MObjFPC -Scaghi -Ci -O2 -OoREGVAR -Pi386 -Pi386 -gw -Xg -vewnhi -l @fpc-extra.cfg -Fi/home/vaka/dc/lazarus/ide -Fi../units/i386-linux-gtk2 -Fi../sdk -Fl../libraries/i386-linux -Fuplatform -Fuplatform/unix -Fu../sdk -Funewdesign -Funewdesign/fileproperties -Fuframes -Fu../components/viewer/lib/i386-linux -Fu/home/vaka/dc/lazarus/components/synedit/units/i386-linux -Fu../components/KASToolBar/lib/i386-linux -Fu../components/CmdLine/lib/i386-linux -Fu../components/gifanim/lib/i386-linux -Fu../components/ZVDateTimeCtrls/lib/i386-linux -Fu/home/vaka/dc/lazarus/ideintf/units/i386-linux -Fu/home/vaka/dc/lazarus/components/lazcontrols/lib/i386-linux -Fu/home/vaka/dc/lazarus/lcl/units/i386-linux -Fu/home/vaka/dc/lazarus/lcl/units/i386-linux/gtk2 -Fu../components/chsdet/lib/i386-linux -Fu../components/dcpcrypt/lib/i386-linux -Fu/home/vaka/dc/lazarus/packager/units/i386-linux -Fu. -FU../units/i386-linux-gtk2/ -FE../ -odoublecmd -dNIGHTLY_BUILD -dLCL -dLCLgtk2 doublecmd.lpr" Нашёл! в /etc/fpc.cfg выставил -O1 ошибка пропала.. |
|
извините, собирал со своим патчем, поэтому ошибки не было... убрал свой патч, ошибка не пропала, и с O1 и О2 и Os и O3 ошибка есть! собрать правильно не могу. |
|
Уровень оптимизации надо менять в настройках проекта: "Параметры проекта"->"Генерация кода"->"Оптимизации" Или просто сменить режим сборки на "Nightly" |
|
а можно сделать так, чтобы оно само всё сделалось.. без моих усилий ? :) |
|
В Windows он работает, может быть, в Linux просто не работает. Я еще не пробовал. |
|
In some cases when using for..in loop on an object with enumerator accessing Self members crashes/hangs (in this case accessing FOperationHandle). It seems to happen with O2 or higher on Unix. It has been fixed in FPC 2.7.1. I changed the loop to for..to. |
|
проверил, ошибки теперь нету. спасибо! :) |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-26 09:12 | Vaka2 | New Issue | |
2012-03-28 10:12 | cobines | Note Added: 0000491 | |
2012-03-28 11:17 | Vaka2 | Note Added: 0000492 | |
2012-03-28 11:19 | Vaka2 | File Added: doublecmd.xml | |
2012-03-28 23:16 | cobines | Note Added: 0000493 | |
2012-04-03 14:58 | Vaka2 | Note Added: 0000505 | |
2012-04-03 15:03 | cobines | Note Added: 0000506 | |
2012-04-03 15:04 | Vaka2 | Note Added: 0000507 | |
2012-04-03 15:06 | cobines | Note Added: 0000508 | |
2012-04-03 15:28 | Vaka2 | Note Added: 0000509 | |
2012-04-03 15:35 | Alexx2000 | Note Added: 0000510 | |
2012-04-03 16:16 | Vaka2 | Note Added: 0000513 | |
2012-04-03 17:23 | Vaka2 | Note Added: 0000514 | |
2012-04-03 17:35 | Vaka2 | Note Edited: 0000514 | |
2012-04-04 08:11 | Alexx2000 | Note Added: 0000516 | |
2012-04-04 08:12 | Alexx2000 | Note Edited: 0000516 | |
2012-04-04 14:39 | Vaka2 | Note Added: 0000519 | |
2012-04-04 14:44 | cobines | Note Added: 0000520 | |
2012-04-05 03:15 | cobines | Fixed in Revision | => 4536 |
2012-04-05 03:15 | cobines | Note Added: 0000522 | |
2012-04-05 03:15 | cobines | Status | new => resolved |
2012-04-05 03:15 | cobines | Fixed in Version | => 0.5.5 |
2012-04-05 03:15 | cobines | Resolution | open => fixed |
2012-04-05 03:15 | cobines | Assigned To | => cobines |
2012-04-05 18:27 | Vaka2 | Note Added: 0000527 | |
2012-04-05 18:28 | Vaka2 | Status | resolved => closed |