[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-10-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #22 from Rob Belics r...@belics.com ---
Another upgrade, another core dump. Unable to use chromium since I first
reported this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #20 from Lawrence Chen beas...@tardisi.com ---
Created attachment 147945
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147945action=edit
bt full

Overrode compiler to gcc47, left rpath to use /usr/local/lib/gcc47.  Compiled
with '-g -Wl,--export-dynamic'.  File size is ~2.7G.

FreeBSD 9.2-RELEASE-p12 #0: Mon Sep 15 18:46:46 UTC 2014
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-10-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #21 from Lawrence Chen beas...@tardisi.com ---
Forgot one other odd thing.  /usr/local/share/chromium/chrome installed by the
package was corrupt (file only identified it as 'data').  But, the file in the
stage directory tested as valid, so I copied that over to test.

I also tried changing rpath to /usr/local/gcc48, no difference.  Going back to
last working version

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-10-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

Lawrence Chen beas...@tardisi.com changed:

   What|Removed |Added

 CC||beas...@tardisi.com

--- Comment #19 from Lawrence Chen beas...@tardisi.com ---
Not sure if this right bug to comment on... (was going to continue on 192928,
but this might be more correct.)

The last version of chrome that worked for me was 37.0.2062.94, which was the
just before lang/gcc went from 4.7 to 4.8.  Changing rpath (using
devel/chrpath) from /usr/local/lib/gcc47 to /usr/local/lib/gcc48, allowed it to
continue working.

All the later compiles with gcc 4.8, are the silent exit kind, where its a bus
error normally.  Past experience was DEBUG resulted in different kinds of
crashes that after a while I found that when I turned it off I had a working
version of chromium for a while

Having poked at libexecinfo in the past (changed a compiler flag) to make it
work brieflydoes suggest that there's an issue related to compiler being
used.  

But, backtrace/getframeaddr failing isn't the real issue, but what happened to
result in the attempt to generate a backtrace (guessing its part of chromium's
crashreporting that its trying.)

So, since using the DEBUG option seems to create new problems possibly
obscuring the actual one...I decided to try adjusting CFLAGS and disabling the
strip on install.

in my make.conf:

.if ${.CURDIR:M*/www/chromium}
CFLAGS=-Og -fno-strict-aliasing -pipe
STRIP=  #none
MAKE_ENV+=  DONTSTRIP=yes
STRIP_CMD=  ${TRUE}
.endif

In retrospect, probably should just gone with just '-g', instead of trying out
4.8's new -Og option here.

But, here's the result of that:

Reading symbols from /usr/local/share/chromium/chrome...(no debugging symbols
found)...done.
(gdb) r
Starting program: /usr/local/share/chromium/chrome 
[New Thread 814807400 (LWP 103288)]
Xlib:  extension RANDR missing on display :0.0.
[New Thread 814b39400 (LWP 101437)]
[New Thread 814af5000 (LWP 101509)]
[New Thread 814b39800 (LWP 101512)]
[New Thread 814b39c00 (LWP 101519)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 814807400 (LWP 103288)]
0x00080614b3d0 in getframeaddr () from /usr/local/lib/libexecinfo.so.1
(gdb) where
#0  0x00080614b3d0 in getframeaddr () from /usr/local/lib/libexecinfo.so.1
#1  0x00080613ea2a in backtrace () from /usr/local/lib/libexecinfo.so.1
#2  0x00b41f68 in base::debug::StackTrace::StackTrace() ()
#3  0x0093134b in
BrowserProcessImpl::BrowserProcessImpl(base::SequencedTaskRunner*,
base::CommandLine const) ()
#4  0x0078d662 in ChromeBrowserMainParts::PreCreateThreadsImpl() ()
#5  0x0078e382 in ChromeBrowserMainParts::PreCreateThreads() ()
#6  0x02835c92 in content::BrowserMainLoop::PreCreateThreads() ()
#7  0x0283a664 in base::internal::Invoker1,
base::internal::BindStatebase::internal::RunnableAdapterint
(content::BrowserMainLoop::*)(), int (content::BrowserMainLoop*), void
(base::internal::UnretainedWrappercontent::BrowserMainLoop), int
(content::BrowserMainLoop*)::Run(base::internal::BindStateBase*) ()
#8  0x02947a2f in content::StartupTaskRunner::RunAllTasksNow() ()
#9  0x02837965 in content::BrowserMainLoop::CreateStartupTasks() ()
#10 0x0283aa94 in
content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const)
()
#11 0x028354a6 in content::BrowserMain(content::MainFunctionParams
const) ()
#12 0x00b363f2 in content::RunNamedProcessTypeMain(std::string const,
content::MainFunctionParams const, content::ContentMainDelegate*) ()
#13 0x00b364af in content::ContentMainRunnerImpl::Run() ()
#14 0x00b3554a in content::ContentMain(content::ContentMainParams
const) ()
#15 0x00494fcb in ChromeMain ()
#16 0x00494f8c in main ()

I think I'm going to try using the force gcc47 next.

FreeBSD 9.2-RELEASE-p12 #0: Mon Sep 15 18:46:46 UTC 2014
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-09-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #15 from Craig Wiesen ctyz1999+bugzi...@gmail.com ---

I ended up reverting back to gcc 4.7 to compile chromium.
chromium at least now launches and runs, still core dumps on exit though.


I took a patch found in 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189444
to allow my /etc/make.conf with overrides to DEFAULT_VERSIONS to work correctly
and not get bogus /usr/ports/lang/gcc (gcc48) depends pulled in.


--- /usr/ports/Mk/bsd.gcc.mk.orig2014-09-20 22:19:32.980350051 -0500
+++ /usr/ports/Mk/bsd.gcc.mk2014-09-20 17:02:51.695805244 -0500
@@ -148,7 +148,7 @@
 .  if ${OSVERSION}  ${_GCCVERSION_${v}_L} || ${OSVERSION} 
${_GCCVERSION_${v}_R} || !exists(/usr/bin/gcc)
 V:=${_GCCVERSION_${v}_V:S/.//}
 _GCC_PORT_DEPENDS:=gcc${V}
-.   if ${_USE_GCC} == ${GCC_DEFAULT}
+.   if ${_USE_GCC} == ${GCC_DEFAULT}   empty(DEFAULT_VERSIONS:Mgcc=*)
 _GCC_PORT:=gcc
 .   else
 _GCC_PORT:=gcc${V}






/etc/make.conf (relevant parts only)

DEFAULT_VERSIONS= apache=2.4 gcc=4.9 mysql=5.6 perl5=5.18 php=5.5 ruby=2.0
BATCH=yes
MAKE_JOBS_UNSAFE=yes
# bus error, core dumps - trying 4.7
# also attempt to shut off stack protection
.if ${.CURDIR:M*/www/chromium*}
 USE_GCC=4.7
 CC=gcc47
 CXX=g++47
 CPP=cpp47
 WITH_SSP=no
 WITH_SSP_PORTS=no
.endif



I duuno if I'd call it fixed, but maybe others can at least get chromium
running again.



(In reply to Craig Wiesen from comment #11)
 I am adding a me too.  Same thing as Rob B.
 
 I have built chromium in poudriere, and from /usr/ports on the host.
 gcc4.8 and clang 3.4.1.
 
 
 I also saw my DEBUG=on version would not run. comment #7.
 
 
 
 
  uname -a
 FreeBSD desktop.home.org 9.3-STABLE FreeBSD 9.3-STABLE #0 r271674: Tue Sep
 16 13:12:37 CDT 2014
 r...@desktop.home.org:/usr/obj/usr/src/sys/SANDYBRIDGE  amd64
 
  gcc48 -v
 Using built-in specs.
 COLLECT_GCC=gcc48
 COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc48/gcc/x86_64-portbld-freebsd9.3/4.
 8.3/lto-wrapper
 Target: x86_64-portbld-freebsd9.3
 ...
 Thread model: posix
 gcc version 4.8.3 (FreeBSD Ports Collection) 
 
  clang -v
 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
 Target: x86_64-unknown-freebsd9.3
 Thread model: posix
 Selected GCC installation: 
 
 
 Poudriere version: 3.0.17
 Host OSVERSION: 903503
 Jail OSVERSION: 903502
 
 
 === The following configuration options are available for
 chromium-37.0.2062.120_2:
  CODECS=on: Compile and enable patented codecs like H.264
  DEBUG=off: Build with debugging support
  GCONF=on: GConf configuration backend support
  PULSEAUDIO=on: PulseAudio sound server support
  TEST=off: Build and/or run tests

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-09-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #16 from mcdou...@egr.msu.edu ---
The gcc47 workaround works for me on 9.3 (chromium starts), thanks!  It emits
some gcc47 not found errors when poudriere runs so there is probably something
not clean about it, but at least it can work on 9 now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-09-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

Hasse h...@uib.no changed:

   What|Removed |Added

 CC||h...@uib.no

--- Comment #13 from Hasse h...@uib.no ---
Created attachment 147517
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147517action=edit
Program terminated with signal SIGBUS, Bus error

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-09-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #14 from Hasse h...@uib.no ---
Comment on attachment 147517
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147517
Program terminated with signal SIGBUS, Bus error

I miss chrome

FreeBSD 9.3-PRERELEASE FreeBSD 9.3-PRERELEASE #0 r268449: Wed Jul  9 11:34:16
CEST 2014 no:/usr/obj/usr/src/sys/ALFRID  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-09-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

John Marino mar...@freebsd.org changed:

   What|Removed |Added

   Assignee|freebsd-ports-bugs@FreeBSD. |chrom...@freebsd.org
   |org |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org


[Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)

2014-09-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #11 from Craig Wiesen ctyz1999+bugzi...@gmail.com ---
I am adding a me too.  Same thing as Rob B.

I have built chromium in poudriere, and from /usr/ports on the host.
gcc4.8 and clang 3.4.1.


I also saw my DEBUG=on version would not run. comment #7.




 uname -a
FreeBSD desktop.home.org 9.3-STABLE FreeBSD 9.3-STABLE #0 r271674: Tue Sep 16
13:12:37 CDT 2014 r...@desktop.home.org:/usr/obj/usr/src/sys/SANDYBRIDGE 
amd64

 gcc48 -v
Using built-in specs.
COLLECT_GCC=gcc48
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc48/gcc/x86_64-portbld-freebsd9.3/4.8.3/lto-wrapper
Target: x86_64-portbld-freebsd9.3
...
Thread model: posix
gcc version 4.8.3 (FreeBSD Ports Collection) 

 clang -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd9.3
Thread model: posix
Selected GCC installation: 


Poudriere version: 3.0.17
Host OSVERSION: 903503
Jail OSVERSION: 903502


=== The following configuration options are available for
chromium-37.0.2062.120_2:
 CODECS=on: Compile and enable patented codecs like H.264
 DEBUG=off: Build with debugging support
 GCONF=on: GConf configuration backend support
 PULSEAUDIO=on: PulseAudio sound server support
 TEST=off: Build and/or run tests

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to freebsd-chromium-unsubscr...@freebsd.org