b***@mnogosearch.org
2014-02-05 02:08:12 UTC
Author: Momma
Email:
Message:
Since I could not get a core file on the current system, I used an old 32-bit Red Hat Enterprise Linux (7.0.1-45.el5) system and it generates the same core for the same reason.
-----
The line in indexer.conf which causes the core:
ServerTable mysql://database_user:***@localhost/database_database/vei_server?srvinfo=vei_srvinfo
(I changed some of the parameters for obvious reasons)
-----
Here is the debug info:
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-45.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/mydir/mnogosearch/sbin/indexer...done.
BFD: Warning: /home/mydir/mnogosearch/sbin/core.15939 is truncated: expected core file size >= 15380480, found: 15376384.
[New Thread 15939]
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libmysqlclient.so.18...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.18
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `./indexer'.
Program terminated with signal 11, Segmentation fault.
#0 UdmVarListFind (vars=0x840, name=0x80b5358 "filename") at vars.c:688
688 if (!vars->nvars) return NULL;
-----
(gdb) backtrace
#0 UdmVarListFind (vars=0x840, name=0x80b5358 "filename") at vars.c:688
#1 0x0807f60c in UdmVarListFindStr (vars=0x840, name=0x80b5358 "filename", defval=0x0) at vars.c:819
#2 0x0805cdc8 in UdmLoadServerTable (Indexer=0x0, S=0x80ee5f0, db=0x840) at sql.c:816
#3 0x0805dc9b in UdmSrvActionSQL (A=0x80f0140, S=0x80ee5f0, cmd=1, db=0x0) at sql.c:1195
#4 0x0806e68c in add_srv_table (Cfg=0xbfcf6378, ac=2, av=0xbfcf52b0) at conf.c:1051
#5 0x0807111d in UdmEnvAddLine (C=0xbfcf6378, str=0x91ebd68 "ServerTable") at conf.c:1702
#6 0x0807146d in EnvLoad (Cfg=0xbfcf6378, cname=0x80c48a0 "/home/mydir/mnogosearch/etc/indexer.conf")
at conf.c:1787
#7 0x0807166f in UdmEnvLoad (Indexer=0x80f0140, cname=0x80c48a0 "/home/mydir/mnogosearch/etc/indexer.conf",
lflags=184) at conf.c:1826
#8 0x0804b834 in UdmIndexerEnvLoad (argc=1, argv=0xbfcf7604) at main.c:503
#9 main (argc=1, argv=0xbfcf7604) at main.c:1522
-----
Reply: <http://www.mnogosearch.org/board/message.php?id=21621>
Email:
Message:
Since I could not get a core file on the current system, I used an old 32-bit Red Hat Enterprise Linux (7.0.1-45.el5) system and it generates the same core for the same reason.
-----
The line in indexer.conf which causes the core:
ServerTable mysql://database_user:***@localhost/database_database/vei_server?srvinfo=vei_srvinfo
(I changed some of the parameters for obvious reasons)
-----
Here is the debug info:
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-45.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/mydir/mnogosearch/sbin/indexer...done.
BFD: Warning: /home/mydir/mnogosearch/sbin/core.15939 is truncated: expected core file size >= 15380480, found: 15376384.
[New Thread 15939]
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libmysqlclient.so.18...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.18
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `./indexer'.
Program terminated with signal 11, Segmentation fault.
#0 UdmVarListFind (vars=0x840, name=0x80b5358 "filename") at vars.c:688
688 if (!vars->nvars) return NULL;
-----
(gdb) backtrace
#0 UdmVarListFind (vars=0x840, name=0x80b5358 "filename") at vars.c:688
#1 0x0807f60c in UdmVarListFindStr (vars=0x840, name=0x80b5358 "filename", defval=0x0) at vars.c:819
#2 0x0805cdc8 in UdmLoadServerTable (Indexer=0x0, S=0x80ee5f0, db=0x840) at sql.c:816
#3 0x0805dc9b in UdmSrvActionSQL (A=0x80f0140, S=0x80ee5f0, cmd=1, db=0x0) at sql.c:1195
#4 0x0806e68c in add_srv_table (Cfg=0xbfcf6378, ac=2, av=0xbfcf52b0) at conf.c:1051
#5 0x0807111d in UdmEnvAddLine (C=0xbfcf6378, str=0x91ebd68 "ServerTable") at conf.c:1702
#6 0x0807146d in EnvLoad (Cfg=0xbfcf6378, cname=0x80c48a0 "/home/mydir/mnogosearch/etc/indexer.conf")
at conf.c:1787
#7 0x0807166f in UdmEnvLoad (Indexer=0x80f0140, cname=0x80c48a0 "/home/mydir/mnogosearch/etc/indexer.conf",
lflags=184) at conf.c:1826
#8 0x0804b834 in UdmIndexerEnvLoad (argc=1, argv=0xbfcf7604) at main.c:503
#9 main (argc=1, argv=0xbfcf7604) at main.c:1522
-----
Reply: <http://www.mnogosearch.org/board/message.php?id=21621>