Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13908 - vpopmail segfaults
Summary: vpopmail segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on: 13906
Blocks:
  Show dependency tree
 
Reported: 2003-01-14 07:21 UTC by Bjorn
Modified: 2003-05-09 14:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bjorn 2003-01-14 07:21:32 UTC
I am using gcc version 3.2.1 20021207, glibc version 2.3.1-r2, and use the 
mysql USE flag when emerging mysql. 

everything goes fine until i try to add a domain, running vadddomain 
domain.com password i get a seg fault or illegal instruction.

running a backtrace i get the following output.

korn files # gdb vadddomain
GNU gdb 5.3
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 "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run domain.com password
Starting program: /usr/bin/vadddomain domain.com password
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x4013574d in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0  0x4013574d in _int_malloc () from /lib/libc.so.6
#1  0x40134815 in malloc () from /lib/libc.so.6
#2  0x0804ffcc in strcpy ()
#3  0x0804fe71 in strcpy ()
#4  0x0804e6c9 in strcpy ()
#5  0x0804f76a in strcpy ()
#6  0x0804e273 in strcpy ()
#7  0x0804a173 in strcpy ()
#8  0x0804989f in strcpy ()
#9  0x400d7a0a in __libc_start_main () from /lib/libc.so.6
(gdb)


after that, im lost in debugging this.
Comment 1 Henti Smith 2003-02-10 13:45:10 UTC
Arg . sorry about that .. 
any chance the ebuild can only build the mysql stuff is mysql IS in USE settings.
I ran a standard USE in make.conf and since mysql is installed vpopmail was compiled with mysql at latest update world which broke vpomail and I had to recompile with USE="-mysql" emerge vpopmail
Comment 2 Nick Hadaway 2003-02-10 16:01:33 UTC
-r4 has been added to portage.  Please test this ebuild.
Comment 3 Bjorn 2003-03-23 22:44:17 UTC
Sorry for the massive delay in responding to this bug. it seems that everything that had MySQL support compiled in was crashing and even MySQL was crashing. the problem ended up being a glibc problem (env didnt get properly changed, there where many threads in the forum with other glibc issues similar to that).

after i had env-update && source /etc/profile , a recompile of MySQL and anything that depended on it fixed any crashes that where happening.

unless there are any other issues that need to be resolved, i would be satisfied in closing this bug.
Comment 4 Jon Portnoy (RETIRED) gentoo-dev 2003-05-09 14:18:44 UTC
Closing, then.