poldek make indexes crash for subpackage without Group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poldek |
Confirmed
|
Undecided
|
Cactus |
Bug Description
http://
save it to empty dir and execute:
poldek -s . --mkidxz --mkidx-type pndir
Starting program: /usr/bin/poldek -s . --mkidxz --mkidx-type pndir
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/
Missing separate debuginfo for /usr/lib64/
Try to install package that provides `/usr/lib/
Creating pndir index of /home/pld/
Loading [dir]/home/
Program received signal SIGSEGV, Segmentation fault.
n_hash_dohash (ht=ht@
at n_hash_new.c:81
81 while (*s) {
(gdb) bt
#0 n_hash_dohash (ht=ht@
slen=
#1 0x00002aaaab17e839 in n_hash_get_ex (ht=0x6649d0, key=0x656972617
klen=
#2 0x00002aaaab17e893 in n_hash_get (ht=<optimized out>, key=<optimized out>) at n_hash_get.c:55
#3 0x00002aaaaaf20e4a in pkgroup_
#4 0x00002aaaaaf3a37d in load_dir (pkgdir=0x669d50, dirpath=0x65a7d0 "/home/
ldflags=
#5 0x00002aaaaaf3a4fa in do_load (pkgdir=<optimized out>, ldflags=<optimized out>) at dir.c:322
#6 0x00002aaaaaf33675 in pkgdir_load (pkgdir=
#7 0x00002aaaaaf3107c in load_pkgdir (src=src@
idxpath=
at source_mkidx.c:112
#8 0x00002aaaaaf31549 in do_makeidx (src=src@
idxpath=
kw=
#9 0x00002aaaaaf31ab1 in source_make_idx (src=src@
dtype=
#10 0x00002aaaaacdf483 in make_idx (arg_s=<optimized out>) at op_makeidx.c:399
#11 oprun (rt=<optimized out>) at op_makeidx.c:433
#12 0x0000000000404893 in do_run () at main.c:505
#13 0x00000000004027c5 in main (argc=6, argv=0x7fffffff
(gdb)
Changed in poldek: | |
assignee: | nobody → Cactus (uzi18) |
status: | New → In Progress |
status: | In Progress → Fix Committed |
when looking rpm -qp --yaml dump of package without Group in subpackage and rebuild when subpackage has own group, they both have group present, slightly different:
- Group: Libraries Libraries
+ Group: Development/
so, original package that makes poldek crash: git.pld- linux.org/ ?p=packages/ jsoncpp. git;a=shortlog; h=refs/ tags/auto/ th/jsoncpp- 0.6.0-0. 1.20120626svn24 9
http://
and package with filled Group to subpackage: git.pld- linux.org/ ?p=packages/ jsoncpp. git;a=shortlog; h=refs/ tags/auto/ th/jsoncpp- 0.6.0-0. 2.20120626svn24 9
http://