nss-mysql-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nss-mysql-users] rpm segfaults


From: Jeremy Hansen
Subject: Re: [Nss-mysql-users] rpm segfaults
Date: Fri, 27 Jun 2003 11:13:26 -0700 (PDT)

On Fri, 27 Jun 2003, Guillaume Morin wrote:

> Dans un message du 27 jun à 10:48, Jeremy Hansen écrivait :
> > Here is the debug output from trying to install an rpm:
> > 
> > Jun 27 10:53:07 distro nss-mysql[9703]: passwd.c: handle_query called for 
> > name root, uid 0, bulk 0
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_read_conf_file: called 
> > for section users
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_read_conf_file ended 
> > for section users
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_set_fork_handler: 
> > called
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_set_fork_handler: 
> > setting the fork handler
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_set_fork_handler: 
> > setting the atexit handler
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_set_fork_handler: 
> > finished
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_check_connection called
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_check_connection: 
> > Initiating a new connection
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_db_connect: called
> > Jun 27 10:53:07 distro nss-mysql[9703]: _nss_mysql_db_connect: calling 
> > mysql_init(NULL)
> 
> Hmm could you try to see if you can get a backtrace now ? It looks like
> it dies in mysql_init. Usually it means there is a symbols mixup.... Is
> the mysql client lib for RH 7.3 ?

Ok, just do the same thing I did before?

distro:/var/log# gdb rpm
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols 
found)...
(gdb) 

(gdb) run -ivh --nodeps 
/distro/redhat/7.3/en/i386/RedHat/RPMS/qt-3.0.5-7.14.i386.rpm 
Starting program: /bin/rpm -ivh --nodeps 
/distro/redhat/7.3/en/i386/RedHat/RPMS/qt-3.0.5-7.14.i386.rpm
warning: shared library handler failed to enable breakpoint
Preparing...                ########################################### 
[100%]

Program received signal SIGSEGV, Segmentation fault.
0x402d491a in ?? ()

(gdb) bt
#0  0x402d491a in ?? ()
#1  0x402d52a6 in ?? ()
#2  0x42112308 in ?? ()
#3  0x402da4b3 in ?? ()
#4  0x421128e1 in ?? ()
#5  0x42113611 in ?? ()
#6  0x402da4b3 in ?? ()
#7  0x421134bc in ?? ()
#8  0x420f52c7 in ?? ()
#9  0x420f5b96 in ?? ()
#10 0x420f6a5f in ?? ()
#11 0x420fa181 in ?? ()
#12 0x420f9f7f in ?? ()
#13 0x400fe7a6 in ?? ()
#14 0x400fe69d in ?? ()
#15 0x400f9eed in ?? ()
#16 0x400fa30a in ?? ()
#17 0x400faf4f in ?? ()
#18 0x400fb46f in ?? ()
#19 0x0815a4c5 in ?? ()
#20 0x0815a097 in ?? ()
#21 0x08067847 in ?? ()
#22 0x080667a0 in ?? ()
#23 0x080676f6 in ?? ()
#24 0x08077ff4 in ?? ()
#25 0x0806cb32 in ?? ()
#26 0x080498dc in ?? ()
#27 0x08132f82 in ?? ()

The MySQL libs on this machine were compiled from a source rpm.

-jeremy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]