Bug 19842 - SIGSEGV
: SIGSEGV
Status: NEW
: Sisyphus
(All bugs in Sisyphus/apt)
: unstable
: all Linux
: P3 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2009-04-30 09:17 by
Modified: 2011-04-12 18:20 (History)


Attachments
strace (587.68 KB, application/x-lzma)
2009-04-30 09:22, ildar
no flags Details
использованный файл get-i586.list (1.75 KB, application/octet-stream)
2009-04-30 09:23, ildar
no flags Details
strace поменьше (225.43 KB, application/x-lzma)
2009-04-30 09:35, ildar
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-04-30 09:17:01
/usr/bin/apt-get -o "Dir::Etc::sourceparts=''" -o
"Dir::Etc::sourcelist=/etc/apt/sources.list.d/local.list" install -y `cat
~ildar/buffer/get-i586.list`

...

250 upgraded, 33 newly installed, 3 replaced, 9 removed and 2 not upgraded.
Need to get 0B/160MB of archives.
After unpacking 31.3MB of additional disk space will be used.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214708016 (LWP 20699)]
0xb7bb93cc in Fileno () from /usr/lib/librpmio-4.0.4.so
(gdb) bt
#0  0xb7bb93cc in Fileno () from /usr/lib/librpmio-4.0.4.so
#1  0xb7c0c601 in pthread_cancel () from /usr/lib/librpm-4.0.4.so
#2  0x00000000 in ?? ()


Версии:
 rpm -q rpm apt glibc
rpm-4.0.4-alt98.7
apt-0.5.15lorg2-alt26
glibc-2.9-alt5
------- Comment #1 From 2009-04-30 09:22:13 -------
Created an attachment (id=3498) [details]
strace
------- Comment #2 From 2009-04-30 09:23:16 -------
Created an attachment (id=3499) [details]
использованный файл get-i586.list
------- Comment #3 From 2009-04-30 09:35:16 -------
Created an attachment (id=3500) [details]
strace поменьше

Вот пример попроще:
gdb run -o "Dir::Etc::sourceparts=''" -o
"Dir::Etc::sourcelist=/etc/apt/sources.list.d/local.list" install tex-common
...
The following packages will be upgraded
  tex-common
1 upgraded, 0 newly installed, 0 removed and 253 not upgraded.
Need to get 0B/4254B of archives.
After unpacking 988B of additional disk space will be used.
---Type <return> to continue, or q <return> to quit---

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214957872 (LWP 25511)]
0xb7b7c3cc in Fileno () from /usr/lib/librpmio-4.0.4.so
(gdb) bt
#0  0xb7b7c3cc in Fileno () from /usr/lib/librpmio-4.0.4.so
#1  0xb7bcf601 in pthread_cancel () from /usr/lib/librpm-4.0.4.so
#2  0x00000000 in ?? ()
------- Comment #4 From 2009-04-30 09:45:25 -------
проблема обнаружена: причиной SIGSEGV оказалось 
rpm -Uvh /mnt/nfs/heap/software/ALTLinux/i586/tex-common_0.2-alt2_noarch.rpm 
error: open of
/mnt/nfs/heap/software/ALTLinux/i586/tex-common_0.2-alt2_noarch.rpm failed:
Permission denied

Для рута это нетипично, но всё равно ошибка. Исправил на minor