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 a trap during recovery if multiple operations
that could remove the same extent were recovered.

*** db/qam/qam_files.c.orig	2005-10-20 11:57:12.000000000 -0700
--- db/qam/qam_files.c             2006-01-27 13:38:38.000000000 -0800
***************
*** 411,416 ****
--- 411,422 ----
        DB_APP_DATA, buf, 0, NULL, &real_name)) != 0)
  		goto err;
  #endif
+ 
+ 	mpf = array->mpfarray[offset].mpf;
+ 	/* This extent my already be marked for delete and closed. */
+ 	if (mpf == NULL)
+ 		goto err;
+ 
  	/*
  	 * The log must be flushed before the file is deleted.  We depend on
  	 * the log record of the last delete to recreate the file if we crash.
***************
*** 418,424 ****
  	if (LOGGING_ON(dbenv) && (ret = __log_flush(dbenv, NULL)) != 0)
  		goto err;
  
- 	mpf = array->mpfarray[offset].mpf;
  	(void)__memp_set_flags(mpf, DB_MPOOL_UNLINK, 1);
  	/* Someone could be real slow, let them close it down. */
  	if (array->mpfarray[offset].pinref != 0)
--- 424,429 ----
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.