GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

13 versions of DB.

ProgramAgeSizeByWWWSummary
DB 6.2.23-r1 1397  1032 Luca...
Berkeley DB Database Library
DB 6.0.20-r1 2340  1025 Hish...
Berkeley DB Database Library
DB 5.1.19-r2 1278  1025 Luca...
Berkeley DB Database Library
DB 4.8.26-r2 3798  1017 Zbig...
Berkeley DB Database Library
DB 4.7.25-r2 4105  989 Raph...
Berkeley DB Database Library
DB 4.6.21-r2 4105  2086 Giam...
Berkeley DB Database Library
DB 4.5.20-r4 3759  2136 Andr...
Berkeley DB Database Library
DB 4.4.20-r2 4105  2703 Jona...
Berkeley DB Database Library
view entry at GitHub | download recipe.bz2 file
01-recovery_trap.patch
02-DB_TXN_set_name.patch
03-cursor_lookup.patch
04-buffer_retrieval_race.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
Fix a bug that could cause traps or hangs if the DB_TXN->set_name
function is used in a multithreaded application.

*** db/txn/txn.c.orig	Tue Nov  1 06:50:03 2005
--- db/txn/txn.c	Tue Jan 31 15:05:13 2006
***************
*** 1049,1060 ****
--- 1049,1062 ----
  		return (ret);
  	memcpy(txn->name, name, len);
  
+ 	TXN_SYSTEM_LOCK(dbenv);
  	if (td->name != INVALID_ROFF) {
  		__db_shalloc_free(
  		    &mgr->reginfo, R_ADDR(&mgr->reginfo, td->name));
  		td->name = INVALID_ROFF;
  	}
  	if ((ret = __db_shalloc(&mgr->reginfo, len, 0, &p)) != 0) {
+ 		TXN_SYSTEM_UNLOCK(dbenv);
  		__db_err(dbenv,
  		    "Unable to allocate memory for transaction name");
  
***************
*** 1063,1068 ****
--- 1065,1071 ----
  
  		return (ret);
  	}
+ 	TXN_SYSTEM_UNLOCK(dbenv);
  	td->name = R_OFFSET(&mgr->reginfo, p);
  	memcpy(p, name, len);
DB 4.3.29-r1 4105  896 Fern...
Berkeley DB Database Library
DB 4.3.28-r1 4105  859 Andr...
Berkeley DB Database Library
DB 4.3.27-r1 4105  908 roko
Berkeley DB Database Library
DB 4.3.21-r1 4105  550 Andr...
Deep Blue is a theme built around an ocean background.
DB 4.2.52-r1 4105  496
Deep Blue is a theme built around an ocean background.