RE: segmentation fault
"Ramon Tarruella" <[email protected]> Sun, 28 Sep 2003 04:22:24 -0400
| Newsgroups | gmane.network.net-policy.user |
|---|---|
| Message-ID | <[email protected]> |
Wes here are both results:
[root@ramon root]# gdb np-distd core
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-gnu"...
/root/core: No existe el fichero o el directorio.
(gdb) where
No stack.
[root@ramon root]# gdb np-distd
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-gnu"...
(gdb) r -u root -p administrador -s 0
Starting program: /usr/local/sbin/np-distd -u root -p administrador -s 0
[New Thread 1078328224 (LWP 4616)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1078328224 (LWP 4616)]
0x4020f206 in getNode (oidlen=11, oid=0xbfffe3a0) at smi.c:140
140 for(nodePtr = smiHandle->rootNodePtr, i=0; i < oidlen; i++) {
(gdb) where
#0 0x4020f206 in getNode (oidlen=11, oid=0xbfffe3a0) at smi.c:140
#1 0x40210178 in smiGetNodeByOID (oidlen=11, oid=0xbfffe3a0) at smi.c:953
#2 0x080c86c6 in OID::toDisplayString(oid_display_types) const ()
#3 0x080c902d in OID::operator std::string() const ()
#4 0x080d84e4 in VarBind::operator std::string() const ()
#5 0x080ed462 in PersistentVarBind::operator std::string() const ()
#6 0x080c0d4b in operator<<(std::ostream&, asnDataType const&) ()
#7 0x080a1225 in snmpEngine::snmpEngine() ()
#8 0x0808c631 in snmpCGArch::init(snmpFIFOObj*&, snmpFIFOObj*&) ()
#9 0x08083e3a in CG::CG() ()
#10 0x08069c0d in __static_initialization_and_destruction_0(int, int) ()
#11 0x0806bd07 in _GLOBAL__I_Debug ()
#12 0x08157c4d in __do_global_ctors_aux ()
#13 0x080516f9 in _init ()
#14 0x08157bda in __libc_csu_init ()
#15 0x42015539 in __libc_start_main () from /lib/tls/libc.so.6
I also have to tell you that when I check status of net-policy, I received a
message something like(i'am translating it from spanish): np-distd inactive
but subsystem bloked
And also have to tell you that i'am using latest cvs, I remember lindy sent
an email saying you(the developers) was making some big changes to the
net-policy database, don't know if that big changes affets me considering
i'am using same db didn't initialize it again(don't know how to do it and if
that was necesary)
That's all inforamtion I have regarding this problem, hope it works to you
to find out what's happening.
Also Couldn't install net-policy rpm, too many dependencies on perl
modules(please check the email I sent you and all the users regarding on
that) and fail anyway installing them also :-(
Wait for your answer,
Thanks
Ramon
-----Mensaje original-----
De: net-policy-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:net-policy-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]En nombre de Wes
Hardaker
Enviado el: domingo, 28 de septiembre de 2003 01:10a
Para: net-policy-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Asunto: Re: segmentation fault
>>>>> On Sat, 27 Sep 2003 03:02:41 -0400, "Ramon Tarruella"
<[email protected]> said:
Ramon> Hi, I'am receiving the error message "segmentation fault" after
Ramon> running np-distd -u root -p administrador -s 0 after I
Ramon> configure the first example from the tutorial file
Ramon> http://net-policy.sourceforge.net/tutorial/tutorial-cvs.html
Ramon> What can I do to fix this?
Ok, can you see if you have a core file for it? If so, run "gdb
np-distd core" and when the gdb> prompt comes up, type "where" and
submit the results to us.
If you don't have a core file, can you restart everything but run
np-distd using "gdb np-distd" and then when the gdb> prompt comes up
say "r -u root -p administrador -s 0". It should, I would assume,
crash as well and when it does the gdb> prompt will return and you can
type "where" and send us the results.
--
Wes Hardaker
Sparta
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-policy-users mailing list
Net-policy-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/net-policy-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf