[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247189: dpkg: same problem, different context

Package: dpkg
Version: 1.10.10
Severity: normal
Followup-For: Bug #247189

    I see this same error in a different context. It hapens with a private package,
and the problem is not consistent. Somtimes just doing dpkg -i again goes OK.
I think dpkg -P package has some influence, although not consistent

Setting up cadserver (0.0.20040517-1) ...
D000001: deferred_configure updating conffiles
D000002: fork/exec /var/lib/dpkg/info/cadserver.postinst (dpkg: error processing cadserver (--install):
 subprocess post-installation script killed by signal (Segmentation fault)

I heve been able to catch this with "strace -etrace=file,process":

18386 stat64("/var/lib/dpkg/info/cadserver.postinst", {st_mode=S_IFREG|0755, st_size=4155, ...}) = 0
18386 fork()                            = 18408
18408 --- SIGSTOP (Stopped (signal)) @ 0 (0) ---
18408 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
18386 --- SIGCHLD (Child exited) @ 0 (0) ---
18386 waitpid(18408, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0) = 18408

Some searching in the dpkg sources leads me to think
returns NULL in file "main/help.c:do_script+9".
I have looked at nfmalloc, but its internal working is still a mistery to me....

----------------------------------------------------------------  -o)
Matthijs Melchior                                       Maarssen  /\\
mmelchior@xs4all.nl                                  Netherlands _\_v
---------------------------------------------------------------- ----

-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux p2pc 2.4.25-1-686-smp #1 SMP Tue Feb 24 12:07:16 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

Versions of packages dpkg depends on:
ii  dselect                     1.10.8       a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an

-- no debconf information

Reply to: