[Python-apps-team] Bug#831860: python{, 3}-sip shouldn't provide more than one sip api

Adrian Bunk bunk at debian.org
Thu May 18 15:56:39 UTC 2017


Control: reassign -1 src:sip4 4.18.1+dfsg-1
Control: retitle -1 python{,3}-sip shouldn't provide more than one sip api
Control: affects -1 python-sip python3-sip

On Thu, Feb 16, 2017 at 02:36:19PM +0100, di dit wrote:
> Rebuilding veusz fixes this bug.
>...

Thanks a lot for your bug report, and also for this
additional information.

The trigger is the python-qt4 upgrade.

Backtrace:
#0  0x0000000000000000 in ?? ()
#1  0x00007fcb47dce997 in sip_api_get_cpp_ptr (sw=sw at entry=0x7fcb3d763410, 
    td=0x7fcb4662ed00) at siplib.c:8571
#2  0x00007fcb47dcfe38 in sip_api_convert_to_type (
    pyObj=pyObj at entry=<RecordPaintDevice at remote 0x7fcb3d763410>, 
    td=<optimized out>, transferObj=0x0, flags=<optimized out>, statep=0x0, 
    iserrp=iserrp at entry=0x7ffe94602bf4) at siplib.c:8756
#3  0x00007fcb47dd3055 in parsePass2 (self=0x0, selfarg=0, 
    sipArgs=sipArgs at entry=(<RecordPaintDevice at remote 0x7fcb3d763410>,), 
    sipKwdArgs=sipKwdArgs at entry=0x0, kwdlist=kwdlist at entry=0x0, 
    fmt=0x7fcb46264f2c "", fmt at entry=0x7fcb46264f2a "J8", va=<optimized out>)
    at siplib.c:5458
#4  0x00007fcb47dd3bd3 in parseKwdArgs (parseErrp=0x7ffe94602e60, 
    sipArgs=(<RecordPaintDevice at remote 0x7fcb3d763410>,), sipKwdArgs=0x0, 
    kwdlist=0x0, unused=unused at entry=0x0, fmt=0x7fcb46264f2a "J8", 
    va_orig=0x7ffe94602cf0) at siplib.c:3467
#5  0x00007fcb47dd3da1 in sip_api_parse_kwd_args (parseErrp=<optimized out>, 
    sipArgs=<optimized out>, sipKwdArgs=<optimized out>, 
    kwdlist=<optimized out>, unused=0x0, fmt=<optimized out>) at siplib.c:3387
#6  0x00007fcb4600a60e in ?? ()
   from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.x86_64-linux-gnu.so
#7  0x00007fcb47dcf7c3 in sipSimpleWrapper_init (
    self=self at entry=0x7fcb3d763488, 
    args=(<RecordPaintDevice at remote 0x7fcb3d763410>,), kwds=0x0)
    at siplib.c:9861
#8  0x000055d247e8d675 in wrap_init.lto_priv.1153 (kwds=<optimized out>, 
    wrapped=0x7fcb47dcf4f0 <sipSimpleWrapper_init>, args=<optimized out>, 
    self=<Painter at remote 0x7fcb3d763488>) at ../Objects/typeobject.c:4862
#9  wrapper_call.lto_priv () at ../Objects/descrobject.c:1035
#10 0x000055d247e03673 in PyObject_Call () at ../Objects/abstract.c:2547
...


After a rebuild python-qt4 now uses sip-api-11.3, but veusz-helpers 
still uses sip-api-11.1

To enforce that this problem can't happen again or during upgrades, 
python-sip and python3-sip shouldn't provide more than one sip api.

This bug is to track that this gets fixed in python{,3}-sip for stretch.

I'll also submit a binNMU request to get veusz and the other affected 
package in stretch rebuilt with sip-api-11.3

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Python-apps-team mailing list