Custom Query (31 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 31)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#24 invalid UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 28: ordinal not in range(128) Andreas Schnellbacher ak120
Description

Zum Reproduzieren

Während der Ausführung von GET auf /browser/trunk/src/nls/nlsdeu.rch hat Trac einen internen Fehler gemeldet.

(Bitte geben Sie hier weitere Details an)

Anfrageparameter:

{'path': u'/trunk/src/nls/nlsdeu.rch'}

User agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35

Systeminformationen

Systeminformation nicht verfügbar

Aktive Plugins

Plugininformation nicht verfügbar

Python-Zurückverfolgungsinformationen

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/trac/web/main.py", line 554, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/site-packages/trac/web/main.py", line 247, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/site-packages/trac/versioncontrol/web_ui/browser.py", line 408, in process_request
    file_data = self._render_file(req, context, repos, node, rev)
  File "/usr/local/lib/python2.7/site-packages/trac/versioncontrol/web_ui/browser.py", line 669, in _render_file
    content = node.get_processed_content()
  File "/usr/local/lib/python2.7/site-packages/tracopt/versioncontrol/svn/svn_fs.py", line 802, in get_processed_content
    return FileContentStream(self, keyword_substitution, eol_style)
  File "/usr/local/lib/python2.7/site-packages/tracopt/versioncontrol/svn/svn_fs.py", line 1174, in __init__
    node._get_prop(core.SVN_PROP_KEYWORDS))
  File "/usr/local/lib/python2.7/site-packages/tracopt/versioncontrol/svn/svn_fs.py", line 1252, in _get_keyword_values
    for key, value in values.iteritems())
  File "/usr/local/lib/python2.7/site-packages/tracopt/versioncontrol/svn/svn_fs.py", line 1252, in <genexpr>
    for key, value in values.iteritems())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 28: ordinal not in range(128)
#25 fixed Potential memory leak Andreas Schnellbacher abwillis
Description

I ran cppcheck looking for possible uninitialized variables as I have seen crashes when doing a lot of scrolling. I did not find any but found a potential memory leak. I'll let you evaluate and decide if this is meaningful.

Index: src/gui/nepmdlib/nepmdlib.c
===================================================================
--- src/gui/nepmdlib/nepmdlib.c	(revision 2946)
+++ src/gui/nepmdlib/nepmdlib.c	(working copy)
@@ -1032,7 +1032,7 @@
          HCONFIG        hconfig;
 
          CHAR           szResult[ 20];
-         PMODEINFO      pmi = malloc( 1024);
+         PMODEINFO      pmi = NULL;
 
 FUNCENTER;
 
@@ -1076,6 +1076,8 @@
    } while (FALSE);
 
 FUNCEXITRC;
+if (pmi)
+  free( pmi);
 return _getRexxError( rc, pszBuffer, ulBuflen);
 }
 
#26 fixed Removing a key from its parent RegContainer value removes a zero char too much Andreas Schnellbacher Andreas Schnellbacher
Description

After executing

NepmdDeleteConfigTree \NEPMD\User\AutoRestore

the section RegKey is OK, but in RegContainer, the entry for \NEPMD\User was changed from

AutoRestore.AutoSave.Backup.Colors. ... .Toolbar.

to

AutoSaveBackup.Colors. ... .Toolbar.

(zero chars replaced by single dots).

The faulty function is _removeKeyFromContainerList of libreg.c, which exists for a long time.

The removed RegKeys are:

\NEPMD\User\AutoRestore\Ring\LoadLast
\NEPMD\User\AutoRestore\Ring\MaxFiles
\NEPMD\User\AutoRestore\Ring\SaveLast

The removed RegContainer keys are:

\NEPMD\User\AutoRestore\Ring
\NEPMD\User\AutoRestore

It may have relevance that two container levels were removed.

Luckily, this bug didn't appear until now. It has to be fixed before the deletion of a tree will be added to ImportUserTextConfig, triggered by a DELETE: value in user.cfg.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.