2024-03-28 11:00 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000755NetSurf[All Projects] Generalpublic2005-07-11 18:26
ReporterSourceforge Import placeholder 
Assigned ToSourceforge Import placeholder 
SeverityminorReproducibilityhave not tried 
StatusclosedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000755: Excessive RMEnsure Iconv
DescriptionWith the latest build (2005-07-09) and one from a few days ago, whenever the pointer is over the Netsurf Window there are a constant stream of commands issued at 0.1 second intervals ...

12:02:19.06 [Appl\NetSurf] RMEnsure Iconv 0.04 RMload System:Modules.Iconv
12:02:19.06 [Appl\NetSurf] RMEnsure Iconv 0.04 Error 16_10F iconv support requires the Iconv module 0.04 or newer

12:02:19.16 [Appl\NetSurf] RMEnsure Iconv 0.04 RMload System:Modules.Iconv
12:02:19.16 [Appl\NetSurf] RMEnsure Iconv 0.04 Error 16_10F iconv support requires the Iconv module 0.04 or newer

etc etc!

It would seem sensible to issue them once, rather than from within each WimpPollIdle loop!?

Martin

netsurf@avisoft.f9.co.uk

Additional Informationjmb202 added a note on Mon Jul 11 19:26:37 2005

Logged In: YES
user_id=906191

This is the result of how UnixLib's iconv support is implemented. As the module may be killed from underneath an application that uses it, UnixLib takes the sensible approach of attempting to load the module each time a conversion descriptor is opened.

As much of the text in NetSurf is passed through iconv before display, iconv_open was being called a great deal. However, this isn't particularly efficient, as a great deal of conversions are between the same character sets. NetSurf has now been modified to cache the previous iconv conversion descriptor. This should fix the issue you are seeing (with the side effect that conversion is up to 18 times faster).

Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=1235974 on Tue Dec 10 17:34:12 2013

TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2013-12-10 17:41 Vincent Sanders New Issue
2013-12-10 17:41 Vincent Sanders Assigned To => Sourceforge Import placeholder
+Issue History