linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06096
[Bug 983963] Re: 2.8.0 crashes on +reload
** Changed in: adchpp
Status: New => Fix Committed
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/983963
Title:
2.8.0 crashes on +reload
Status in ADCH++:
Fix Committed
Bug description:
In short, typing '+reload' in your hub crashes with segmentation
fault.
Longer:
I've been trying some things to investigate this issue, but I'm not
getting very var. Since I started with having adchppd+epoll issues on
my system, I builded the software as debug release.
Running the hub, without daemonizing:
2.8.0 (r576) Debug running, press ctrl-c to exit...
Logging: 2012-04-17 15:22:23: ScriptManager: Starting
Logging: 2012-04-17 15:22:23: PluginManager: Script.so loaded
Logging: 2012-04-17 15:22:23: BloomManager: Starting
Logging: 2012-04-17 15:22:23: PluginManager: Bloom.so loaded
Logging: 2012-04-17 15:22:23: SocketManager: Starting
Logging: 2012-04-17 15:22:23: SocketManager: Listening on 0.0.0.0:5111 (Encrypted: Yes)
Logging: 2012-04-17 15:22:23: SocketManager: Listening on [::]:5111 (Encrypted: Yes)
Error loading file: access.lua:1778: attempt to index a userdata value
Start loading Commandstats ...
... Commandstats loaded.
Start loading Limitstats ...
... Limitstats loaded.
Start loading entitystats ...
... Entitystats loaded.
Error loading file: access.guard.lua:5533: attempt to index a userdata value
TUTZ entering IDENTIFY
TUTZ entering NORMAL
XMNI entering IDENTIFY
XMNI entering NORMAL
LAWR connected
LAWR ready
LAWR entering IDENTIFY
LAWR verifying IP 0.0.0.0
LAWR verifying CID 7YWOZL7GIT5KUCSG744VVMKRT4QYDZW3J2DCO3Q
LAWR verifying nick [SU]DjSlash
LAWR entering VERIFY
LAWR entering NORMAL
Clearing pool
Removing XMNI - WADGPIKX3L46HU6VDYKVA7MBI7ZA7UM4SAZFUTQ
Removing TUTZ - CB524C267A427BB3CEC4725AF7AAAAAAAAAAAAA
Error loading file: access.lua:1778: attempt to index a userdata value
Start loading Commandstats ...
... Commandstats loaded.
Start loading Limitstats ...
... Limitstats loaded.
Start loading entitystats ...
... Entitystats loaded.
Error loading file: access.guard.lua:5533: attempt to index a userdata value
MVR7 entering IDENTIFY
MVR7 entering NORMAL
ZBYW entering IDENTIFY
ZBYW entering NORMAL
Segmentation fault
At ''Clearing pool'' it starts with the +reload .. It might take a while (few seconds) between ''ZBYW entering NORMAL'' and ''Segmentation fault''. No corefile is created.
----
Meanwhile, while re-compiling to add the ADCH++-PtokaX bridge, I've
spotted this:
adchpp/Thread.h: In static member function ‘static void* adchpp::Thread::starter(void*)’:
adchpp/Thread.h:98:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Not sure (yet) if it might be related.
----
It seems to me that the reload goes okay, but something that is
initiated by it is going wrong. And I can't pinpoint right now where
to look or what to try to investigate this further.
To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/983963/+subscriptions
References