liblzma crash within dpkg tools
reassign 1121758 dpkg
version 1.22.21
thanks
I checked the symptoms again. I can call the command shown in the
stacktrace with the same arguments and it does not crash. With or
without fakeroot.
Then I tried injecting the same env. vars (extracted from the coredump)
into the shell prior to calling. Still no crash.
Then I tried the run in gdb directly. Result:
(gdb) run --root-owner-group --build debian/linux-image-6.18.0 ..
Starting program: /usr/bin/dpkg-deb --root-owner-group --build debian/linux-image-6.18.0 ..
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
dpkg-deb: Paket »linux-image-6.18.0« wird in »../linux-image-6.18.0_6.18.0-85_amd64.deb« gebaut.
[Detaching after fork from child process 1135101]
[Detaching after fork from child process 1135102]
[Detaching after fork from child process 1135104]
[Detaching after fork from child process 1135105]
Program received signal SIGPIPE, Broken pipe.
Download failed: Das Argument ist ungültig. Continuing without source file ./nptl/./nptl/cancellation.c.
__internal_syscall_cancel (a1=a1@entry=6, a2=a2@entry=93824993085744, a3=a3@entry=77, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=1) at ./nptl/cancellation.c:44
warning: 44 ./nptl/cancellation.c: Datei oder Verzeichnis nicht gefunden
(gdb) bt
#0 __internal_syscall_cancel (a1=a1@entry=6, a2=a2@entry=93824993085744, a3=a3@entry=77, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=1) at ./nptl/cancellation.c:44
#1 0x00007ffff7cde6ad in __syscall_cancel (a1=a1@entry=6, a2=a2@entry=93824993085744, a3=a3@entry=77, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=1) at ./nptl/cancellation.c:75
#2 0x00007ffff7d53936 in __GI___libc_write (fd=fd@entry=6, buf=buf@entry=0x555555624930, nbytes=nbytes@entry=77) at ../sysdeps/unix/sysv/linux/write.c:26
#3 0x0000555555563389 in fd_write (fd=fd@entry=6, buf=buf@entry=0x555555624930, len=77) at ../../../lib/dpkg/fdio.c:72
#4 0x000055555555a0a7 in file_treewalk_feed (dir=<optimized out>, fd_out=6) at ../../src/deb/build.c:180
#5 0x0000555555559e87 in tarball_pack (dir=dir@entry=0x7fffffffe093 "debian/linux-image-6.18.0", tar_filenames_feeder=tar_filenames_feeder@entry=0x55555555a040 <file_treewalk_feed>, options=options@entry=0x7fffffffd650,
tar_compress_params=0x555555580010 <compress_params>, fd_out=fd_out@entry=4) at ../../src/deb/build.c:555
#6 0x000055555555a5c0 in do_build (argv=<optimized out>) at ../../src/deb/build.c:730
#7 0x0000555555559adc in main (argc=<optimized out>, argv=<optimized out>) at ../../src/deb/main.c:321
NOTE:
I am also unable to use dpkg-source (as called from dpkg-build). Getting
a similar (same?) failure as with dpkg-deb in the debugger, i.e. not
SIGSEGV but SIGPIPE.
Best regards,
Eduard.
Reply to: