[Bug 270466] net-p2p/qbittorrent: 4.5.0 hangs on exit.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Mar 2023 16:04:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270466

            Bug ID: 270466
           Summary: net-p2p/qbittorrent: 4.5.0 hangs on exit.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: khwerz@gmail.com
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org
 Attachment #241125 text/plain
         mime type:

Created attachment 241125
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241125&action=edit
qbittorrent.log

This is from pkg, not from ports. its not compiled with debugging support.


Running lldb, the application exits from its main[1](?) fine, but after it
destroys the main windows widget it seems to recall CommandLineParameters[2],
subsequently segfaulting.


[1]: callq  0xa2a4e0                  ; Application::~Application()
[2]: qbittorrent`QBtCommandLineParameters::~QBtCommandLineParameters()



Process 17038 stopped
* thread #1, name = 'qbittorrent', stop reason = instruction step over
    frame #0: 0x0000000000a3b97a qbittorrent`main + 730
qbittorrent`main:
->  0xa3b97a <+730>: callq  0xa2a4e0                  ;
Application::~Application()
    0xa3b97f <+735>: movq   %r12, %rdi
    0xa3b982 <+738>: callq  0xd17180                  ; symbol stub for:
operator delete(void*)
    0xa3b987 <+743>: movq   (%r13), %rax
(lldb)
Process 17038 stopped
* thread #1, name = 'qbittorrent', stop reason = signal SIGSEGV: invalid
address (fault address: 0x8)
    frame #0: 0x00000008018c39e1 libQt5Widgets.so.5`QWidget::~QWidget() + 817
libQt5Widgets.so.5`QWidget::~QWidget:
->  0x8018c39e1 <+817>: movq   0x8(%rax), %rdi
    0x8018c39e5 <+821>: movq   %r12, %rsi
    0x8018c39e8 <+824>: callq  0x80189c9b0               ;
QApplicationPrivate::sendSyntheticEnterLeave(QWidget*)
    0x8018c39ed <+829>: movq   0x8(%r14), %rcx
(lldb)




; pkg info -x qbittorrent
qbittorrent-4.5.0
; uname -aKU
FreeBSD 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64 1301000 1301000
; pkg -vv | grep -e url -e enabled -e priority
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly",
    enabled         : yes,
    priority        : 0,

-- 
You are receiving this mail because:
You are the assignee for the bug.