#1117148 libwebkit2gtk: Segmentation fault on ppc64

Package:
libwebkit2gtk-4.1-0
Source:
libwebkit2gtk-4.1-0
Description:
Web content engine library for GTK
Submitter:
Joao
Date:
2025-10-09 12:27:01 UTC
Severity:
normal
Tags:
#1117148#5
Date:
2025-10-03 21:56:43 UTC
From:
To:
Dear Maintainer,

Please see attached gdb log and backtrace for a segmentation fault on
the ppc64 architecture while using the Surf browser. Let me know if I
can provide any further information that might be useful.

Regards,
Joao

#1117148#10
Date:
2025-10-03 22:22:43 UTC
From:
To:
Control: tags -1 moreinfo

Any chance to try with 2.50.0-2, available in Debian sid?

Obrigado,

Berto

#1117148#17
Date:
2025-10-03 23:31:07 UTC
From:
To:
Dear Berto,

Please see attached the backtrace of version 2.50.0-2.
Please let me know if adding stdo or stde messages would be useful.

Obrigado eu,
João

#1117148#22
Date:
2025-10-06 15:26:17 UTC
From:
To:
Caro João,

I'm wondering if the WebProcess also crashed. Can you enable core
dumps (ulimit -c unlimited), then run surf again and see if there is a
core dump generated? I would be interested in the backtrace from that
one.

Also, stdout and stderr messages would be useful.

Thanks,

Berto

#1117148#27
Date:
2025-10-06 21:25:14 UTC
From:
To:
Caro Berto,

Indeed the Web Process crashed. I attach the backtrace from the core file that
was generated. It does not look so helpful. Am I missing some symbols.

I also attach stde and stdo. Version 2.48.5 was more verbose, but this is what
it is now.

Let me know if something else would be useful.

Cumprimentos,
João

#1117148#32
Date:
2025-10-06 22:18:10 UTC
From:
To:
Hmmm, is that from the Web Process? Did you run

   gdb -c core-file /usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/WebKitWebProcess

??

And do you have the libwebkit2gtk dbgsym package installed?

Berto

#1117148#37
Date:
2025-10-07 19:33:27 UTC
From:
To:
Caro Berto,

Yes, it is strange.

I presume you mean /usr/lib/powerpc64-linux-gnu/webkit2gtk-4.1/WebKitWebProcess
and I confirm the output is as I previously sent.

Yes. I also have the surf dbgsym package, and I installed the
libjavascriptcoregtk dbgsym package, but that did not make a difference.

Any other suggestion?

Cumprimentos,
João

#1117148#42
Date:
2025-10-07 19:42:28 UTC
From:
To:
Caro Berto,

What did make a difference was

gdb -c core /usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/injected-bundle/libwebkit2gtkinjectedbundle.so

Backtrace attached.

Regards,
João

#1117148#47
Date:
2025-10-08 14:46:16 UTC
From:
To:
I guess you mean ppc64 here ? (the path says x86_64-linux-gnu)

Berto

#1117148#52
Date:
2025-10-08 18:57:48 UTC
From:
To:
Hello Alberto,

Correct ;) I did mean powerpc64-linux-gnu and not x86_64-linux-gnu.

Do you have an idea of what is going on?

Cumprimentos,
João

#1117148#57
Date:
2025-10-08 21:08:43 UTC
From:
To:
This is also an UI process crash, I suppose you didn't get any other
core dump...

We're currently investigating what can be happening.

Obrigado,

Berto

#1117148#62
Date:
2025-10-09 11:30:16 UTC
From:
To:
Does the crash happen with any website, or only with some specific
ones?

Berto

#1117148#67
Date:
2025-10-09 12:18:01 UTC
From:
To:
Control: tags -1 upstream
Control: forwarded -1 https://bugs.webkit.org/show_bug.cgi?id=300442

I managed to reproduce the problem on a ppc64 machine, I filed a bug
report in the WebKit bug tracker:

https://bugs.webkit.org/show_bug.cgi?id=300442

I'll come back here when I have more news.

Berto