Re: [webkit-dev] [Help] WebProcess CRASHED

2021-08-20 Thread Michael Catanzaro via webkit-dev
On Fri, Aug 20 2021 at 06:30:16 PM -0600, Alemar 
 wrote:

Okay that makes sense. How do I install debuginfo for webkit though?
Looking into apt, all I can find is this:


Hi, there are distro-specific instructions here:

https://wiki.gnome.org/GettingInTouch/Bugzilla/GettingTraces/DistroSpecificInstructions

debuginfod is not going to help you because no distros use it yet. 
Fedora 35 will be the first to ship with debuginfod enabled, which will 
eliminate the need for debuginfo packages for Fedora users. It's pretty 
cool.


Michael


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] [Help] WebProcess CRASHED

2021-08-20 Thread Alemar via webkit-dev
Hello Michael!

Thanks for your prompt reply :)

Okay that makes sense. How do I install debuginfo for webkit though?
Looking into apt, all I can find is this:

apt-cache search debuginfo
debugedit - tools for handling build-ids and paths rewriting in DWARF data
libdebuginfod-common - configuration to enable the Debian debug info server
libdebuginfod-dev - libdebuginfod development libraries and header files
libdebuginfod1 - library to interact with debuginfod (development files)
debuginfod - debuginfo-related http file-server daemon

And webkit:

apt-cache search debug | grep -i webkit
python3-pyqt5.qtwebkit-dbg - Python 3 bindings for Qt5's WebKit module
(debug extensions)

Looking around in google sends me a lot of python/QT-related links to
some (old?) packages that I don't think are related:

https://www.google.com/search?q=webkit+debuginfo

Maybe I should install libdebuginfod1, libdebuginfod1-dev and
debuginfod, then try again?

Thanks again!
-Alemar

El vie, 20 ago 2021 a las 18:24, Michael Catanzaro
() escribió:
>
> On Fri, Aug 20 2021 at 11:27:17 AM -0600, Alemar
>  wrote:
> > #2  0x7fcfd172ff2b in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #3  0x7fcfd37e0622 in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #4  0x7fcfd37efef6 in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #5  0x7fcfd31529a6 in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #6  0x7fcfd315321a in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #7  0x7fcfd2c5b9fd in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #8  0x7fcfd2c5cf0f in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #9  0x7fcfd3095412 in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #10 0x7fcfd30954e6 in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #11 0x7fcfd30c00b4 in  () at
> > /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
> > #12 0x7fcfd073d025 in  () at
> > /lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
> > #13 0x7fcfd073d2a3 in  () at
> > /lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
>
> Hi, it looks like you're missing debuginfo for WebKit. When you install
> debuginfo and take the backtrace again, then you'll see function names,
> variables, and even line numbers that will point to exactly what's
> wrong. All we know from that is it crashes somewhere in WebKit, which
> could be anywhere. :)
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] [Help] WebProcess CRASHED

2021-08-20 Thread Michael Catanzaro via webkit-dev
On Fri, Aug 20 2021 at 11:27:17 AM -0600, Alemar 
 wrote:
#2  0x7fcfd172ff2b in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#3  0x7fcfd37e0622 in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#4  0x7fcfd37efef6 in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#5  0x7fcfd31529a6 in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#6  0x7fcfd315321a in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#7  0x7fcfd2c5b9fd in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#8  0x7fcfd2c5cf0f in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#9  0x7fcfd3095412 in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#10 0x7fcfd30954e6 in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#11 0x7fcfd30c00b4 in  () at 
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37

#12 0x7fcfd073d025 in  () at
/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#13 0x7fcfd073d2a3 in  () at
/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18


Hi, it looks like you're missing debuginfo for WebKit. When you install 
debuginfo and take the backtrace again, then you'll see function names, 
variables, and even line numbers that will point to exactly what's 
wrong. All we know from that is it crashes somewhere in WebKit, which 
could be anywhere. :)



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] [Help] WebProcess CRASHED

2021-08-20 Thread Alemar via webkit-dev
Hello Michael,

Sorry for the late reply, now is when I had time to run the debugging
instructions. Here's the full stack trace, I don't see any "???"
frames so I think it's all good.

Also, sorry for my lack of mailing-list-netiquette, I don't know if I
should attach a file or send it all as text instead. Since it's not
too large, I'm sending it here as text.

Thanks,
-Alemar

---

dragon@linux:~/Desktop$ coredumpctl gdb
   PID: 15209 (WebKitWebProces)
   UID: 1000 (dragon)
   GID: 1000 (dragon)
Signal: 6 (ABRT)
 Timestamp: Fri 2021-08-20 11:21:51 CST (1min 16s ago)
  Command Line: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess 12 24
Executable: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess
 Control Group: /user.slice/user-1000.slice/session-1.scope
  Unit: session-1.scope
 Slice: user-1000.slice
   Session: 1
 Owner UID: 1000 (dragon)
   Boot ID: 3233f400f3314998b83493ae2db50127
Machine ID: e539c8b1c8d94274aca718766b6876d0
  Hostname: linux
   Storage:
/var/lib/systemd/coredump/core.WebKitWebProces.1000.3233f400f3314998b83493ae2db50127.15209.162948011100.zst
   Message: Process 15209 (WebKitWebProces) of user 1000 dumped core.

Stack trace of thread 15209:
#0  0x7fcfd0f42fbb raise (libc.so.6 + 0x40fbb)
#1  0x7fcfd0f28864 abort (libc.so.6 + 0x26864)
#2  0x7fcfd172ff2b n/a (libwebkit2gtk-4.0.so.37 + 0x641f2b)
#3  0x7fcfd37e0622 n/a (libwebkit2gtk-4.0.so.37 + 0x26f2622)
#4  0x7fcfd37efef6 n/a (libwebkit2gtk-4.0.so.37 + 0x2701ef6)
#5  0x7fcfd31529a6 n/a (libwebkit2gtk-4.0.so.37 + 0x20649a6)
#6  0x7fcfd315321a n/a (libwebkit2gtk-4.0.so.37 + 0x206521a)
#7  0x7fcfd2c5b9fd n/a (libwebkit2gtk-4.0.so.37 + 0x1b6d9fd)
#8  0x7fcfd2c5cf0f n/a (libwebkit2gtk-4.0.so.37 + 0x1b6ef0f)
#9  0x7fcfd3095412 n/a (libwebkit2gtk-4.0.so.37 + 0x1fa7412)
#10 0x7fcfd30954e6 n/a (libwebkit2gtk-4.0.so.37 + 0x1fa74e6)
#11 0x7fcfd30c00b4 n/a (libwebkit2gtk-4.0.so.37 + 0x1fd20b4)
#12 0x7fcfd073d025 n/a
(libjavascriptcoregtk-4.0.so.18 + 0x1433025)
#13 0x7fcfd073d2a3 n/a
(libjavascriptcoregtk-4.0.so.18 + 0x14332a3)
#14 0x7fcfd0b197ef g_main_context_dispatch
(libglib-2.0.so.0 + 0x557ef)
#15 0x7fcfd0b6cd28 n/a (libglib-2.0.so.0 + 0xa8d28)
#16 0x7fcfd0b18e53 g_main_loop_run
(libglib-2.0.so.0 + 0x54e53)
#17 0x7fcfd073d400 _ZN3WTF7RunLoop3runEv
(libjavascriptcoregtk-4.0.so.18 + 0x1433400)
#18 0x7fcfd1e03269 n/a (libwebkit2gtk-4.0.so.37 + 0xd15269)
#19 0x7fcfd0f2a565 __libc_start_main (libc.so.6 + 0x28565)
#20 0x5632f41d670e n/a (WebKitWebProcess + 0x70e)

Stack trace of thread 15212:
#0  0x7fcfd100e22f __poll (libc.so.6 + 0x10c22f)
#1  0x7fcfd0b6ccc6 n/a (libglib-2.0.so.0 + 0xa8cc6)
#2  0x7fcfd0b18e53 g_main_loop_run
(libglib-2.0.so.0 + 0x54e53)
#3  0x7fcfd073d400 _ZN3WTF7RunLoop3runEv
(libjavascriptcoregtk-4.0.so.18 + 0x1433400)
#4  0x7fcfd06e
_ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE
(libjavascriptcoregtk-4.0.so.18 + 0x13e3ddd)
#5  0x7fcfd073f66d n/a
(libjavascriptcoregtk-4.0.so.18 + 0x143566d)
#6  0x7fcfcd04a450 start_thread (libpthread.so.0 + 0x9450)
#7  0x7fcfd1019d53 __clone (libc.so.6 + 0x117d53)

Stack trace of thread 15257:
#0  0x7fcfcd05731e
__futex_abstimed_wait_cancelable64 (libpthread.so.0 + 0x1631e)
#1  0x7fcfcd05099e
pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf99e)
#2  0x7fcfd073ff4f
_ZN3WTF15ThreadCondition9timedWaitERNS_5MutexENS_8WallTimeE
(libjavascriptcoregtk-4.0.so.18 + 0x1435f4f)
#3  0x7fcfd06e95a3
_ZN3WTF10ParkingLot21parkConditionallyImplEPKvRKNS_12ScopedLambdaIFbvEEERKNS3_IFvvEEERKNS_24TimeWithDynamicClockTypeE
(libjavascriptcoregtk-4.0.so.18 + 0x13df5a3)
#4  0x7fcfd06d5093 n/a
(libjavascriptcoregtk-4.0.so.18 + 0x13cb093)
#5  0x7fcfd06e
_ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE
(libjavascriptcoregtk-4.0.so.18 + 0x13e3ddd)
#6  0x7fcfd073f66d n/a
(libjavascriptcoregtk-4.0.so.18 + 0x143566d)
#7  0x7fcfcd04a450 start_thread (libpthread.so.0 + 0x9450)
#8  0x7fcfd1019d53 __clone (libc.so.6 + 0x117d53)

Stack trace of thread 15211:
#0  0x7fcfcd05731e
__futex_abstimed_wait_cancelable64 (libpthread.so.0 + 0x1631e)
#1  

Re: [webkit-dev] [Help] WebProcess CRASHED

2021-08-14 Thread Michael Catanzaro via webkit-dev



Hi, you need to get a backtrace with gdb. There are some instructions 
here:


https://wiki.gnome.org/GettingInTouch/Bugzilla/GettingTraces

Michael


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] [Help] WebProcess CRASHED

2021-08-14 Thread Alemar via webkit-dev
Hello list!

Currently I'm having a problem with the library when going to
www.bing.com (it seems to happen only on that site though), where the
browser process crashes. I thought it was my app, but when running it
against the MiniBrowser, it also crashes!

>From the developer tools, I'm suspecting it could be related to trying
to load (and play?) an mp3 file (start.mp3).

The current PC it's running on is a brand-new installed Ubuntu 21.04
up-to-date which seems to use the libwebkit2gtk-4.0-37 library. Such a
PC does not have any audio drivers installed, I'm basically running
off Ubuntu Server with X11, Openbox and NVIDIA drivers, nothing more,
nothing less.

I suspect it could be because it's trying to play the audio file but
it can't. However, the log does not show much:

(MiniBrowser:72279): dbind-WARNING **: 18:07:43.671: AT-SPI: Error
retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was
not provided by any .service files
(WebKitWebProcess:72294): dbind-WARNING **: 18:07:43.752: AT-SPI:
Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was
not provided by any .service files
(WebKitWebProcess:72393): dbind-WARNING **: 18:08:25.851: AT-SPI:
Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was
not provided by any .service files
(WebKitWebProcess:72420): dbind-WARNING **: 18:08:27.415: AT-SPI:
Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was
not provided by any .service files
** (MiniBrowser:72279): WARNING **: 18:08:27.499: WebProcess CRASHED

Is there any way I can try to get more debugging info for you guys to
see if I can fix the problem on my own, but also without building the
full webkit library as it's really heavy and time-consuming?

Thanks,
-Alemar
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev