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

Bug#1060405: marked as done (Segmentation fault on opening .deb files)



Your message dated Wed, 10 Jan 2024 22:24:54 +0000
with message-id <E1rNh0I-00HE4A-E6@fasolo.debian.org>
and subject line Bug#1060405: fixed in engrampa 1.26.1-2
has caused the Debian Bug report #1060405,
regarding Segmentation fault on opening .deb files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1060405: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060405
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: engrampa
Version: 1.26.1-1
Severity: important


Dear Maintainer,

Since mid December 2023 engrampa (on Debian testing) has been crashing with segmentation fault when opening any .deb files.
By looking with GDB it seems the error is thrown here ( https://github.com/mate-desktop/engrampa/blob/1.26/src/fr-command-dpkg.c#L76 ). After some searches I found that the same bug was already reported to upstream ( https://github.com/mate-desktop/engrampa/issues/496 ) and it has been fixed since October 2023; however upstream hasn't released a new version yet (as of today, last is 1.27.1 from Aug 22, 2023).

Taking in account that this is the patch to fix the bug ( https://github.com/mate-desktop/engrampa/commit/bdafd0c2db93e85ed0e7b19fd502e254e5b587ea ) and it is compatible with 1.26.1 code ( https://github.com/mate-desktop/engrampa/blob/1.26/src/glib-utils.c#L422-L425 ), would you consider to add it to the package's patch set and release as 1.26.1-2?

$ cat /etc/issue
Debian GNU/Linux trixie/sid \n \l
$ uname -a
Linux debian-zooplus 6.5.0-5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.13-1 (2023-11-29) x86_64 GNU/Linux

$ gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'bt full' -ex 'thread apply all bt full' --args engrampa grep_3.11-3_amd64.deb > engrampa.log
76 ./src/fr-command-dpkg.c: File o directory non esistente

engrampa.log
-------------------------------------------------
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff592e6c0 (LWP 28785)]
[New Thread 0x7fffed12d6c0 (LWP 28786)]
[New Thread 0x7ffff512d6c0 (LWP 28787)]
[New Thread 0x7ffff48966c0 (LWP 28788)]
[New Thread 0x7fffeebff6c0 (LWP 28789)]
[Thread 0x7fffeebff6c0 (LWP 28789) exited]
[New Thread 0x7fffeebff6c0 (LWP 28790)]
[New Thread 0x7fffee3fe6c0 (LWP 28791)]
[Thread 0x7fffeebff6c0 (LWP 28790) exited]
[Thread 0x7fffee3fe6c0 (LWP 28791) exited]
[New Thread 0x7fffee3fe6c0 (LWP 28792)]
[New Thread 0x7fffeebff6c0 (LWP 28793)]
[Thread 0x7fffee3fe6c0 (LWP 28792) exited]
[Thread 0x7fffeebff6c0 (LWP 28793) exited]
[New Thread 0x7fffeebff6c0 (LWP 28794)]
[New Thread 0x7fffee3fe6c0 (LWP 28795)]
[New Thread 0x7fffedbfd6c0 (LWP 28796)]
[Thread 0x7fffee3fe6c0 (LWP 28795) exited]
[New Thread 0x7fffee3fe6c0 (LWP 28797)]
[Thread 0x7fffedbfd6c0 (LWP 28796) exited]
[New Thread 0x7fffedbfd6c0 (LWP 28798)]
[Thread 0x7fffee3fe6c0 (LWP 28797) exited]
[Thread 0x7fffedbfd6c0 (LWP 28798) exited]
[Detaching after fork from child process 28799]

Thread 1 "engrampa" received signal SIGSEGV, Segmentation fault.
0x0000555555581fbe in process_metadata_line (comm=0x555555b20350, line=0x555555a89150 "    1083 bytes,    26 lines      control") at ./src/fr-command-dpkg.c:76
#0  0x0000555555581fbe in process_metadata_line (comm=0x555555b20350, line=0x555555a89150 "    1083 bytes,    26 lines      control") at ./src/fr-command-dpkg.c:76
#1  process_data_line (line=0x555555a89150 "    1083 bytes,    26 lines      control", data="" at ./src/fr-command-dpkg.c:110
#2  0x000055555558e12a in fr_channel_data_read (channel=channel@entry=0x55555576b160) at ./src/fr-process.c:144
#3  0x000055555558fca8 in check_child (data="" at ./src/fr-process.c:857
#4  0x00007ffff715702e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff71530d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff7156317 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ffff7156930 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff7388b7d in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#9  0x000055555556b45a in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.c:357
#0  0x0000555555581fbe in process_metadata_line (comm=0x555555b20350, line=0x555555a89150 "    1083 bytes,    26 lines      control") at ./src/fr-command-dpkg.c:76
        fdata = 0x555555ac9dd0
        fields = 0x555555b082a0
        name = <optimized out>
        fdata = <optimized out>
        fields = <optimized out>
        name = <optimized out>
        __func__ = <optimized out>
        _g_boolean_var_10 = <optimized out>
#1  process_data_line (line=0x555555a89150 "    1083 bytes,    26 lines      control", data="" at ./src/fr-command-dpkg.c:110
        fdata = <optimized out>
        comm = 0x555555b20350
        fields = <optimized out>
        time_s = <optimized out>
        name = <optimized out>
        __func__ = "process_data_line"
#2  0x000055555558e12a in fr_channel_data_read (channel=channel@entry=0x55555576b160) at ./src/fr-process.c:144
        line = 0x555555a89150 "    1083 bytes,    26 lines      control"
        length = 41
        terminator_pos = 40
#3  0x000055555558fca8 in check_child (data="" at ./src/fr-process.c:857
        process = <optimized out>
        info = 0x555555aa46a0
        pid = <optimized out>
        status = 0
        continue_process = <optimized out>
        channel_error = <optimized out>
        __FUNCTION__ = "check_child"
#4  0x00007ffff715702e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff71530d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff7156317 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7  0x00007ffff7156930 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8  0x00007ffff7388b7d in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#9  0x000055555556b45a in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.c:357
        context = <optimized out>
        error = 0x0
        app = 0x5555556f37f0
        client = <optimized out>
        status = <optimized out>

Thread 11 (Thread 0x7fffeebff6c0 (LWP 28794) "pool-engrampa"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1  0x00007ffff71b1c20 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff7120143 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff718444a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff7183a41 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff6f763ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737336795440, -7221697594254877078, -120, 0, 140737313429616, 140737190555648, 7221730029462691434, 7221677729832050282}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = "" = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007ffff6ff6a5c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 5 (Thread 0x7ffff48966c0 (LWP 28788) "dconf worker"):
#0  0x00007ffff6fe9a1f in __GI___poll (fds=0x7fffe4000b90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007ffff7156277 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff7156930 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff48a29cd in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
No symbol table info available.
#4  0x00007ffff7183a41 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff6f763ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737336795440, -7221697594254877078, -120, 17, 140737488342688, 140737287643136, 7221673041152253546, 7221677729832050282}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = "" = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007ffff6ff6a5c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 4 (Thread 0x7ffff512d6c0 (LWP 28787) "gdbus"):
#0  0x00007ffff6fe9a1f in __GI___poll (fds=0x7fffe0000b90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007ffff7156277 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff7156c1f in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff73c5eaa in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4  0x00007ffff7183a41 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff6f763ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737336795440, -7221697594254877078, -120, 11, 140737488344192, 140737296650240, 7221674187371650666, 7221677729832050282}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = "" = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007ffff6ff6a5c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 3 (Thread 0x7fffed12d6c0 (LWP 28786) "gmain"):
#0  0x00007ffff6fe9a1f in __GI___poll (fds=0x55555568a9d0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007ffff7156277 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff7156930 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff7156981 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff7183a41 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff6f763ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737336795440, -7221697594254877078, -120, 0, 140737488343808, 140737162432512, 7221726963929783914, 7221677729832050282}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = "" = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007ffff6ff6a5c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 2 (Thread 0x7ffff592e6c0 (LWP 28785) "pool-spawner"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1  0x00007ffff71b1a54 in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff712016b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff71840ca in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff7183a41 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff6f763ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737336795440, -7221697594254877078, -120, 0, 140737488344000, 140737305042944, 7221675287420149354, 7221677729832050282}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = "" = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007ffff6ff6a5c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

Thread 1 (Thread 0x7ffff6222ac0 (LWP 28782) "engrampa"):
#0  0x0000555555581fbe in process_metadata_line (comm=0x555555b20350, line=0x555555a89150 "    1083 bytes,    26 lines      control") at ./src/fr-command-dpkg.c:76
        fdata = 0x555555ac9dd0
        fields = 0x555555b082a0
        name = <optimized out>
        fdata = <optimized out>
        fields = <optimized out>
        name = <optimized out>
        __func__ = <optimized out>
        _g_boolean_var_10 = <optimized out>
#1  process_data_line (line=0x555555a89150 "    1083 bytes,    26 lines      control", data="" at ./src/fr-command-dpkg.c:110
        fdata = <optimized out>
        comm = 0x555555b20350
        fields = <optimized out>
        time_s = <optimized out>
        name = <optimized out>
        __func__ = "process_data_line"
#2  0x000055555558e12a in fr_channel_data_read (channel=channel@entry=0x55555576b160) at ./src/fr-process.c:144
        line = 0x555555a89150 "    1083 bytes,    26 lines      control"
        length = 41
        terminator_pos = 40
#3  0x000055555558fca8 in check_child (data="" at ./src/fr-process.c:857
        process = <optimized out>
        info = 0x555555aa46a0
        pid = <optimized out>
        status = 0
        continue_process = <optimized out>
        channel_error = <optimized out>
        __FUNCTION__ = "check_child"
#4  0x00007ffff715702e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff71530d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff7156317 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7  0x00007ffff7156930 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8  0x00007ffff7388b7d in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#9  0x000055555556b45a in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.c:357
        context = <optimized out>
        error = 0x0
        app = 0x5555556f37f0
        client = <optimized out>
        status = <optimized out>
-------------------------------------------------


Regards,
Sergio

--- End Message ---
--- Begin Message ---
Source: engrampa
Source-Version: 1.26.1-2
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
engrampa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1060405@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated engrampa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 10 Jan 2024 21:21:07 +0100
Source: engrampa
Architecture: source
Version: 1.26.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1060405
Changes:
 engrampa (1.26.1-2) unstable; urgency=medium
 .
   * debian/patches:
     + Add 0001_fix-segfault-on-opening-deb-files.patch. Fix segfault on
       opening .deb files (due to recent changes in Debian testing/unstable).
       (Closes: #1060405).
Checksums-Sha1:
 4036f7eeeafd0938579b2705cf30ca85d2780970 2390 engrampa_1.26.1-2.dsc
 e817360f90840efffc770a7fa119bad9c14e73b5 9936 engrampa_1.26.1-2.debian.tar.xz
 2f7c74208749d337b3b02269e86554a901627b1f 17253 engrampa_1.26.1-2_source.buildinfo
Checksums-Sha256:
 7b87d7ccbaa511a6ad6e7bcba5ef03a972dafe6a7b8eea35f5d28beaa8143c0e 2390 engrampa_1.26.1-2.dsc
 f07d14fb7fab0d9176ec10d9a9e09ccdb53829b9fc96b4e4513d2def673e9fe4 9936 engrampa_1.26.1-2.debian.tar.xz
 e80f5711aecc008a3979991db26116a99b7b65201eed0918c8e8d41c5888e5c8 17253 engrampa_1.26.1-2_source.buildinfo
Files:
 01f433ff558474ea8ad8830e2d481c84 2390 x11 optional engrampa_1.26.1-2.dsc
 cac30d99bffb987f485607935b3f201e 9936 x11 optional engrampa_1.26.1-2.debian.tar.xz
 8bcf93adef7d5592c21c97518196422e 17253 x11 optional engrampa_1.26.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWfA4EVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsx2FYP/0tQQBECKAuePt6nmg2wVan5iITg
JhnA8eYqUe3xPhHgOTwSJ5cYe2XxddJkCyr9K3uTLMDO0tzKT7tCisoyT7wfYbB3
/LcOVHqo+aevQsk0oZu9dyVFzSJ68xgpQ5ulVnz7rY8dqQ1vMCHhQD15mtyJJbRZ
B1vjqfD0YFJTBjKt4Lx9XocwOfjQpcH0jnF+olYySlWlVQNAQFaFF/WkmNQ5lKST
oKEFpWeTIf/+TNVPWB4H2itqQjduLpRkmpxpy8G9wm/g+P635W9IZ9EVciRVnZdl
GQljf948MxY+eSaKJk4WOAmuyctzj8MXjQmJfXDO+pVIa5uBRKD1Evw3M1Y/G3yo
CcmQ6u1+EvEtfP5n+MqQ5vW84UbNJApilkQa6QtKRXrhRIF28+myOxVmruW06Hm/
OnvVr7zGFbFtUMp1lvTVbuwC7LvCPeX3F+Thu9WuONxGWXTghTpc80p8FqgHYUjr
ZP07sJLEsIw0jwksITjSso8bWhCz7B46E8LzHIWQZXCQa4BoF6fFcRR+evSWZpt2
nRAs78bkX7UcR5AwuAWULTJwrjlgj+37JUg12OBiAKMtXMoZXrAyai+2pMzg5SYZ
nBCG5x9atEdnufpgU19U/1oW/79fIkoymhjeC4Own4IiXiVPKTDc8sm+pBjAp9ec
KUHpfi2M0eVwRfno
=8u6t
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: