Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 167968

Summary: mysqldump > 5.0.23 segfaults when trying to dump any kind of data
Product: Gentoo Linux Reporter: Javier Barrio <coder>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: Sparc64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Javier Barrio 2007-02-22 08:31:42 UTC
After upgrading from MySQL 5.0.23 to any version newer than that one, mysqldump stopped working segfaulting always. No matter the options used, it does always segfault.

Reproducible: Always

Steps to Reproduce:
1. Install Gentoo Linux on sparc64
2. Install MySQL > 5.0.23
3. Execute mysqldump.

Actual Results:  
The mysqldump client segfaults

Expected Results:  
Just to make my dumps as always.


MySQL: 5.0.32

CFLAGS:
-O2 -mcpu=ultrasparc -mtune=ultrasparc -pipe -DHAVE_ERRNO_AS_DEFINE=1

CHOST:
sparc-unknown-linux-gnu

CXXFLAGS:
-O2 -mcpu=ultrasparc -mtune=ultrasparc -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates

USE:
berkdb perl ssl sparc lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text kernel_linux alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse linguas_ca linguas_en linguas_es userland_GNU 

GCC: 
gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9)

GLIBC: 

GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9).
Compiled on a Linux 2.6.11 system on 2006-10-01.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        The C stubs add-on version 2.1.2.
        GNU Libidn by Simon Josefsson
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        software FPU emulation by Richard Henderson, Jakub Jelinek and others
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-22 08:35:12 UTC
Eh, here's an idea - recompile mysql with *sane* C[XX]FLAGS, such as "-O2 -mcpu=ultrasparc -mtune=ultrasparc -pipe"

If you still have problems then, attach a backtrace and reopen.
http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Ferris McCormick (RETIRED) gentoo-dev 2007-05-14 22:45:42 UTC
This is Bug 157408, and it tests as fixed with mysql-5.0.40  Closing.