On Saturday 07 of November 2015, Jakub Bogusz wrote: > On Sat, Nov 07, 2015 at 01:41:36PM +0100, Jan Palus wrote: > > On 07.11.2015 12:28, PLD th-i686 builder wrote: > > > Conflicts: mate-applet-gweather < 1.6.1 > > > Processing files: libmateweather-devel-1.12.0-1.i686 > > > Segmentation fault > > > > ^^^^^^^^^^^^^^^^^^^^ > > > > > ended at: Sat Nov 7 13:27:32 2015, done in 0:04:49.335941 > > > error: No files produced. > > > > Can someone have a look what is failing on i686 builder? Seems to be > > reproducible -- two attempts failed the same way. > > i686 rpmbuild seems to fail randomly during libmagic calls > (reproductible also on my machine, so it's not th-i686 builder issue). > I tried to debug it, but it's nothing obvious and hard to reproduce - > so I gave up due to the lack of enough time resources.
So different bugs? I got: (gdb) bt #0 0xf724d3fc in ?? () from /lib/libc.so.6 #1 0xf7481eb9 in strncpy (__len=<optimized out>, __src=0xffda95b0 "", __dest=<optimized out>) at /usr/include/bits/string3.h:126 #2 expandMacros (spec=spec@entry=0x0, mc=<optimized out>, mc@entry=0x0, sbuf=sbuf@entry=0xa0dae38 "", slen=slen@entry=131094) at macro.c:2776 #3 0xf7481feb in rpmExpand (arg=arg@entry=0xf7658373 "%{?__noautoprovfiles}") at macro.c:3277 #4 0xf7636018 in rpmfcExpandRegexps (str=str@entry=0xf7658373 "%{?__noautoprovfiles}", nmirep=nmirep@entry=0xa072fb8) at rpmfc.c:346 #5 0xf7638bdb in rpmfcApply (fc=fc@entry=0xa072f48) at rpmfc.c:1126 #6 0xf763a562 in rpmfcGenerateDepends (_spec=_spec@entry=0xa08d700, _pkg=_pkg@entry=0xa0a8a28) at rpmfc.c:2059 #7 0xf7685c31 in processBinaryFiles (spec=spec@entry=0xa08d700, installSpecialDoc=installSpecialDoc@entry=4, test=test@entry=0) at files.c:3211 #8 0xf767dd02 in buildSpec (ts=0xa0714b0, spec=spec@entry=0xa08d700, what=159, test=0) at build.c:392 #9 0x0804a65b in buildForTarget (ts=ts@entry=0xa0714b0, ba=ba@entry=0x804d200 <rpmBTArgs>) at build.c:265 #10 0x0804adbe in build (ts=ts@entry=0xa0714b0, ba=0x804d200 <rpmBTArgs>, rcfile=rcfile@entry=0x0) at build.c:315 #11 0x08049b98 in main (argc=5, argv=0xffdcfd64) at ./rpmqv.cc:982 (gdb) frame 2 #2 expandMacros (spec=spec@entry=0x0, mc=<optimized out>, mc@entry=0x0, sbuf=sbuf@entry=0xa0dae38 "", slen=slen@entry=131094) at macro.c:2776 2776 strncpy(sbuf, tbuf, (slen - mb->nb + 1)); (gdb) print sbuf $22 = 0xa0dae38 "" (gdb) print tbuf $23 = 0xffda95b0 "" (gdb) print slen $24 = 131094 (gdb) print mb->nb value has been optimized out (gdb) frame 3 #3 0xf7481feb in rpmExpand (arg=arg@entry=0xf7658373 "%{?__noautoprovfiles}") at macro.c:3277 3277 (void) expandMacros(NULL, mc, t, tn + bufn + 1); (gdb) print mc $25 = (struct MacroContext_s *) 0x0 (gdb) print t $26 = 0xa0dae38 "" (gdb) print tn + bufn + 1 $27 = 131094 (gdb) frame 4 #4 0xf7636018 in rpmfcExpandRegexps (str=str@entry=0xf7658373 "%{?__noautoprovfiles}", nmirep=nmirep@entry=0xa072fb8) at rpmfc.c:346 346 s = rpmExpand(str, NULL); (gdb) print str $28 = 0xf7658373 "%{?__noautoprovfiles}" reproduced (3 times in the same place) on carme-i686 by doing ../builder -bi python-setuptools.spec while (rpmbuild --short-circuit -bi python-setuptools.spec); do echo x; done ~50 iterations, 10 minutes to reproduce -- Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org ) _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en