View Issue Details

IDProjectCategoryView StatusLast Update
0002439GNUnetutil librarypublic2012-11-05 18:34
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002439: very long TMPDIR's cause unixpaths to exceed length limit (104 chars)
Descriptionluke:fs gnunet$ ./test_fs_namespace_list_updateable
Jun 20 13:36:31-599675 util-9387 WARNING UNIXPATH `/var/folders/89/7y13sk8j0yjdb1chyt0qgbxw0000gr/T//test-fs-namespace-list-updateableljkix9/0/transport.sock' too long, maximum length is 104
Jun 20 13:36:31-599778 util-9387 WARNING UNIXPATH `/var/folders/89/7y13sk8j0yjdb1chyt0qgbxw0000gr/T//test-fs-namespace-list-updateableljkix9/0/statistics.sock' too long, maximum length is 104
Jun 20 13:36:31-599834 util-9387 WARNING UNIXPATH `/var/folders/89/7y13sk8j0yjdb1chyt0qgbxw0000gr/T//test-fs-namespace-list-updateableljkix9/0/resolver.sock' too long, maximum length is 104
Jun 20 13:36:31-599895 util-9387 WARNING UNIXPATH `/var/folders/89/7y13sk8j0yjdb1chyt0qgbxw0000gr/T//test-fs-namespace-list-updateableljkix9/0/peerinfo.sock' too long, maximum length is 104
Jun 20 13:36:31-599987 util-9387 WARNING UNIXPATH `/var/folders/89/7y13sk8j0yjdb1chyt0qgbxw0000gr/T//test-fs-namespace-list-updateableljkix9/0/lockmanager.sock' too long, maximum length is 104
Jun 20 13:36:31-600308 util-9387 WARNING UNIXPATH `/var/folders/89/7y13sk8j0yjdb1chyt0qgbxw0000gr/T//test-fs-namespace-list-updateableljkix9/0/datastore.sock' too long, maximum length is 104
^CJun 20 13:37:27-737839 test-fs-namespace-list-updateable-9373 ERROR Assertion failed at test_fs_namespace_list_updateable.c:118.
Abort trap: 6
luke:fs gnunet$ echo $TMPDIR
/var/folders/89/7y13sk8j0yjdb1chyt0qgbxw0000gr/T/
luke:fs gnunet$ ls /tmp
gnbuild gnunet-pipe-F3w7ST launchd-94930.KG1qeT launchd-94941.B6vQjH ssh-uZyjXGMmxt
luke:fs gnunet$ export TMPDIR=/tmp/
luke:fs gnunet$ ./test_fs_namespace_list_updateable
luke:fs gnunet$ echo $?
0
Steps To ReproduceSee FS failure on OSX buildbot "luke".
TagsNo tags attached.

Activities

Christian Grothoff

2012-06-20 20:46

manager   ~0006119

Last edited: 2012-06-20 20:46

If the user (or testing...) configured a super-long UNIX path, we now automatically try to shorten it (while keeping it unique by using a hash for the last 53 characters and while keeping it a 'valid' path). This is the best we can do, and should fix the behavior for the buildbot. (SVN 22170).

Issue History

Date Modified Username Field Change
2012-06-20 13:47 Christian Grothoff New Issue
2012-06-20 13:47 Christian Grothoff Assigned To => Christian Grothoff
2012-06-20 13:47 Christian Grothoff Status new => assigned
2012-06-20 20:46 Christian Grothoff Note Added: 0006119
2012-06-20 20:46 Christian Grothoff Status assigned => resolved
2012-06-20 20:46 Christian Grothoff Fixed in Version => 0.9.4
2012-06-20 20:46 Christian Grothoff Resolution open => fixed
2012-06-20 20:46 Christian Grothoff Note Edited: 0006119
2012-11-05 18:34 Christian Grothoff Status resolved => closed