[poldek: Bug 112] assert failed when loading big(733 pkgs?) type=dir ?

btsadmin at pld-linux.org btsadmin at pld-linux.org
Tue Feb 19 11:34:48 CET 2008


http://bugs.pld-linux.org/show_bug.cgi?id=112





--- Comment #2 from Elan Ruusamäe <glen at pld-linux.org>  2008-02-19 11:34:48 ---
бацктраце:

[root at syriusz RPMS]# gdb poldek
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-pld-linux"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) set args -u vim-syntax-spec
(gdb) run
Starting program: /usr/bin/poldek -u vim-syntax-spec
warning: linux_test_for_tracefork: unexpected result from waitpid (19722,
status 0xb7f)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 19721)]
error: open /spools/ready/packages.dir.mdd: No such file or directory
notice: trying to scan directory /spools/ready/...
Loading [dir]local...
200..400..600..800..833
Loading [pndir]ac...
Loading [pndir]ac-updates...
17571 packages read
Removed 164 duplicate packages from available set
Something wrong, something not quite right.
Assertion 'pkg->_refcnt < INT16_MAX - 1' failed, pkg.c:1410
Please report this bug to <mis at pld-linux.org>.


Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 19721)]
0x70257bc8 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x70257bc8 in kill () from /lib/libc.so.6
#1  0x701c8b90 in pthread_kill () from /lib/libpthread.so.0
#2  0x701c8f98 in raise () from /lib/libpthread.so.0
#3  0x7025782c in raise () from /lib/libc.so.6
#4  0x70258ff8 in abort () from /lib/libc.so.6
#5  0x700debe4 in n_assert_hook (expr=0x701318b8 "pkg->_refcnt < INT16_MAX -
1", file=0x701316c8 "pkg.c", line=1410) at lib_init.c:1052
#6  0x70158050 in n_assert_fail (expr=0x701318b8 "pkg->_refcnt < INT16_MAX -
1", file=0x701316c8 "pkg.c", line=1410) at nassert.c:51
#7  0x700acbf4 in pkg_link (pkg=0x7106f710) at pkg.c:1410
#8  0x700b4c7c in process_dup (path=0xefffe7f8
"usr/src/linux-grsecurity-2.6.16.60/arch/arm/configs/lpd7a404_defconfig",
ent1=0x14e0658, ent2=0x14bd180,
    ms=0xeffff8f0) at fileindex.c:371
#9  0x700b4f80 in verify_dups (from=170, to=175, path=0xefffe7f8
"usr/src/linux-grsecurity-2.6.16.60/arch/arm/configs/lpd7a404_defconfig",
    fents=0x1456718, ms=0xeffff8f0) at fileindex.c:426
#10 0x700b51b8 in find_dups (dirname=0x7103f970
"usr/src/linux-grsecurity-2.6.16.60/arch/arm/configs", data=0x1456718,
ms_=0xeffff8f0) at fileindex.c:455
#11 0x7015eb6c in n_hash_map_arg (ht=0x10bce38, map_fn=0x700b4fb0 <find_dups>,
arg=0xeffff8f0) at n_hash_map_arg.c:14
#12 0x700b526c in file_index_find_conflicts (fi=0x10bce20, strict=1) at
fileindex.c:471
#13 0x700bc9a0 in pkgset_setup (ps=0x4fd58, flags=0) at pkgset.c:289
#14 0x700e11bc in poldek_load_sources__internal (ctx=0x26ef8) at
lib_pkgset.c:92
#15 0x700e09f4 in poldek_load_sources (ctx=0x26ef8) at lib_init.c:1660
#16 0x700e4c94 in poldek_ts_run (ts=0x27910, flags=0) at poldek_ts.c:1133
#17 0x70075990 in cmdl_run (rt=0x2ff80) at install.c:589
#18 0x00013bf0 in do_run () at main.c:508
#19 0x000145e8 in main (argc=3, argv=0xeffffd34) at main.c:702
(gdb)


-- 
Configure bugmail: http://bugs.pld-linux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the pld-bugs mailing list