[Bug 1104474] Re: rpm segfault installing reviewboard-1.7.2-0.5.noarch.rpm
Elan Ruusamäe
1104474 at bugs.launchpad.net
Thu Jan 24 22:49:41 CET 2013
gdb trace
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79441bf in fsmCommitLinks (fsm=0x64e990) at fsm.c:1358
1358 for (i = 0; i < fsm->li->nlink; i++) {
(gdb) bt
#0 0x00007ffff79441bf in fsmCommitLinks (fsm=0x64e990) at fsm.c:1358
#1 fsmStage (fsm=0x64e990, stage=<optimized out>) at fsm.c:2058
#2 0x00007ffff794277a in fsmStage (fsm=fsm at entry=0x64e990, stage=IOSM_PKGINSTALL) at fsm.c:1667
#3 0x00007ffff7945395 in fsmSetup (_fsm=0x64e990, goal=goal at entry=IOSM_PKGINSTALL, afmt=<optimized out>, _ts=_ts at entry=0x6534f0,
_fi=_fi at entry=0x651c20, cfd=<optimized out>, archiveSize=archiveSize at entry=0x0, failedFile=failedFile at entry=0x6c63a8)
at fsm.c:739
#4 0x00007ffff794f806 in rpmpsmStage (psm=0x6c62a0, stage=PSM_PROCESS) at psm.c:2629
#5 0x00007ffff794f32c in rpmpsmStage (psm=psm at entry=0x6c62a0, stage=stage at entry=PSM_PKGINSTALL) at psm.c:2910
#6 0x00007ffff797d997 in rpmtsProcess (rollbackFailures=0, ignoreSet=RPMPROB_FILTER_NONE, ts=0x6534f0) at transaction.c:1848
#7 _rpmtsRun (ts=0x6534f0, okProbs=0x0, ignoreSet=RPMPROB_FILTER_NONE) at transaction.c:2263
#8 0x00007ffff796f5aa in rpmcliInstallRun (ts=ts at entry=0x6534f0, okProbs=okProbs at entry=0x654810, ignoreSet=<optimized out>)
at rpminstall.c:360
#9 0x00007ffff7970270 in rpmcliInstall (ts=ts at entry=0x6534f0, ia=ia at entry=0x7ffff7b95900 <rpmIArgs>, argv=<optimized out>)
at rpminstall.c:756
#10 0x00000000004031db in main (argc=<optimized out>, argv=<optimized out>) at ./rpmqv.c:996
(gdb)
(gdb) l
1353 for (fsm->li = fsm->links; fsm->li; fsm->li = fsm->li->next) {
1354 if (fsm->li->sb.st_ino == st->st_ino && fsm->li->sb.st_dev == st->st_dev)
1355 break;
1356 }
1357
1358 for (i = 0; i < fsm->li->nlink; i++) {
1359 if (fsm->li->filex[i] < 0) continue;
1360 fsm->ix = fsm->li->filex[i];
1361 rc = fsmNext(fsm, IOSM_MAP);
1362 if (!iosmFileActionSkipped(fsm->action))
(gdb)
(gdb) p *fsm
$1 = {
path = 0x0,
lpath = 0x0,
opath = 0x0,
digestlen = 16,
dirName = 0x65ae7c "/usr/share/python2.7/site-packages/reviewboard/hostingsvcs/",
baseName = 0x68b538 "versionone.pyo",
fdigest = 0x0,
digest = 0x66a100 "\030ce(a\275s\300 at S\213W-\257\230\212",
fcontext = 0x0,
fflags = 0,
action = FA_CREATE,
goal = IOSM_PKGINSTALL,
stage = IOSM_FINI,
nstage = IOSM_FINI,
sb = {
st_dev = 64768,
st_ino = 304633500,
st_nlink = 2,
st_mode = 33188,
st_uid = 0,
st_gid = 0,
__pad0 = 0,
st_rdev = 0,
st_size = 1290,
st_blksize = 0,
st_blocks = 0,
st_atim = {
tv_sec = 0,
tv_nsec = 0
},
st_mtim = {
tv_sec = 1359060247,
tv_nsec = 0
},
st_ctim = {
tv_sec = 0,
tv_nsec = 0
},
__unused = {0,
0,
0}
},
osb = {
st_dev = 0,
st_ino = 0,
st_nlink = 0,
st_mode = 0,
st_uid = 0,
st_gid = 0,
__pad0 = 0,
st_rdev = 0,
st_size = 0,
---Type <return> to continue, or q <return> to quit---
st_blksize = 0,
st_blocks = 0,
st_atim = {
tv_sec = 0,
tv_nsec = 0
},
st_mtim = {
tv_sec = 0,
tv_nsec = 0
},
st_ctim = {
tv_sec = 0,
tv_nsec = 0
},
__unused = {0,
0,
0}
},
blksize = 4,
headerRead = 0x7ffff73a2a00 <cpioHeaderRead>,
headerWrite = 0x7ffff73a2ee0 <cpioHeaderWrite>,
trailerWrite = 0x7ffff73a32a0 <cpioTrailerWrite>,
lmtab = 0x0,
lmtablen = 0,
lmtaboff = 0,
op_digest = {
begin = {
u = {
tv = {
tv_sec = 0,
tv_usec = 0
},
ticks = 0,
tocks = {0,
0}
}
},
count = 3623,
bytes = 9753911,
usecs = 39100
}
}
(gdb)
(gdb) p i
$4 = 0
(gdb) p fsm->li
$5 = (struct hardLink_s *) 0x0
(gdb)
--
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/1104474
Title:
rpm segfault installing reviewboard-1.7.2-0.5.noarch.rpm
Status in PLD Linux Distribution:
New
Bug description:
# rpm -q rpm
rpm-5.4.10-37.x86_64
# wget http://carme.pld-linux.org/~glen/th/x86_64/reviewboard-1.7.2-0.5.noarch.rpm
# rpm -Uhv reviewboard-1.7.2-0.5.noarch.rpm --nodeps -vv
...
D: fini 100644 2 ( 0, 0) 0 /usr/share/python2.7/site-packages/reviewboard/htdocs/static/admin/js/compress.52d3b8fad0d3.pyc;5101aa79
D: fini 100644 2 ( 0, 0) 2215 /usr/share/python2.7/site-packages/reviewboard/htdocs/static/admin/js/compress.52d3b8fad0d3.pyo;5101aa79
D: fini 100644 2 ( 0, 0) 0 /usr/share/python2.7/site-packages/reviewboard/hostingsvcs/versionone.pyc;5101aa79
D: fini 100644 2 ( 0, 0) 1290 /usr/share/python2.7/site-packages/reviewboard/hostingsvcs/versionone.pyo;5101aa79
Segmentation fault
after trying different versions. i see that temp files are left around:
23:41:14 root[load: 0.30]@blodnatt /tmp# find /usr/share/python2.7/site-packages/ -name '*;*'
/usr/share/python2.7/site-packages/reviewboard/scmtools/evolutions/repository_visible.pyo;510189cc
/usr/share/python2.7/site-packages/reviewboard/scmtools/evolutions/repository_visible.pyo;51018a26
/usr/share/python2.7/site-packages/reviewboard/scmtools/evolutions/repository_visible.pyo;51018a4c
/usr/share/python2.7/site-packages/reviewboard/scmtools/evolutions/repository_visible.pyo;510192fe
/usr/share/python2.7/site-packages/reviewboard/scmtools/evolutions/repository_visible.pyo;51019308
/usr/share/python2.7/site-packages/reviewboard/webapi/encoder.pyo;510189cc
/usr/share/python2.7/site-packages/reviewboard/webapi/encoder.pyo;51018a26
/usr/share/python2.7/site-packages/reviewboard/webapi/encoder.pyo;51018a4c
/usr/share/python2.7/site-packages/reviewboard/webapi/encoder.pyo;510192fe
/usr/share/python2.7/site-packages/reviewboard/webapi/encoder.pyo;51019308
/usr/share/python2.7/site-packages/reviewboard/hostingsvcs/versionone.pyo;5101a92d
/usr/share/python2.7/site-packages/reviewboard/hostingsvcs/versionone.pyo;5101a93c
/usr/share/python2.7/site-packages/reviewboard/hostingsvcs/versionone.pyo;5101aa79
/usr/share/python2.7/site-packages/reviewboard/site/templatetags/__init__.pyo;5101a92d
/usr/share/python2.7/site-packages/reviewboard/site/templatetags/__init__.pyo;5101a93c
/usr/share/python2.7/site-packages/reviewboard/site/templatetags/__init__.pyo;5101aa79
i.e some of them caused by same package, just different build, and crashes in different filename printed
http://carme.pld-linux.org/~glen/th/x86_64/reviewboard-1.7.2-0.5.noarch.rpm
To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/1104474/+subscriptions
More information about the pld-bugs
mailing list