Still segfault at start

René Ladan rene at freebsd.org
Tue Nov 4 08:08:47 UTC 2014


On 03-11-2014 19:39, Tomek wrote:
> Hi,
>
> 2 listopada 2014 14:06 - "René Ladan" <rene at freebsd.org>::
>> On 02-11-2014 11:05, Lena at lena.kiev.ua wrote:
>>
>>> 8.4 i386, one more newer version 38.0.2125.111 from
>>> pkg.FreeBSD.org/freebsd:8:x86:32 - at start
>>> this time a window frame didn't appear, again segfault:
>>>
>>> (deleted ~/.config/chromium, ~/.cache/chromium, ~/.pki)
>>> ~ $ LD_LIBRARY_PATH=/usr/local/lib/gcc48 chrome --ssl-version-min=tls1
>>> Segmentation fault (core dumped)
>>> ~ $ gdb /usr/local/share/chromium/chrome chrome.core
>>> ...
>>> (gdb) bt
>>> #0 0x2dde2f37 in getframeaddr () from /usr/local/lib/libexecinfo.so.1
>>> #1 0x2dddeb21 in backtrace () from /usr/local/lib/libexecinfo.so.1
> The problem lies in backtrace from execinfo - in stack_trace_posix.cc line 751:
> count_ = base::saturated_cast<size_t>(backtrace(trace_, arraysize(trace_)));
>
> The solution is either comment it out and return 0 or add -fno-omit-frame-pointer
> in CFLAGS in port Makefile.
Adding -fno-omit-frame-pointer to www/chromium/Makefile gives a build
error in poudriere:
../../third_party/ffmpeg/libavcodec/x86/mpegaudiodsp.c:84:5: error:
'asm' operand has impossible constraints
     __asm__ volatile(
     ^

or did you add this flag to devel/libexecinfo/Makefile?

The other option would be to conditionally zero out the return value if
/usr/lib/libexecinfo.so does not exist.

René


More information about the freebsd-chromium mailing list