View Issue Details

IDProjectCategoryView StatusLast Update
0036247FPCPackagespublic2020-01-26 14:32
ReporterC WesternAssigned ToMarco van de Voort 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx84_64OSFedoraOS Version
Product Version3.3.1Product Build 
Target VersionFixed in Version3.2.0 
Summary0036247: chmcmd
Descriptionchmcmd crashes complaining that a wide string manager (towards the end of the processing). The attached patch fixed it for me
TagsNo tags attached.
Fixed in Revision 43361
FPCOldBugId
FPCTarget-
Attached Files
  • chmcmd.diff (431 bytes)
    Index: chm/src/chmcmd.lpr
    ===================================================================
    --- chm/src/chmcmd.lpr	(revision 43357)
    +++ chm/src/chmcmd.lpr	(working copy)
    @@ -23,7 +23,7 @@
     {$mode objfpc}{$H+}
     
     uses
    -  {$ifdef Unix}cthreads,{$endif} Classes, Sysutils, chmfilewriter, GetOpts;
    +  {$ifdef Unix}cthreads, cwstring, {$endif} Classes, Sysutils, chmfilewriter, GetOpts;
     
     Const
       CHMCMDVersion = {$I %FPCVERSION%};
    
    chmcmd.diff (431 bytes)

Activities

C Western

2019-11-02 14:08

reporter  

chmcmd.diff (431 bytes)
Index: chm/src/chmcmd.lpr
===================================================================
--- chm/src/chmcmd.lpr	(revision 43357)
+++ chm/src/chmcmd.lpr	(working copy)
@@ -23,7 +23,7 @@
 {$mode objfpc}{$H+}
 
 uses
-  {$ifdef Unix}cthreads,{$endif} Classes, Sysutils, chmfilewriter, GetOpts;
+  {$ifdef Unix}cthreads, cwstring, {$endif} Classes, Sysutils, chmfilewriter, GetOpts;
 
 Const
   CHMCMDVersion = {$I %FPCVERSION%};
chmcmd.diff (431 bytes)

Marco van de Voort

2019-11-02 14:55

manager   ~0118980

Last edited: 2019-11-02 14:55

View 2 revisions

Done., thanks

Issue History

Date Modified Username Field Change
2019-11-02 14:08 C Western New Issue
2019-11-02 14:08 C Western File Added: chmcmd.diff
2019-11-02 14:55 Marco van de Voort Assigned To => Marco van de Voort
2019-11-02 14:55 Marco van de Voort Status new => resolved
2019-11-02 14:55 Marco van de Voort Resolution open => fixed
2019-11-02 14:55 Marco van de Voort Fixed in Revision => 43361
2019-11-02 14:55 Marco van de Voort FPCTarget => -
2019-11-02 14:55 Marco van de Voort Note Added: 0118980
2019-11-02 14:55 Marco van de Voort Note Edited: 0118980 View Revisions
2020-01-26 14:32 Marco van de Voort Status resolved => closed
2020-01-26 14:32 Marco van de Voort Fixed in Version => 3.2.0