enthought / enthought/jigna

ProxyWebView segfaults on application exit.

Open
#93 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
39
Forks
10
PR merge metrics
No merged PRs in 30d

Description

The following testcase demonstrates the issue. The test will segfault on windows 10 pyside 1.2.2 and python 2.7.13

```python
import unittest
import faulthandler

from jigna.qt import QtCore, QtGui
from jigna.core.proxy_qwebview import ProxyQWebView

faulthandler.enable()

class TestProxyQWebview(unittest.TestCase):

def setUp(self):
self.app = QtGui.QApplication.instance() or QtGui.QApplication([])

def test_setUrl(self):
app = self.app

def create():
widget = ProxyQWebView()
widget.show()
widget.setUrl(QtCore.QUrl('https://www.enthought.com'))
print 'DONE'

QtCore.QTimer.singleShot(10, create)
QtCore.QTimer.singleShot(10000, app.quit)
print 'Start'
app.exec_()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.