Bug 19842 - SIGSEGV
Summary: SIGSEGV
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: apt (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: Ivan Zakharyaschev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-30 09:17 MSD by ildar
Modified: 2020-08-19 14:01 MSK (History)
6 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description ildar 2009-04-30 09:17:01 MSD
/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 ildar 2009-04-30 09:22:13 MSD
Created attachment 3498 [details]
strace
Comment 2 ildar 2009-04-30 09:23:16 MSD
Created attachment 3499 [details]
использованный файл get-i586.list
Comment 3 ildar 2009-04-30 09:35:16 MSD
Created attachment 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 ildar 2009-04-30 09:45:25 MSD
проблема обнаружена: причиной 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