WebView crashes segmentation fault linux mint 17

Hi,

I’m running lunix mint 17, wxPython 3.0.0.0 and python 2.7.
When I’m running the HTML2_WebView from the python demo (demo.py) and displaying Video (youtube or dailymotion), it crashes with segfault message.It’s not always the same video or at a same time in a video (sometimes a few seconds, sometimes 15 minutes).

the version of java used:
java version “1.7.0_65”
OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

···

on a crash strace said:
access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal", F_OK) = -1 ENOENT (No such file or directory)
55459 access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-wal", F_OK) = -1 ENOENT (No such file or directory)
55459 stat("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage", {st_mode=S_IFREG|0644, st_size=3072, …}) = 0
55459 open("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 10
55459 open("/home/easypc/.local/share/webkit/databases", O_RDONLY|O_CLOEXEC) = 13
55459 unlink("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal") = 0
55413 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=191, …}) = 0
55603 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 10
55603 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 10
55603 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=191, …}) = 0
55413 — SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x20} —
55603 +++ killed by SIGSEGV +++
55561 +++ killed by SIGSEGV +++
55560 +++ killed by SIGSEGV +++
55559 +++ killed by SIGSEGV +++
55557 +++ killed by SIGSEGV +++
55501 +++ killed by SIGSEGV +++
55459 +++ killed by SIGSEGV +++
55432 +++ killed by SIGSEGV +++
55431 +++ killed by SIGSEGV +++
55429 +++ killed by SIGSEGV +++
55428 +++ killed by SIGSEGV +++
55427 +++ killed by SIGSEGV +++
55424 +++ killed by SIGSEGV +++
55423 +++ killed by SIGSEGV +++
55421 +++ killed by SIGSEGV +++
55562 +++ killed by SIGSEGV +++
55413 +++ killed by SIGSEGV +++

on an other crash, gdb said:

(demo.py:50460): GLib-CRITICAL **: Source ID 20753 was not found when attempting to remove it
[Thread 0x7fff62266700 (LWP 50541) exited]
[New Thread 0x7fff62266700 (LWP 50554)]
[New Thread 0x7fff51144700 (LWP 50555)]
[New Thread 0x7fff4f941700 (LWP 50556)]
[New Thread 0x7fff4f140700 (LWP 50557)]
[Thread 0x7fff58f30700 (LWP 50545) exited]
[Thread 0x7fff81098700 (LWP 50539) exited]
[Thread 0x7fff60a63700 (LWP 50544) exited]
[New Thread 0x7fff60a63700 (LWP 50558)]
[New Thread 0x7fff81098700 (LWP 50559)]
[New Thread 0x7fff58f30700 (LWP 50560)]
[Thread 0x7fff4f140700 (LWP 50557) exited]
[Thread 0x7fff4f941700 (LWP 50556) exited]
[Thread 0x7fff51144700 (LWP 50555) exited]
[New Thread 0x7fff51144700 (LWP 50569)]
[Thread 0x7fff51144700 (LWP 50569) exited]
[Thread 0x7fff50943700 (LWP 50548) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2792512 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2

Does anyone have an idea how to fix it or to find the root cause? Do you face the same problem on linux Mint or Ubuntu?

Regards

Stephan

Hello,

In Ubuntu I cant run html2, check my bug report here:

I have Ubuntu 14.10 64bits running its the same based of your linux mint version?

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Hangouts / / Skype: mlacunzav

···

El 29/12/14 a las 21:12, Stephane Coint-bavarot escribió:

Hi,

I'm running lunix mint 17, wxPython 3.0.0.0 and python 2.7.
When I'm running the HTML2_WebView from the python demo (demo.py) and displaying Video (youtube or dailymotion), it crashes with segfault message.It's not always the same video or at a same time in a video (sometimes a few seconds, sometimes 15 minutes).

the version of java used:
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

on a crash strace said:
access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal", F_OK) = -1 ENOENT (No such file or directory)
55459 access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-wal", F_OK) = -1 ENOENT (No such file or directory)
55459 stat("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage", {st_mode=S_IFREG|0644, st_size=3072, ...}) = 0
55459 open("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 10
55459 open("/home/easypc/.local/share/webkit/databases", O_RDONLY|O_CLOEXEC) = 13
55459 unlink("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal") = 0
55413 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=191, ...}) = 0
55603 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 10
55603 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 10
55603 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=191, ...}) = 0
55413 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x20} ---
55603 +++ killed by SIGSEGV +++
55561 +++ killed by SIGSEGV +++
55560 +++ killed by SIGSEGV +++
55559 +++ killed by SIGSEGV +++
55557 +++ killed by SIGSEGV +++
55501 +++ killed by SIGSEGV +++
55459 +++ killed by SIGSEGV +++
55432 +++ killed by SIGSEGV +++
55431 +++ killed by SIGSEGV +++
55429 +++ killed by SIGSEGV +++
55428 +++ killed by SIGSEGV +++
55427 +++ killed by SIGSEGV +++
55424 +++ killed by SIGSEGV +++
55423 +++ killed by SIGSEGV +++
55421 +++ killed by SIGSEGV +++
55562 +++ killed by SIGSEGV +++
55413 +++ killed by SIGSEGV +++

on an other crash, gdb said:

(demo.py:50460): GLib-CRITICAL **: Source ID 20753 was not found when attempting to remove it
[Thread 0x7fff62266700 (LWP 50541) exited]
[New Thread 0x7fff62266700 (LWP 50554)]
[New Thread 0x7fff51144700 (LWP 50555)]
[New Thread 0x7fff4f941700 (LWP 50556)]
[New Thread 0x7fff4f140700 (LWP 50557)]
[Thread 0x7fff58f30700 (LWP 50545) exited]
[Thread 0x7fff81098700 (LWP 50539) exited]
[Thread 0x7fff60a63700 (LWP 50544) exited]
[New Thread 0x7fff60a63700 (LWP 50558)]
[New Thread 0x7fff81098700 (LWP 50559)]
[New Thread 0x7fff58f30700 (LWP 50560)]
[Thread 0x7fff4f140700 (LWP 50557) exited]
[Thread 0x7fff4f941700 (LWP 50556) exited]
[Thread 0x7fff51144700 (LWP 50555) exited]
[New Thread 0x7fff51144700 (LWP 50569)]
[Thread 0x7fff51144700 (LWP 50569) exited]
[Thread 0x7fff50943700 (LWP 50548) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2792512 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2

Does anyone have an idea how to fix it or to find the root cause? Do you face the same problem on linux Mint or Ubuntu?

Regards

Stephan
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com <mailto:wxpython-users+unsubscribe@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

Buenos días Mario,

Thanks for your reply.
Linux mint is partially built on ubuntu so I tried the workarround suggested:
export LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.0.0
./demo.py

or LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.0.0 python ./demo.py

but it no fix my issue.
Could you try, run the demo and display a few youtube video to see if you have the same issue?

Best regards

Stephan

···

Le mardi 30 décembre 2014 14:08:50 UTC+10, Mario Lacunza a écrit :

Hello,

  In Ubuntu I cant run html2, check my bug report here:

https://bugs.launchpad.net/ubuntu/+source/wxwidgets3.0/+bug/1388847

  I have Ubuntu 14.10 64bits running its the same based of your

linux mint version?


Saludos / Best regards
Mario Lacunza
Email:: mlac...@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)
Google Hangouts / / Skype: mlacunzav

El 29/12/14 a las 21:12, Stephane Coint-bavarot escribió:

Hi,

    I'm running lunix mint 17, wxPython 3.0.0.0 and python 2.7.

    When I'm running the HTML2_WebView from the python demo

(demo.py) and displaying Video (youtube or dailymotion), it
crashes with segfault message.It’s not always the same video or
at a same time in a video (sometimes a few seconds, sometimes 15
minutes).

    the version of java used:

    java version "1.7.0_65"

    OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)

    OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)





    on a crash strace said:

    access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.        localstorage-journal",

F_OK) = -1 ENOENT (No such file or directory)

    55459

access(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage-wal”,
F_OK) = -1 ENOENT (No such file or directory)

    55459

stat(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage”,
{st_mode=S_IFREG|0644, st_size=3072, …}) = 0

    55459

open(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage-journal”,
O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 10

    55459 open("/home/easypc/.local/        share/webkit/databases",

O_RDONLY|O_CLOEXEC) = 13

    55459

unlink(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage-journal”)
= 0

    55413 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,

st_size=191, …}) = 0

    55603 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 10

    55603 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 10

    55603 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,

st_size=191, …}) = 0

    55413 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR,

si_addr=0x20} —

    55603 +++ killed by SIGSEGV +++

    55561 +++ killed by SIGSEGV +++

    55560 +++ killed by SIGSEGV +++

    55559 +++ killed by SIGSEGV +++

    55557 +++ killed by SIGSEGV +++

    55501 +++ killed by SIGSEGV +++

    55459 +++ killed by SIGSEGV +++

    55432 +++ killed by SIGSEGV +++

    55431 +++ killed by SIGSEGV +++

    55429 +++ killed by SIGSEGV +++

    55428 +++ killed by SIGSEGV +++

    55427 +++ killed by SIGSEGV +++

    55424 +++ killed by SIGSEGV +++

    55423 +++ killed by SIGSEGV +++

    55421 +++ killed by SIGSEGV +++

    55562 +++ killed by SIGSEGV +++

    55413 +++ killed by SIGSEGV +++







    on an other crash, gdb said:



    (demo.py:50460): GLib-CRITICAL **: Source ID 20753 was not found

when attempting to remove it

    [Thread 0x7fff62266700 (LWP 50541) exited]

    [New Thread 0x7fff62266700 (LWP 50554)]

    [New Thread 0x7fff51144700 (LWP 50555)]

    [New Thread 0x7fff4f941700 (LWP 50556)]

    [New Thread 0x7fff4f140700 (LWP 50557)]

    [Thread 0x7fff58f30700 (LWP 50545) exited]

    [Thread 0x7fff81098700 (LWP 50539) exited]

    [Thread 0x7fff60a63700 (LWP 50544) exited]

    [New Thread 0x7fff60a63700 (LWP 50558)]

    [New Thread 0x7fff81098700 (LWP 50559)]

    [New Thread 0x7fff58f30700 (LWP 50560)]

    [Thread 0x7fff4f140700 (LWP 50557) exited]

    [Thread 0x7fff4f941700 (LWP 50556) exited]

    [Thread 0x7fff51144700 (LWP 50555) exited]

    [New Thread 0x7fff51144700 (LWP 50569)]

    [Thread 0x7fff51144700 (LWP 50569) exited]

    [Thread 0x7fff50943700 (LWP 50548) exited]



    Program received signal SIGSEGV, Segmentation fault.

    0x00007ffff2792512 in ?? () from

/usr/lib/x86_64-linux-gnu/libcairo.so.2

    Does anyone have an idea how to fix it or to find the root

cause? Do you face the same problem on linux Mint or Ubuntu?

    Regards



    Stephan

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-user...@googlegroups.com.

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

Happy New Year Everyone,

I want to check which version of the WebKitGTK+, I’m really using because I’m really confuse:
on the WebKitGtk+ website, the latest version is 2.7.3 (dev version) and on linux mint, there is a libwebkitgtk-3.0 and a libwebkit2gtk-3.0

How could I be sure what I’m using at runtime?

Regards

Stephan

···

Le mardi 30 décembre 2014 16:38:23 UTC+10, Stephane Coint-bavarot a écrit :

Hello,

  In Ubuntu I cant run html2, check my bug report here:

https://bugs.launchpad.net/ubuntu/+source/wxwidgets3.0/+bug/1388847

  I have Ubuntu 14.10 64bits running its the same based of your

linux mint version?


Saludos / Best regards
Mario Lacunza
Email:: mlac...@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)
Google Hangouts / / Skype: mlacunzav

El 29/12/14 a las 21:12, Stephane Coint-bavarot escribió:

Hi,

    I'm running lunix mint 17, wxPython 3.0.0.0 and python 2.7.

    When I'm running the HTML2_WebView from the python demo

(demo.py) and displaying Video (youtube or dailymotion), it
crashes with segfault message.It’s not always the same video or
at a same time in a video (sometimes a few seconds, sometimes 15
minutes).

    the version of java used:

    java version "1.7.0_65"

    OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)

    OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)





    on a crash strace said:

    access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.        localstorage-journal",

F_OK) = -1 ENOENT (No such file or directory)

    55459

access(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage-wal”,
F_OK) = -1 ENOENT (No such file or directory)

    55459

stat(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage”,
{st_mode=S_IFREG|0644, st_size=3072, …}) = 0

    55459

open(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage-journal”,
O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 10

    55459 open("/home/easypc/.local/        share/webkit/databases",

O_RDONLY|O_CLOEXEC) = 13

    55459

unlink(“/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0. localstorage-journal”)
= 0

    55413 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,

st_size=191, …}) = 0

    55603 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 10

    55603 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 10

    55603 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,

st_size=191, …}) = 0

    55413 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR,

si_addr=0x20} —

    55603 +++ killed by SIGSEGV +++

    55561 +++ killed by SIGSEGV +++

    55560 +++ killed by SIGSEGV +++

    55559 +++ killed by SIGSEGV +++

    55557 +++ killed by SIGSEGV +++

    55501 +++ killed by SIGSEGV +++

    55459 +++ killed by SIGSEGV +++

    55432 +++ killed by SIGSEGV +++

    55431 +++ killed by SIGSEGV +++

    55429 +++ killed by SIGSEGV +++

    55428 +++ killed by SIGSEGV +++

    55427 +++ killed by SIGSEGV +++

    55424 +++ killed by SIGSEGV +++

    55423 +++ killed by SIGSEGV +++

    55421 +++ killed by SIGSEGV +++

    55562 +++ killed by SIGSEGV +++

    55413 +++ killed by SIGSEGV +++







    on an other crash, gdb said:



    (demo.py:50460): GLib-CRITICAL **: Source ID 20753 was not found

when attempting to remove it

    [Thread 0x7fff62266700 (LWP 50541) exited]

    [New Thread 0x7fff62266700 (LWP 50554)]

    [New Thread 0x7fff51144700 (LWP 50555)]

    [New Thread 0x7fff4f941700 (LWP 50556)]

    [New Thread 0x7fff4f140700 (LWP 50557)]

    [Thread 0x7fff58f30700 (LWP 50545) exited]

    [Thread 0x7fff81098700 (LWP 50539) exited]

    [Thread 0x7fff60a63700 (LWP 50544) exited]

    [New Thread 0x7fff60a63700 (LWP 50558)]

    [New Thread 0x7fff81098700 (LWP 50559)]

    [New Thread 0x7fff58f30700 (LWP 50560)]

    [Thread 0x7fff4f140700 (LWP 50557) exited]

    [Thread 0x7fff4f941700 (LWP 50556) exited]

    [Thread 0x7fff51144700 (LWP 50555) exited]

    [New Thread 0x7fff51144700 (LWP 50569)]

    [Thread 0x7fff51144700 (LWP 50569) exited]

    [Thread 0x7fff50943700 (LWP 50548) exited]



    Program received signal SIGSEGV, Segmentation fault.

    0x00007ffff2792512 in ?? () from

/usr/lib/x86_64-linux-gnu/libcairo.so.2

    Does anyone have an idea how to fix it or to find the root

cause? Do you face the same problem on linux Mint or Ubuntu?

    Regards



    Stephan

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-user...@googlegroups.com.

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

Buenos días Mario,

Thanks for your reply.
Linux mint is partially built on ubuntu so I tried the workarround suggested:
export LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.0.0
./demo.py

or LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.0.0 python ./demo.py

but it no fix my issue.
Could you try, run the demo and display a few youtube video to see if you have the same issue?

Best regards

Stephan

Le mardi 30 décembre 2014 14:08:50 UTC+10, Mario Lacunza a écrit :

Hello Stephane,
Happy New Year!
sorry for asking you today, I just make the test you mention and the error...Im with a Ubuntu 14.10 64bits uptodate and using all the by default packages from repos.

Due to the error present in Ubuntu and reported by me in Launchpad I just create simple wx3.sh file like a launcher for wx demo with this lines:

···

============================================
#! /bin/bash

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libwx_gtk2u_webview-3.0.so.0.1.0 python /home/mario/Descargas/Python/wxPython/wxPython-3.0.0.0/demo/demo.py

My error message is:

mario@mario-IdeaPad-S410p:~/Escritorio$ ./wx3.sh
No bp log location saved, using default.
[000:000] Cpu: 6.69.1, x4, 2600Mhz, 5869MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.69.1, x4, 2600Mhz, 5869MB
[000:000] Computer model: Not available
[000:123] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:123] No bp log location saved, using default.
[000:124] Cpu: 6.69.1, x4, 2600Mhz, 5869MB
[000:124] Computer model: Not available
[000:124] Browser XEmbed support present: 1
[000:124] Browser toolkit is Gtk2.
[000:124] Using Gtk2 toolkit
[000:101] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:101] No bp log location saved, using default.
[000:102] Cpu: 6.69.1, x4, 2600Mhz, 5869MB
[000:102] Computer model: Not available
** Message: console message: about:blank @0: Refused to display 'https://accounts.google.com/ServiceLogin?hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Fhl%3Den%26feature%3Dpassive%26app%3Ddesktop%26action_handle_signin%3Dtrue%26next%3D%252Fsignin_passive&service=youtube&passive=true&uilel=3’ in a frame because it set 'X-Frame-Options' to 'DENY'.

** Message: console message: @0: Sandbox access violation: Blocked a frame at "https://www.youtube.com" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.

** Message: console message: @0: Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://accounts.google.com". Protocols, domains, and ports must match.

** Message: console message: @0: Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://content.googleapis.com". Protocols, domains, and ports must match.

** Message: console message: @0: Sandbox access violation: Blocked a frame at "https://www.youtube.com" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.

** Message: console message: @0: Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://accounts.google.com". Protocols, domains, and ports must match.

** Message: console message: @0: Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://content.googleapis.com". Protocols, domains, and ports must match.

** Message: console message: @0: Sandbox access violation: Blocked a frame at "https://www.youtube.com" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.

** Message: console message: @0: Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://accounts.google.com". Protocols, domains, and ports must match.

** Message: console message: @0: Blocked a frame with origin "https://www.youtube.com" from accessing a frame with origin "https://content.googleapis.com". Protocols, domains, and ports must match.

./wx3.sh: línea 3: 4730 Violación de segmento (`core' generado) LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libwx_gtk2u_webview-3.0.so.0.1.0 python /home/mario/Descargas/Python/wxPython/wxPython-3.0.0.0/demo/demo.py

the same error if I pre login into my google account and then launch youtube.

In my Ubuntu I can only see libwebkit2gtk-3.0 and its version 2.4.6-1ubuntu1 hope this helps to someone to give us some help with this issue.

Anyways can you send a message in Launchpad to support the issue I already reported? (Bug #1388847 “wxPython Error: running HTML2” : Bugs : wxpython3.0 package : Ubuntu) or anyone with the same problem here? thanks!

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Hangouts / / Skype: mlacunzav

El 30/12/14 a las 01:38, Stephane Coint-bavarot escribió:

Buenos días Mario,

Thanks for your reply.
Linux mint is partially built on ubuntu so I tried the workarround suggested:
export LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.0.0
./demo.py

or LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.0.0 python ./demo.py

but it no fix my issue.
Could you try, run the demo and display a few youtube video to see if you have the same issue?

Best regards

Stephan

Le mardi 30 décembre 2014 14:08:50 UTC+10, Mario Lacunza a écrit :

    Hello,

    In Ubuntu I cant run html2, check my bug report here:

    Bug #1388847 “wxPython Error: running HTML2” : Bugs : wxpython3.0 package : Ubuntu

    I have Ubuntu 14.10 64bits running its the same based of your
    linux mint version?

    Saludos / Best regards

    Mario Lacunza
    Email::mlac...@gmail.com <javascript:>
    Personal Website::http://www.lacunza.biz/
    Hosting::http://mlv-host.com/
    Mascotas Perdidas::http://mascotas-perdidas.com/
    Google Hangouts / / Skype: mlacunzav

    El 29/12/14 a las 21:12, Stephane Coint-bavarot escribió:

    Hi,

    I'm running lunix mint 17, wxPython 3.0.0.0 and python 2.7.
    When I'm running the HTML2_WebView from the python demo (demo.py)
    and displaying Video (youtube or dailymotion), it crashes with
    segfault message.It's not always the same video or at a same time
    in a video (sometimes a few seconds, sometimes 15 minutes).

    the version of java used:
    java version "1.7.0_65"
    OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)
    OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

    on a crash strace said:
    access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal",
    F_OK) = -1 ENOENT (No such file or directory)
    55459
    access("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-wal",
    F_OK) = -1 ENOENT (No such file or directory)
    55459
    stat("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage",
    {st_mode=S_IFREG|0644, st_size=3072, ...}) = 0
    55459
    open("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal",
    O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 10
    55459 open("/home/easypc/.local/share/webkit/databases",
    O_RDONLY|O_CLOEXEC) = 13
    55459
    unlink("/home/easypc/.local/share/webkit/databases/https_www.youtube.com_0.localstorage-journal")
    = 0
    55413 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,
    st_size=191, ...}) = 0
    55603 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 10
    55603 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 10
    55603 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,
    st_size=191, ...}) = 0
    55413 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR,
    si_addr=0x20} ---
    55603 +++ killed by SIGSEGV +++
    55561 +++ killed by SIGSEGV +++
    55560 +++ killed by SIGSEGV +++
    55559 +++ killed by SIGSEGV +++
    55557 +++ killed by SIGSEGV +++
    55501 +++ killed by SIGSEGV +++
    55459 +++ killed by SIGSEGV +++
    55432 +++ killed by SIGSEGV +++
    55431 +++ killed by SIGSEGV +++
    55429 +++ killed by SIGSEGV +++
    55428 +++ killed by SIGSEGV +++
    55427 +++ killed by SIGSEGV +++
    55424 +++ killed by SIGSEGV +++
    55423 +++ killed by SIGSEGV +++
    55421 +++ killed by SIGSEGV +++
    55562 +++ killed by SIGSEGV +++
    55413 +++ killed by SIGSEGV +++

    on an other crash, gdb said:

    (demo.py:50460): GLib-CRITICAL **: Source ID 20753 was not found
    when attempting to remove it
    [Thread 0x7fff62266700 (LWP 50541) exited]
    [New Thread 0x7fff62266700 (LWP 50554)]
    [New Thread 0x7fff51144700 (LWP 50555)]
    [New Thread 0x7fff4f941700 (LWP 50556)]
    [New Thread 0x7fff4f140700 (LWP 50557)]
    [Thread 0x7fff58f30700 (LWP 50545) exited]
    [Thread 0x7fff81098700 (LWP 50539) exited]
    [Thread 0x7fff60a63700 (LWP 50544) exited]
    [New Thread 0x7fff60a63700 (LWP 50558)]
    [New Thread 0x7fff81098700 (LWP 50559)]
    [New Thread 0x7fff58f30700 (LWP 50560)]
    [Thread 0x7fff4f140700 (LWP 50557) exited]
    [Thread 0x7fff4f941700 (LWP 50556) exited]
    [Thread 0x7fff51144700 (LWP 50555) exited]
    [New Thread 0x7fff51144700 (LWP 50569)]
    [Thread 0x7fff51144700 (LWP 50569) exited]
    [Thread 0x7fff50943700 (LWP 50548) exited]

    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff2792512 in ?? () from
    /usr/lib/x86_64-linux-gnu/libcairo.so.2

    Does anyone have an idea how to fix it or to find the root cause?
    Do you face the same problem on linux Mint or Ubuntu?

    Regards

    Stephan
    -- You received this message because you are subscribed to the
    Google Groups "wxPython-users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to wxpython-user...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout&gt;\.

Hi all,
I’m still digging this issue and I’m trying the root cause of the segmentation fault.
Trying to identify if the issue came from webkitgtk, I tried on my linux mint several web browser based on webkit.

  • Midori (in his last version from midori repository): also segmentation fault on youtube video
  • Arora: no crash so far
    As it was written that Arora was based on QtWebKit, I tried to run very simple webbrowser with pyqt and so far no crash with Youtube !!! (still under my Linux mint 17)
    I’m guessing the issue could be:
  • the way I compile wxpython (especially the dependency for webview)
  • the way wxpython “interacts” with webview component
    **So to explore the first option, I have a few questions:
  • how could we know we have install all the pre-requisite package (in the right version)?
  • what are the list of these packages for Linux mint?**
    - how could I know that webkit plugin are enabled (especially flash) when I use wxpython webview component?

Regards

Stephan

···

Le samedi 3 janvier 2015 00:27:22 UTC+10, Mario Lacunza a écrit :


Saludos / Best regards
Mario Lacunza
Email:: mlac...@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)
Google Hangouts / / Skype: mlacunzav

Hello Stephane,

  Happy New Year!

  sorry for asking you today, I just make the test you mention and

the error…Im with a Ubuntu 14.10 64bits uptodate and using all
the by default packages from repos.

  Due to the error present in Ubuntu and reported by me in Launchpad

I just create simple wx3.sh file like a launcher for wx demo with
this lines:

  ============================================

  #! /bin/bash



  LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libwx_gtk2u_webview-      3.0.so.0.1.0

python
/home/mario/Descargas/Python/wxPython/wxPython-3.0.0.0/demo/demo.py

  ============================================





  My error message is:



  mario@mario-IdeaPad-S410p:~/Escritorio$ ./wx3.sh

  No bp log location saved, using default.

  [000:000] Cpu: 6.69.1, x4, 2600Mhz, 5869MB

  [000:000] Computer model: Not available

  [000:000] Browser XEmbed support present: 1

  [000:000] Browser toolkit is Gtk2.

  [000:000] Using Gtk2 toolkit

  No bp log location saved, using default.

  [000:000] Cpu: 6.69.1, x4, 2600Mhz, 5869MB

  [000:000] Computer model: Not available

  [000:123] Warning(optionsfile.cc:47): Load: Could not open file,

err=2

  [000:123] No bp log location saved, using default.

  [000:124] Cpu: 6.69.1, x4, 2600Mhz, 5869MB

  [000:124] Computer model: Not available

  [000:124] Browser XEmbed support present: 1

  [000:124] Browser toolkit is Gtk2.

  [000:124] Using Gtk2 toolkit

  [000:101] Warning(optionsfile.cc:47): Load: Could not open file,

err=2

  [000:101] No bp log location saved, using default.

  [000:102] Cpu: 6.69.1, x4, 2600Mhz, 5869MB

  [000:102] Computer model: Not available

  ** Message: console message: about:blank @0: Refused to display

'https://accounts.google.com/ServiceLogin?hl=en&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Fhl%3Den%26feature%3Dpassive%26app%3Ddesktop%26action_handle_signin%3Dtrue%26next%3D%252Fsignin_passive&service=youtube&passive=true&uilel=3
in a frame because it set ‘X-Frame-Options’ to ‘DENY’.

  ** Message: console message:  @0: Sandbox access violation:

Blocked a frame at “https://www.youtube.com” from accessing a
frame at “null”. The frame being accessed is sandboxed and lacks
the “allow-same-origin” flag.

  ** Message: console message:  @0: Blocked a frame with origin

“https://www.youtube.com” from accessing a frame with origin
“https://accounts.google.com” . Protocols, domains, and ports must
match.

  ** Message: console message:  @0: Blocked a frame with origin

“https://www.youtube.com” from accessing a frame with origin
“https://content.googleapis.com” . Protocols, domains, and ports
must match.

  ** Message: console message:  @0: Sandbox access violation:

Blocked a frame at “https://www.youtube.com” from accessing a
frame at “null”. The frame being accessed is sandboxed and lacks
the “allow-same-origin” flag.

  ** Message: console message:  @0: Blocked a frame with origin

“https://www.youtube.com” from accessing a frame with origin
“https://accounts.google.com” . Protocols, domains, and ports must
match.

  ** Message: console message:  @0: Blocked a frame with origin

“https://www.youtube.com” from accessing a frame with origin
“https://content.googleapis.com” . Protocols, domains, and ports
must match.

  ** Message: console message:  @0: Sandbox access violation:

Blocked a frame at “https://www.youtube.com” from accessing a
frame at “null”. The frame being accessed is sandboxed and lacks
the “allow-same-origin” flag.

  ** Message: console message:  @0: Blocked a frame with origin

“https://www.youtube.com” from accessing a frame with origin
“https://accounts.google.com” . Protocols, domains, and ports must
match.

  ** Message: console message:  @0: Blocked a frame with origin

“https://www.youtube.com” from accessing a frame with origin
“https://content.googleapis.com” . Protocols, domains, and ports
must match.

  ./wx3.sh: línea 3:  4730 Violación de segmento  (`core' generado)

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libwx_gtk2u_webview- 3.0.so.0.1.0
python
/home/mario/Descargas/Python/wxPython/wxPython-3.0.0.0/demo/demo.py

  the same error if I pre login into my google account and then

launch youtube.

  In my Ubuntu I can only see libwebkit2gtk-3.0 and its version

2.4.6-1ubuntu1 hope this helps to someone to give us some help
with this issue.

  Anyways can you send a message in Launchpad to support the issue I

already reported?
(https://bugs.launchpad.net/ubuntu/+source/wxwidgets3.0/+bug/1388847 )
or anyone with the same problem here? thanks!
El 30/12/14 a las 01:38, Stephane Coint-bavarot escribió:

Hello,

          In Ubuntu I cant run html2, check my bug report here:



          [https://bugs.launchpad.net/ubuntu/+source/wxwidgets3.0/+bug/1388847](https://bugs.launchpad.net/ubuntu/+source/wxwidgets3.0/+bug/1388847)



          I have Ubuntu 14.10 64bits running its the same based of

your linux mint version?


Saludos / Best regards
Mario Lacunza
Email:: mlac...@gmail.com
Personal Website:: [http://www.lacunza.biz/](http://www.lacunza.biz/)
Hosting:: [http://mlv-host.com/](http://mlv-host.com/)
Mascotas Perdidas:: [http://mascotas-perdidas.com/](http://mascotas-perdidas.com/)
Google Hangouts / / Skype: mlacunzav

El 29/12/14 a las 21:12, Stephane Coint-bavarot escribió:

Hi,

            I'm running lunix mint 17, wxPython 3.0.0.0 and python

2.7.

            When I'm running the HTML2_WebView from the python demo

(demo.py) and displaying Video (youtube or dailymotion),
it crashes with segfault message.It’s not always the
same video or at a same time in a video (sometimes a few
seconds, sometimes 15 minutes).

            the version of java used:

            java version "1.7.0_65"

            OpenJDK Runtime Environment (IcedTea 2.5.2)

(7u65-2.5.2-3~14.04)

            OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)





            on a crash strace said:

            access("/home/easypc/.local/share/webkit/databases/https_[www.youtube.com_0](http://www.youtube.com_0).localstorage-
            journal",

F_OK) = -1 ENOENT (No such file or directory)

            55459 access("/home/easypc/.local/share/webkit/databases/https_[www.youtube.com_0](http://www.youtube.com_0).localstorage-
            wal",

F_OK) = -1 ENOENT (No such file or directory)

            55459 stat("/home/easypc/.local/share/webkit/databases/https_[www.youtube.com_0](http://www.youtube.com_0).localstorage"
            ,

{st_mode=S_IFREG|0644, st_size=3072, …}) = 0

            55459 open("/home/easypc/.local/share/webkit/databases/https_[www.youtube.com_0](http://www.youtube.com_0).localstorage-
            journal",

O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 10

            55459 open("/home/easypc/.local/
            share/webkit/databases",

O_RDONLY|O_CLOEXEC) = 13

            55459 unlink("/home/easypc/.local/share/webkit/databases/https_[www.youtube.com_0](http://www.youtube.com_0).localstorage-
            journal")

= 0

            55413 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,

st_size=191, …}) = 0

            55603 open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 10

            55603 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 10

            55603 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644,

st_size=191, …}) = 0

            55413 --- SIGSEGV {si_signo=SIGSEGV,

si_code=SEGV_MAPERR, si_addr=0x20} —

            55603 +++ killed by SIGSEGV +++

            55561 +++ killed by SIGSEGV +++

            55560 +++ killed by SIGSEGV +++

            55559 +++ killed by SIGSEGV +++

            55557 +++ killed by SIGSEGV +++

            55501 +++ killed by SIGSEGV +++

            55459 +++ killed by SIGSEGV +++

            55432 +++ killed by SIGSEGV +++

            55431 +++ killed by SIGSEGV +++

            55429 +++ killed by SIGSEGV +++

            55428 +++ killed by SIGSEGV +++

            55427 +++ killed by SIGSEGV +++

            55424 +++ killed by SIGSEGV +++

            55423 +++ killed by SIGSEGV +++

            55421 +++ killed by SIGSEGV +++

            55562 +++ killed by SIGSEGV +++

            55413 +++ killed by SIGSEGV +++







            on an other crash, gdb said:



            (demo.py:50460): GLib-CRITICAL **: Source ID 20753 was

not found when attempting to remove it

            [Thread 0x7fff62266700 (LWP 50541) exited]

            [New Thread 0x7fff62266700 (LWP 50554)]

            [New Thread 0x7fff51144700 (LWP 50555)]

            [New Thread 0x7fff4f941700 (LWP 50556)]

            [New Thread 0x7fff4f140700 (LWP 50557)]

            [Thread 0x7fff58f30700 (LWP 50545) exited]

            [Thread 0x7fff81098700 (LWP 50539) exited]

            [Thread 0x7fff60a63700 (LWP 50544) exited]

            [New Thread 0x7fff60a63700 (LWP 50558)]

            [New Thread 0x7fff81098700 (LWP 50559)]

            [New Thread 0x7fff58f30700 (LWP 50560)]

            [Thread 0x7fff4f140700 (LWP 50557) exited]

            [Thread 0x7fff4f941700 (LWP 50556) exited]

            [Thread 0x7fff51144700 (LWP 50555) exited]

            [New Thread 0x7fff51144700 (LWP 50569)]

            [Thread 0x7fff51144700 (LWP 50569) exited]

            [Thread 0x7fff50943700 (LWP 50548) exited]



            Program received signal SIGSEGV, Segmentation fault.

            0x00007ffff2792512 in ?? () from

/usr/lib/x86_64-linux-gnu/libcairo.so.2

            Does anyone have an idea how to fix it or to find the

root cause? Do you face the same problem on linux Mint
or Ubuntu?

            Regards



            Stephan

          You received this message because you are subscribed to

the Google Groups “wxPython-users” group.

          To unsubscribe from this group and stop receiving emails

from it, send an email to wxpython-user...@googlegroups.com.

          For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

Buenos días Mario,

    Thanks for your reply.

    Linux mint is partially built on ubuntu so I tried the

workarround suggested:

    export

LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.0.0

    ./demo.py



    or LD_PRELOAD=/usr/local/lib/libwx_gtk2u_webview-3.0.so.0.        0.0

python ./demo.py

    but it no fix my issue.

    Could you try, run the demo and display a few youtube video to

see if you have the same issue?

    Best regards



    Stephan



    Le mardi 30 décembre 2014 14:08:50 UTC+10, Mario Lacunza a

écrit :