Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 May 2020 17:15:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246313] database/py-mysqlclient sigabort with a "GC object already tracked" message
Message-ID:  <bug-246313-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246313

            Bug ID: 246313
           Summary: database/py-mysqlclient sigabort with a "GC object
                    already tracked" message
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jeroen.pulles@gmail.com

Hi,

The new patch from ports r529330 causes a sigabort in python.=20

My impression is that this happens only with a fetchmany() on a streaming
cursor, MySQLdb.cursors.SSCursor.=20

Without the patch the aborts don't occur.=20

And i'm running a single threaded application.=20

Here's a snippet from ktrace output:=20

 7850 python3.7 RET   recvfrom 2572/0xa0c
  7850 python3.7 CALL  write(0x2,0x8002c4a6c,0x14)
  7850 python3.7 GIO   fd 2 wrote 20 bytes
       "Fatal Python error: "
  7850 python3.7 RET   write 20/0x14
  7850 python3.7 CALL  write(0x2,0x8002c0bfc,0x19)
  7850 python3.7 GIO   fd 2 wrote 25 bytes
       "GC object already tracked"
  7850 python3.7 RET   write 25/0x19
  7850 python3.7 CALL  write(0x2,0x8007c0a97,0x1)
  7850 python3.7 GIO   fd 2 wrote 1 byte
       "
       "
  7850 python3.7 RET   write 1
  7850 python3.7 CALL  write(0x2,0x8007c0a97,0x1)
  7850 python3.7 GIO   fd 2 wrote 1 byte
       "
       "
  7850 python3.7 RET   write 1
  7850 python3.7 CALL  write(0x2,0x8002c4af3,0x11)
  7850 python3.7 GIO   fd 2 wrote 17 bytes
       "Current thread 0x"
  7850 python3.7 RET   write 17/0x11
  7850 python3.7 CALL  write(0x2,0x7fffdfff5600,0x10)
  7850 python3.7 GIO   fd 2 wrote 16 bytes
       "00000008072ebf00"
  7850 python3.7 RET   write 16/0x10
  7850 python3.7 CALL  write(0x2,0x8002bf3ad,0x1b)
  7850 python3.7 GIO   fd 2 wrote 27 bytes
       " (most recent call first):
       "

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246313-7788>