FS#29309 - [chromium] Segmentation faults when typing into Omnibox if Chromium is built with GCC 4.7
Attached to Project:
Arch Linux
Opened by Dan Liew (delcypher) - Friday, 06 April 2012, 13:20 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 09 May 2012, 10:02 GMT
Opened by Dan Liew (delcypher) - Friday, 06 April 2012, 13:20 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 09 May 2012, 10:02 GMT
|
Details
Description:
Using the the "omnibox" for search (during typing) sometimes causes a segfault. Additional info: * 18.0.1025.151 Steps to reproduce: 1. Start chromium 2. Keep using the search box by typing items in and searching. It eventually crashes. It can be along time before it crashes. I ran a backtrace in gdb and the crash appears to happen in the "Chrome_HistoryT" thread. As my package has no debug symbols I cannot provide a useful backtrace. I tried to build chromium from the PKGBUILD (by downloading from http://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/chromium) and patches so that I could build without stripping the debugging symbols. I guessed that I should change the following the PKGBUILD "make chrome chrome_sandbox BUILDTYPE=Release" to "make chrome chrome_sandbox" and "-Dlinux_strip_binary=1" to "-Dlinux_strip_binary=0" however various issues arose when building ($ makepkg -s ). 1. The checksum fails on some of the patches (I got around this by using makepkg --skipchecksums). 2. The build fails. I'm not familiar at all with gyp but when trying to run some the commands in build() manually I get errors like this. File "build/gyp_chromium", line 55 except SyntaxError, e: ^ If someone can instruct me how to build the Chromium pkg with debug symbols I'll be happy to provide a useful backtrace. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 09 May 2012, 10:02 GMT
Reason for closing: Fixed
Additional comments about closing: Hopefully fixed for good in chromium 18.0.1025.168-2.
Wednesday, 09 May 2012, 10:02 GMT
Reason for closing: Fixed
Additional comments about closing: Hopefully fixed for good in chromium 18.0.1025.168-2.
Uploaded here (if you want to give it a try):
http://pkgbuild.com/~foutrelis/chromium-18.0.1025.151-1.debug-x86_64.pkg.tar.xz
[0406/210559:FATAL:browser_child_process_host_impl.cc(212)] Check failed: data_.handle != base::kNullProcessHandle.
but the one that occurs frequently when using the omnibox is
[0406/204441:FATAL:autocomplete_match.cc(202)] Check failed: i->offset > last_offset. Classification unsorted
See the attached chromium-debug.txt file.
@ Evangelos Foutras
Is there a way to disable the in built "Debugger" in this build of chromium so that SIGTRAP isn't thrown ( "(gdb) handle SIGTRAP nostop" doesn't help)? Preferably would it be possible to build a release version of chromium but with Debugging symbols?
(gdb) run
in chromium-debug.txt . I made a mistake when selectively taking parts out of the gdb log.
I have included the changes referred to from that issue page in the 18.0.1025.151-2 packages located here:
http://pkgbuild.com/~foutrelis/chromium-test-packages/ (Update: I have since removed the 18.0.1025.151-2 packages from here since they still crash.)
Are the crashes solved in these?
I replied to the upstream bug report [1] opened by another Arch user and will continue researching the issue.
[1] http://code.google.com/p/chromium/issues/detail?id=122525
Arch 32 bits
Chromium 18.0.1025.151.
I reproduced the SEGFAULT again obtaining a useful backtrace this time. I've uploaded it upstream ( http://code.google.com/p/chromium/issues/detail?id=122525#c3 ).
@ Evangelos Foutras
Perhaps the Chromium package in the repositories could be downgraded back to 18.0.1025.142 for now until the issue is fixed upstream?
Can you guys test the 18.0.1025.151-3 packages uploaded to http://pkgbuild.com/~foutrelis/chromium-test-packages/?
They are also built with GCC 4.6.
A couple of extra confirmations, especially for i686, would be nice as well.
Not always, but again and again. A letter in the omnibar is enough.
Also with the new version.
Same with version 19.0.1084.15-1.
I can still make Chromium/Chrome smaller then, but i can see the search results.. To be seen as in the picture here: http://wstaw.org/m/2012/03/22/Bildschirmfoto5.jpeg
It began with Chromium/Chrome 17.
I had startet chromium in console, and as chromium freezes, there a not a message about the this.
I must kill chromium then by htop or the KDE-Systemmonitor.
You could try the suggestion posted in the forums [1] [2] to remove libcanberra-pulse if you have it installed. Other than that, I'm not sure.
[1] https://bbs.archlinux.org/viewtopic.php?id=138285
[2] https://bbs.archlinux.org/viewtopic.php?id=136716
@Sven-Hendrik Haase: Got a link?
[0] http://code.google.com/p/chromium/issues/detail?id=107675
[10363.285049] chromium[16400]: segfault at 0 ip b4a54053 sp bfe6dd60 error 4 in chromium[b3219000+456a000]
[10823.869082] Chrome_HistoryT[17009]: segfault at 0 ip b4895683 sp a8cc5d90 error 4 in chromium[b3242000+456a000]
haven't reappeared? The packages are once again built with GCC 4.7, but contain a
patch to the embedded SQLite library.
[1] http://dev.archlinux.org/~foutrelis/test-pkgs/
Pushed to [extra]. :)