otioview core dumping on latest python3.6 release


Gonzalo Garramuño
 

Ubuntu 18.04 - python 3.6

$ pip3  install PySide2
Collecting PySide2
  Using cached https://files.pythonhosted.org/packages/1d/8d/591940218c923d87f48ad92d079731a373d84dcf240eb9458e3566edbf5c/PySide2-5.13.1-5.13.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Collecting shiboken2==5.13.1 (from PySide2)
  Using cached https://files.pythonhosted.org/packages/00/cc/76b670f0efbbcdac08b5707f021bb0647c6449196857e043af7edbc521db/shiboken2-5.13.1-5.13.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Installing collected packages: shiboken2, PySide2
Successfully installed PySide2-5.13.1 shiboken2-5.13.1

$ pip3  install opentimelineio
Collecting opentimelineio
Collecting pyaaf2==1.2.0 (from opentimelineio)
Installing collected packages: pyaaf2, opentimelineio
Successfully installed opentimelineio-0.11.0 pyaaf2-1.2.0

$ strace otioview
...
mmap(0x7f8ae4951000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x478000) = 0x7f8ae4951000
mmap(0x7f8ae4997000, 5928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8ae4997000
mmap(0x7f8ae4999000, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5bb000) = 0x7f8ae4999000
close(3)                                = 0
mprotect(0x7f8ae4951000, 16384, PROT_READ) = 0
stat("/home/gga/.local/lib/python3.6/site-packages/PySide2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/gga/.local/lib/python3.6/site-packages/PySide2/QtCore.abi3.so", {st_mode=S_IFREG|0755, st_size=5550384, ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x9af76} ---

--
Gonzalo Garramuño


Gonzalo Garramuño
 

Missing last line.

El 16/10/19 a las 12:45, Gonzalo Garramuño via Lists.Aswf.Io escribió:
Ubuntu 18.04 - python 3.6

$ pip3  install PySide2
Collecting PySide2
  Using cached https://files.pythonhosted.org/packages/1d/8d/591940218c923d87f48ad92d079731a373d84dcf240eb9458e3566edbf5c/PySide2-5.13.1-5.13.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Collecting shiboken2==5.13.1 (from PySide2)
  Using cached https://files.pythonhosted.org/packages/00/cc/76b670f0efbbcdac08b5707f021bb0647c6449196857e043af7edbc521db/shiboken2-5.13.1-5.13.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Installing collected packages: shiboken2, PySide2
Successfully installed PySide2-5.13.1 shiboken2-5.13.1

$ pip3  install opentimelineio
Collecting opentimelineio
Collecting pyaaf2==1.2.0 (from opentimelineio)
Installing collected packages: pyaaf2, opentimelineio
Successfully installed opentimelineio-0.11.0 pyaaf2-1.2.0

$ strace otioview
...
mmap(0x7f8ae4951000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x478000) = 0x7f8ae4951000
mmap(0x7f8ae4997000, 5928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8ae4997000
mmap(0x7f8ae4999000, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5bb000) = 0x7f8ae4999000
close(3)                                = 0
mprotect(0x7f8ae4951000, 16384, PROT_READ) = 0
stat("/home/gga/.local/lib/python3.6/site-packages/PySide2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/gga/.local/lib/python3.6/site-packages/PySide2/QtCore.abi3.so", {st_mode=S_IFREG|0755, st_size=5550384, ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x9af76} ---
+++ killed by SIGSEGV (core dumped) +++
--
Gonzalo Garramuño


Joshua Minor
 

I don't have Ubuntu running at the moment, but I'll try to reproduce this in a VM.

---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Oct 16, 2019, at 9:00 AM, Gonzalo Garramuño <ggarra13@...> wrote:

Missing last line.

El 16/10/19 a las 12:45, Gonzalo Garramuño via Lists.Aswf.Io escribió:
Ubuntu 18.04 - python 3.6

$ pip3  install PySide2
Collecting PySide2
  Using cached https://files.pythonhosted.org/packages/1d/8d/591940218c923d87f48ad92d079731a373d84dcf240eb9458e3566edbf5c/PySide2-5.13.1-5.13.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Collecting shiboken2==5.13.1 (from PySide2)
  Using cached https://files.pythonhosted.org/packages/00/cc/76b670f0efbbcdac08b5707f021bb0647c6449196857e043af7edbc521db/shiboken2-5.13.1-5.13.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Installing collected packages: shiboken2, PySide2
Successfully installed PySide2-5.13.1 shiboken2-5.13.1

$ pip3  install opentimelineio
Collecting opentimelineio
Collecting pyaaf2==1.2.0 (from opentimelineio)
Installing collected packages: pyaaf2, opentimelineio
Successfully installed opentimelineio-0.11.0 pyaaf2-1.2.0

$ strace otioview
...
mmap(0x7f8ae4951000, 286720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x478000) = 0x7f8ae4951000
mmap(0x7f8ae4997000, 5928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8ae4997000
mmap(0x7f8ae4999000, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5bb000) = 0x7f8ae4999000
close(3)                                = 0
mprotect(0x7f8ae4951000, 16384, PROT_READ) = 0
stat("/home/gga/.local/lib/python3.6/site-packages/PySide2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/gga/.local/lib/python3.6/site-packages/PySide2/QtCore.abi3.so", {st_mode=S_IFREG|0755, st_size=5550384, ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x9af76} --- +++ killed by SIGSEGV (core dumped) +++

--
Gonzalo Garramuño






Gonzalo Garramuño
 


El 16/10/19 a las 16:16, Joshua Minor escribió:
I don't have Ubuntu running at the moment, but I'll try to reproduce this in a VM.

---

Note that 5.13.0 works just fine.

-- 
Gonzalo Garramuño


Joshua Minor
 

PySide2 5.13.0?

---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Oct 16, 2019, at 12:22 PM, Gonzalo Garramuño <ggarra13@...> wrote:


El 16/10/19 a las 16:16, Joshua Minor escribió:
I don't have Ubuntu running at the moment, but I'll try to reproduce this in a VM.

---

Note that 5.13.0 works just fine.

-- 
Gonzalo Garramuño


Joshua Minor
 

This is working fine for me on a fresh Ubuntu with python3, and PySide2 5.13.1
Can you try other PySide applications or another computer to narrow down where the problem is?


---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Oct 16, 2019, at 12:37 PM, Joshua Minor via Lists.Aswf.Io <joshm=pixar.com@...> wrote:

PySide2 5.13.0?

---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Oct 16, 2019, at 12:22 PM, Gonzalo Garramuño <ggarra13@...> wrote:


El 16/10/19 a las 16:16, Joshua Minor escribió:
I don't have Ubuntu running at the moment, but I'll try to reproduce this in a VM.

---

Note that 5.13.0 works just fine.

-- 
Gonzalo Garramuño



Gonzalo Garramuño
 


El 16/10/19 a las 16:37, Joshua Minor escribió:
PySide2 5.13.0?

Yes.
---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Oct 16, 2019, at 12:22 PM, Gonzalo Garramuño <ggarra13@...> wrote:


El 16/10/19 a las 16:16, Joshua Minor escribió:
I don't have Ubuntu running at the moment, but I'll try to reproduce this in a VM.

---

Note that 5.13.0 works just fine.

-- 
Gonzalo Garramuño

-- 
Gonzalo Garramuño


Gonzalo Garramuño
 

El 16/10/19 a las 18:35, Joshua Minor escribió:
This is working fine for me on a fresh Ubuntu with python3, and PySide2 5.13.1
Can you try other PySide applications or another computer to narrow down where the problem is?
I am not familiar with PySide.  What other applications use it?

--
Gonzalo Garramuño


Gonzalo Garramuño
 

El 16/10/19 a las 19:16, Gonzalo Garramuño via Lists.Aswf.Io escribió:

El 16/10/19 a las 18:35, Joshua Minor escribió:
This is working fine for me on a fresh Ubuntu with python3, and PySide2 5.13.1
Can you try other PySide applications or another computer to narrow down where the problem is?
I am not familiar with PySide.  What other applications use it?
I tried it with a small demo application (attached) and it dumped core.

--
Gonzalo Garramuño


Daniel Flehner Heen
 

Hi Gonzalo!

I tried your sample on my ubuntu 18.04 and it didn't crash. Do you have the core dump? Might help pointing in at what's causing the crash on your machine.

On Thu, Oct 17, 2019 at 12:48 AM Gonzalo Garramuño <ggarra13@...> wrote:

El 16/10/19 a las 19:16, Gonzalo Garramuño via Lists.Aswf.Io escribió:
>
> El 16/10/19 a las 18:35, Joshua Minor escribió:
>> This is working fine for me on a fresh Ubuntu with python3, and
>> PySide2 5.13.1
>> Can you try other PySide applications or another computer to narrow
>> down where the problem is?
>>
> I am not familiar with PySide.  What other applications use it?
>
I tried it with a small demo application (attached) and it dumped core.

--
Gonzalo Garramuño






--
-Daniel


Gonzalo Garramuño
 

El 16/10/19 a las 19:54, Daniel Flehner Heen escribió:
Hi Gonzalo!

I tried your sample on my ubuntu 18.04 and it didn't crash. Do you have the core dump? Might help pointing in at what's causing the crash on your machine.
Hi Daniel!

I have the crash report from apport here:

https://mega.nz/#!uaAw0SwQ!BOGhIEqs_doGQcwK3RVXItIePZskA8OhLJp3BR4BsqI

Let me know if you need anything else.

--
Gonzalo Garramuño


Joshua Minor
 

If that simple test app crashes, then this is not an OpenTimelineIO bug. Can you file a bug with PySide2? https://pypi.org/project/PySide2/

---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Oct 16, 2019, at 5:26 PM, Gonzalo Garramuño <ggarra13@...> wrote:


El 16/10/19 a las 19:54, Daniel Flehner Heen escribió:
Hi Gonzalo!

I tried your sample on my ubuntu 18.04 and it didn't crash. Do you have the core dump? Might help pointing in at what's causing the crash on your machine.

Hi Daniel!

I have the crash report from apport here:

https://mega.nz/#!uaAw0SwQ!BOGhIEqs_doGQcwK3RVXItIePZskA8OhLJp3BR4BsqI

Let me know if you need anything else.

--
Gonzalo Garramuño






Daniel Flehner Heen
 

As Josh said, this is most likely out of OTIO's domain, but I noticed you had Hiero and Nuke in your environment. I've had issues with the python packaged with these tools messing up my system. Try running your test in a terminal where Nuke is nowhere in the PATH, PYTHONPATH or LD_LIBRARY_PATH environment variables.

If that doesn't help I'm afraid you'll have to look into the pyside setup on your machine.

On Thu, Oct 17, 2019 at 3:02 AM Joshua Minor <joshm@...> wrote:
If that simple test app crashes, then this is not an OpenTimelineIO bug. Can you file a bug with PySide2? https://pypi.org/project/PySide2/

---
Joshua Minor (he-him)
Pixar Studio Tools Story/Editorial/VR Previs Tech Lead
joshm@...

On Oct 16, 2019, at 5:26 PM, Gonzalo Garramuño <ggarra13@...> wrote:


El 16/10/19 a las 19:54, Daniel Flehner Heen escribió:
Hi Gonzalo!

I tried your sample on my ubuntu 18.04 and it didn't crash. Do you have the core dump? Might help pointing in at what's causing the crash on your machine.

Hi Daniel!

I have the crash report from apport here:

https://mega.nz/#!uaAw0SwQ!BOGhIEqs_doGQcwK3RVXItIePZskA8OhLJp3BR4BsqI

Let me know if you need anything else.

--
Gonzalo Garramuño







--
-Daniel


Gonzalo Garramuño
 

El 17/10/19 a las 08:32, Daniel Flehner Heen escribió:
As Josh said, this is most likely out of OTIO's domain, but I noticed you had Hiero and Nuke in your environment. I've had issues with the python packaged with these tools messing up my system. Try running your test in a terminal where Nuke is nowhere in the PATH, PYTHONPATH or LD_LIBRARY_PATH environment variables.

If that doesn't help I'm afraid you'll have to look into the pyside setup on your machine.
I think you are onto something there.  My environment was pointing to Qt 5.13.0, not 5.13.1.  I am now installing the proper Qt to go with PySide.

--
Gonzalo Garramuño


Gonzalo Garramuño
 

El 17/10/19 a las 09:59, Gonzalo Garramuño via Lists.Aswf.Io escribió:

El 17/10/19 a las 08:32, Daniel Flehner Heen escribió:
As Josh said, this is most likely out of OTIO's domain, but I noticed you had Hiero and Nuke in your environment. I've had issues with the python packaged with these tools messing up my system. Try running your test in a terminal where Nuke is nowhere in the PATH, PYTHONPATH or LD_LIBRARY_PATH environment variables.

If that doesn't help I'm afraid you'll have to look into the pyside setup on your machine.
I think you are onto something there.  My environment was pointing to Qt 5.13.0, not 5.13.1.  I am now installing the proper Qt to go with PySide.
No cigar.  Now I get:

/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'

when starting a PySide2 program.

--
Gonzalo Garramuño


Daniel Flehner Heen
 

I'm afraid I don't know what more to suggest other than contacting the foundry or PySide forums. Sorry.


On Thu, Oct 17, 2019 at 3:14 PM Gonzalo Garramuño <ggarra13@...> wrote:

El 17/10/19 a las 09:59, Gonzalo Garramuño via Lists.Aswf.Io escribió:
>
> El 17/10/19 a las 08:32, Daniel Flehner Heen escribió:
>> As Josh said, this is most likely out of OTIO's domain, but I noticed
>> you had Hiero and Nuke in your environment. I've had issues with the
>> python packaged with these tools messing up my system. Try running
>> your test in a terminal where Nuke is nowhere in the PATH, PYTHONPATH
>> or LD_LIBRARY_PATH environment variables.
>>
>> If that doesn't help I'm afraid you'll have to look into the pyside
>> setup on your machine.
>>
> I think you are onto something there.  My environment was pointing to
> Qt 5.13.0, not 5.13.1.  I am now installing the proper Qt to go with
> PySide.
>
No cigar.  Now I get:

/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libsystemd.so.0' with
`/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'
/usr/bin/python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1' with
`/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'

when starting a PySide2 program.

--
Gonzalo Garramuño






--
-Daniel