Bug 1893595 - [abrt] libreport-plugin-bugzilla: g_list_foreach(): reporter-bugzilla killed by SIGABRT
Summary: [abrt] libreport-plugin-bugzilla: g_list_foreach(): reporter-bugzilla killed ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: 33
Hardware: x86_64
OS: Unspecified
urgent
unspecified
Target Milestone: ---
Assignee: Matej Grabovsky
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:490f881c659d00eaf57db9e6877...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-02 03:35 UTC by Han Han
Modified: 2020-11-06 01:14 UTC (History)
8 users (show)

Fixed In Version: libreport-2.14.0-13.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-06 01:14:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (38.75 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: core_backtrace (2.43 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: cpuinfo (2.40 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: dso_list (7.62 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: environ (2.35 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: limits (1.29 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: maps (47.76 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: mountinfo (2.65 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: open_fds (725 bytes, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details
File: proc_pid_status (1.32 KB, text/plain)
2020-11-02 03:36 UTC, Han Han
no flags Details

Description Han Han 2020-11-02 03:35:55 UTC
Description of problem:
It happend when reporting a issue in abrt
Id           1f09eb5                                                                                                                                                                          
Component    PackageKit                                                                                                                                                                       
Count        2                                                                                                                                                                                
Time         2020-10-31 11:41:46                                                                                                                                                              
User id      0 (root)                                                                                                                                                                         
Reported to                                                                                                                                                                                   
ABRT Server  https://retrace.fedoraproject.org/faf/reports/bthash/7439713bfd615f7f2b1d3ba09c052a87d1d599eb WORKFLOW=workflow_FedoraCCpp 


At last a similiar bug was found in bugzilla. Then `abrt-cli report` exited with "double free or corruption (fasttop)"

Version-Release number of selected component:
libreport-plugin-bugzilla-2.14.0-12.fc33

Additional info:
reporter:       libreport-2.14.0
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-ea32427d-a98b-469c-bdb5-dff6b8836206.scope
cmdline:        reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf -F /etc/libreport/plugins/bugzilla_format.conf -A /etc/libreport/plugins/bugzilla_formatdup.conf
crash_function: g_list_foreach
executable:     /usr/bin/reporter-bugzilla
journald_cursor: s=5811faaf3cfa4f1e997096cf96a3efbb;i=16a44d;b=622f90d98334435abc5ad1334717f102;m=18d21a2643;t=5b3171e177bf3;x=f7fdc02cada8ffe
kernel:         5.9.1-300.fc33.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (4 frames)
 #5 g_list_foreach at ../glib/glist.c:1090
 #6 g_list_free_full at ../glib/glist.c:244
 #7 free_bug_info at rhbz.c:65
 #9 rhbz_find_origin_bug_closed_duplicate at rhbz.c:716

Comment 1 Han Han 2020-11-02 03:36:01 UTC
Created attachment 1725665 [details]
File: backtrace

Comment 2 Han Han 2020-11-02 03:36:04 UTC
Created attachment 1725666 [details]
File: core_backtrace

Comment 3 Han Han 2020-11-02 03:36:05 UTC
Created attachment 1725667 [details]
File: cpuinfo

Comment 4 Han Han 2020-11-02 03:36:08 UTC
Created attachment 1725668 [details]
File: dso_list

Comment 5 Han Han 2020-11-02 03:36:09 UTC
Created attachment 1725669 [details]
File: environ

Comment 6 Han Han 2020-11-02 03:36:11 UTC
Created attachment 1725670 [details]
File: limits

Comment 7 Han Han 2020-11-02 03:36:14 UTC
Created attachment 1725671 [details]
File: maps

Comment 8 Han Han 2020-11-02 03:36:16 UTC
Created attachment 1725672 [details]
File: mountinfo

Comment 9 Han Han 2020-11-02 03:36:18 UTC
Created attachment 1725673 [details]
File: open_fds

Comment 10 Han Han 2020-11-02 03:36:20 UTC
Created attachment 1725674 [details]
File: proc_pid_status

Comment 11 Chris Murphy 2020-11-02 06:20:24 UTC
Similar problem has been detected:

Crash while reporting another bug.

reporter:       libreport-2.14.0
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-f23d867e-5167-4f32-910d-4d7c3bf6d9c2.scope
cmdline:        reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf -F /etc/libreport/plugins/bugzilla_format.conf -A /etc/libreport/plugins/bugzilla_formatdup.conf
crash_function: g_list_foreach
executable:     /usr/bin/reporter-bugzilla
journald_cursor: s=2e6f3caebb8e42c1915d8583f8cc87b1;i=2be4;b=2b09f6d60ea54b2fb5bccc57bc374ed6;m=8d122266e;t=5b319af872125;x=4f927d89e0c05579
kernel:         5.9.2-300.fc33.x86_64
package:        libreport-plugin-bugzilla-2.14.0-12.fc33
reason:         reporter-bugzilla killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            0

Comment 12 Chris Murphy 2020-11-02 06:30:44 UTC
 coredumpctl gdb 32931
           PID: 32931 (reporter-bugzil)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Sun 2020-11-01 23:16:23 MST (12min ago)
  Command Line: reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf -F /etc/libreport/plugins/bugzilla_format.conf -A /etc/libreport/plugins/bugzilla_formatdup.conf
    Executable: /usr/bin/reporter-bugzilla
 Control Group: /user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-f23d867e-5167-4f32-910d-4d7c3bf6d9c2.scope
          Unit: user
     User Unit: vte-spawn-f23d867e-5167-4f32-910d-4d7c3bf6d9c2.scope
         Slice: user-1000.slice
     Owner UID: 1000 (chris)
       Boot ID: 2b09f6d60ea54b2fb5bccc57bc374ed6
    Machine ID: ce3f1eade82d42bd891a8c15714b13cf
      Hostname: flap.local
       Storage: /var/lib/systemd/coredump/core.reporter-bugzil.0.2b09f6d60ea54b2fb5bccc57bc374ed6.32931.1604297783000000.zst
       Message: Process 32931 (reporter-bugzil) of user 0 dumped core.
                
                Stack trace of thread 32931:
                #0  0x00007f1989e29bc5 raise (libc.so.6 + 0x3dbc5)
                #1  0x00007f1989e128a4 abort (libc.so.6 + 0x268a4)
                #2  0x00007f1989e6c127 __libc_message (libc.so.6 + 0x80127)
                #3  0x00007f1989e73e1c malloc_printerr (libc.so.6 + 0x87e1c)
                #4  0x00007f1989e75343 _int_free (libc.so.6 + 0x89343)
                #5  0x00007f198a0176e8 g_list_foreach (libglib-2.0.so.0 + 0x426e8)
                #6  0x00007f198a021eab g_list_free_full (libglib-2.0.so.0 + 0x4ceab)
                #7  0x000055952cc283f0 main (reporter-bugzilla + 0x63f0)
                #8  0x00007f1989e141a2 __libc_start_main (libc.so.6 + 0x281a2)
                #9  0x000055952cc28c8e _start (reporter-bugzilla + 0x6c8e)

GNU gdb (GDB) Fedora 9.2-7.fc33
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/reporter-bugzilla...
Reading symbols from .gnu_debugdata for /usr/bin/reporter-bugzilla...
(No debugging symbols found in .gnu_debugdata for /usr/bin/reporter-bugzilla)

warning: core file may not match specified executable file.
[New LWP 32931]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf -F /etc/libreport/'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f1989e29bc5 in raise () from /lib64/libc.so.6
(gdb) thread apply all bt full

Thread 1 (Thread 0x7f19881be4c0 (LWP 32931)):
#0  0x00007f1989e29bc5 in raise () at /lib64/libc.so.6
#1  0x00007f1989e128a4 in abort () at /lib64/libc.so.6
#2  0x00007f1989e6c127 in __libc_message () at /lib64/libc.so.6
#3  0x00007f1989e73e1c in annobin_top_check.start () at /lib64/libc.so.6
#4  0x00007f1989e75343 in _int_free () at /lib64/libc.so.6
#5  0x00007f198a0176e8 in g_list_foreach () at /lib64/libglib-2.0.so.0
#6  0x00007f198a021eab in g_list_free_full () at /lib64/libglib-2.0.so.0
#7  0x000055952cc283f0 in main ()
(gdb) quit

Comment 13 Han Han 2020-11-02 10:07:08 UTC
The double free might happen at using parent bug:
# abrt-cli report 1f09eb5
...
Generating backtrace
Backtrace is generated and saved, 33868 bytes
Looking for similar problems in bugzilla
Duplicate bugzilla bug '#1883035' was found
Searching for updates
No updates for this package found

No changes were detected in the report
Logging into Bugzilla at https://bugzilla.redhat.com
Checking for duplicates
Bug is already reported: 1888514
Bug 1888514 is a duplicate, using parent bug 1883035
Bug 1883035 is a duplicate, using parent bug 1836304
double free or corruption (fasttop)
('report_Bugzilla' was killed by signal 6)

Comment 14 Matej Grabovsky 2020-11-02 10:49:39 UTC
A fix has been proposed upstream: https://github.com/abrt/libreport/pull/680

Comment 15 Fedora Update System 2020-11-03 16:17:45 UTC
FEDORA-2020-7a08d1da2f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7a08d1da2f

Comment 16 Fedora Update System 2020-11-04 03:01:49 UTC
FEDORA-2020-7a08d1da2f has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7a08d1da2f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7a08d1da2f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-11-06 01:14:53 UTC
FEDORA-2020-7a08d1da2f has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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