FS#51547 - [chromium] v54 has segfault always, but v53 is good.

Attached to Project: Arch Linux
Opened by Eric Wang (enihcam) - Thursday, 27 October 2016, 10:46 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 03 December 2016, 08:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
v54 has segfault always, but v53 is good.

Additional info:
* package version(s)
v54.*
* config and/or log files etc.
I removed .config/chromium, but it did not resolve the issue.

Steps to reproduce:
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Saturday, 03 December 2016, 08:50 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Issue caused by LD_PRELOAD'ed library.
Comment by Jan de Groot (JGC) - Thursday, 27 October 2016, 11:33 GMT
You'll have to come up with more information, this bugreport is useless and will be closed if not more information is provided.
Comment by Eric Wang (enihcam) - Friday, 28 October 2016, 00:37 GMT
[code]
archmate kernel: chromium[4970]: segfault at 7ffd98646ff8 ip 000055f3839b8cc4 sp 00007ffd98647000 error 6 in chromium[55f382e8c000+8455000]
[/code]

this is the only info i can find.
Comment by Christian Hintze (hintze) - Friday, 04 November 2016, 14:31 GMT
I have the same problem. chromium-54.0.2840.90-1-x86_64 always segfaults, not even printing errors with "chromium --enable-logging=stderr --v=1"

On the other hand, its not v53 vs v54, its even less of a version jump. chromium-54.0.2840.71-1-x86_64 works perfectly.

I cant even figure out differences in the strace between both versions. the only difference doesnt say much (at least to me :D ) which is, in the working version:

"execve("/usr/lib/chromium/chromium", ["/usr/lib/chromium/chromium"], [/* 43 vars */]) = 0"
which continues with shitloads full of stuff (because chromium is running)

whereas in the version not working:

"execve("/usr/lib/chromium/chromium", ["/usr/lib/chromium/chromium"], [/* 43 vars */]) = -1 EFAULT (Bad address)
{si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL} ---
+++ killed by SIGSEGV +++"

and than its done.

I would like to give more information, but thats where my knowledge ends. If someone could give me a hint where to look, I could investigate further..


//EDIT: where did you get that line of error, enihcam? neither my dmesg nor my journalctl tells me anything chromium-related..
Comment by Eric Wang (enihcam) - Wednesday, 23 November 2016, 02:39 GMT
@hintze, in 'journalctl -e' after the crash.
Comment by Eric Wang (enihcam) - Saturday, 03 December 2016, 05:57 GMT
root cause found:
Chromium crashes with "LD_PRELOAD=/usr/lib/libjemalloc.so". It should be bug in jemalloc, not chromium.

solution:
1. pacman -Rcnsuv jemalloc
2. unset 'LD_PRELOAD=/usr/lib/libjemalloc.so'

Loading...