Assertion 'pkg->_refcnt < INT16_MAX - 1' failed, pkg.c:1461
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poldek |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
: 0xf64d098c won2-0.11.2-3 (pdir won2, na->refcnt=220), refcnt=20530 (0xf64d0a0c)
: 0xf650065e won2-0.11.16-3.1 (pdir won2, na->refcnt=220), refcnt=22889 (0xf65006de)
: 0xf64d098c won2-0.11.2-3 (pdir won2, na->refcnt=220), refcnt=20531 (0xf64d0a0c)
: 0xf64f621a won2-0.11.16-1 (pdir won2, na->refcnt=220), refcnt=21034 (0xf64f629a)
: 0xf6382341 won2-0.12.1-1.6 (pdir won2, na->refcnt=220), refcnt=32761 (0xf63823c1)
: 0xf647020a won2-0.11.16-4.5 (pdir won2, na->refcnt=220), refcnt=23395 (0xf647028a)
: 0xf6382341 won2-0.12.1-1.6 (pdir won2, na->refcnt=220), refcnt=32762 (0xf63823c1)
: 0xf64763e6 won2-0.11.16-4.6 (pdir won2, na->refcnt=220), refcnt=23394 (0xf6476466)
: 0xf6382341 won2-0.12.1-1.6 (pdir won2, na->refcnt=220), refcnt=32763 (0xf63823c1)
: 0xf6202f6d won2-0.12.1-3 (pdir won2, na->refcnt=220), refcnt=31908 (0xf6202fed)
: 0xf6382341 won2-0.12.1-1.6 (pdir won2, na->refcnt=220), refcnt=32764 (0xf63823c1)
: 0xf62492fe won2-0.12.1-1.17 (pdir won2, na->refcnt=220), refcnt=32264 (0xf624937e)
: 0xf6382341 won2-0.12.1-1.6 (pdir won2, na->refcnt=220), refcnt=32765 (0xf63823c1)
: 0xf648172f won2-0.11.16-4.7 (pdir won2, na->refcnt=220), refcnt=23647 (0xf64817af)
: 0xf6382341 won2-0.12.1-1.6 (pdir won2, na->refcnt=220), refcnt=32766 (0xf63823c1)
Something wrong, something not quite right with 0.30 (snap20080820.23)
Assertion 'pkg->_refcnt < INT16_MAX - 1' failed, pkg.c:1461
Please report this bug to <email address hidden>.
Aborted
produced with such debug code in pkg.c:
1452 struct pkg *pkg_link(struct pkg *pkg)
1453 {
1454 if (pkg->_refcnt >= 10) {
1455 trace(1, "%p %s (pdir %s, na->refcnt=%d), refcnt=%d (%p)\n",
1456 pkg, pkg_snprintf_
1457 pkg->pkgdir ? pkgdir_
1458 pkg->na ? pkg->na->_refcnt : -1,
1459 pkg->_refcnt, &pkg->_refcnt);
1460 }
1461 n_assert(
1462 pkg->_refcnt++;
1463 return pkg;
1464 }
1465
Changed in poldek: | |
status: | New → Confirmed |
/* private, don't touch */
int16_t _refcnt;