MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: 5.2.18 segfault when starting
Posted by: Glenn Sommer
Date: April 19, 2010 07:27AM

Trying to configure with "CC=gcc CXX=gcc ./configure --disable-assembler" failes to detect OpenGL. (It tries to compile with gcc, where g++ is needed).

Changed to CC=gcc ./configure --disable-assembler --prefix=/usr/local/mysql-workbench.
But sadly, still segfaults when trying to start :(

An strace shows this:

futex(0x7fff338345cc, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x7f1e3f0e7610, [], SA_RESTORER|SA_SIGINFO, 0x7f1e3f0f0d30}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f1e3f0e76a0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f1e3f0f0d30}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
futex(0x7f1e3e827a88, FUTEX_WAKE_PRIVATE, 2147483647) = 0
brk(0) = 0x1d49000
brk(0x1d6a000) = 0x1d6a000
mlock(0x1d4dfd0, 4096) = 0
sched_getparam(17973, { 0 }) = 0
sched_getscheduler(17973) = 0 (SCHED_OTHER)
clock_getres(CLOCK_MONOTONIC, {0, 1}) = 0
sched_get_priority_min(SCHED_OTHER) = 0
sched_get_priority_max(SCHED_OTHER) = 0
sched_get_priority_max(SCHED_OTHER) = 0
open("/usr/lib64/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e48024000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f1e48024000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Options: ReplyQuote


Subject
Views
Written By
Posted
2722
April 15, 2010 01:21AM
1864
April 15, 2010 01:25AM
1756
April 16, 2010 12:47PM
Re: 5.2.18 segfault when starting
2647
April 19, 2010 07:27AM
1614
April 23, 2010 05:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.