Bug #52

Падение при добавлении нового абонента

Added by Vladimir Pavljuchenkov over 1 year ago. Updated about 1 year ago.

Status:NewStart date:01/11/2018
Priority:UrgentDue date:
Assignee:Helen Mamontova% Done:

0%

Category:-Spent time:-
Target version:-

Description

Backtrace:

GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
Copyright (C) 2017 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/&gt;.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/&gt;.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/stargazer...done.
(gdb) core-file /var/tmp/dumps/core-echelon-stargazer-11-0-0-20574-1515663135
[New LWP 20584]
[New LWP 20576]
[New LWP 20578]
[New LWP 20585]
[New LWP 20581]
[New LWP 20574]
[New LWP 20579]
[New LWP 20588]
[New LWP 20582]
[New LWP 20587]
[New LWP 20577]
[New LWP 20580]
[New LWP 20583]
[New LWP 20586]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/stargazer'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f9028af8b36 in STG::PARSER::CHG_USER::ApplyChanges (this=0x7f8ffc002970) at parser_users.cpp:601
601 parser_users.cpp: No such file or directory.
[Current thread is 1 (Thread 0x7f9021ffb700 (LWP 20584))]
(gdb) thread apply all bt

Thread 14 (Thread 0x7f9020ff9700 (LWP 20586)):
#0 0x00007f902d3eb0cd in nanosleep () from /lib64/libpthread.so.0
#1 0x00007f90293f6429 in AUTH_IA::RunTimeouter (d=0x55c17d158760) at inetaccess.cpp:506
#2 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#3 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f90227fc700 (LWP 20583)):
#0 0x00007f902c900c53 in select () from /lib64/libc.so.6
#1 0x000055c17c947ba8 in WaitPackets (sd=6) at common.cpp:1057
#2 0x00007f9028610a9f in SMUX::Run (this=0x55c17d15e740) at smux.cpp:311
#3 0x00007f90286109dc in SMUX::Runner (d=0x55c17d15e740) at smux.cpp:294
#4 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#5 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f9023fff700 (LWP 20580)):
#0 0x00007f902d3eb0cd in nanosleep () from /lib64/libpthread.so.0
#1 0x00007f90291c34b8 in STG_PINGER::RunSendPing (d=0x55c17d15abd8) at pinger.cpp:304
#2 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#3 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f902b26d700 (LWP 20577)):
#0 0x00007f902d3e6726 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000055c17c8e099f in EVENT_LOOP::Runner (this=0x55c17cb79960 <EVENT_LOOP_SINGLETON::CreateInstance()::loop>) at eventloop.cpp:72
#2 0x000055c17c8e08ba in EVENT_LOOP::Run (self=0x55c17cb79960 <EVENT_LOOP_SINGLETON::CreateInstance()::loop>) at eventloop.cpp:51
#3 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#4 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f900ffff700 (LWP 20587)):
#0 0x00007f902c900c53 in select () from /lib64/libc.so.6
#1 0x00007f9028f66362 in RADIUS::runImpl (this=0x55c17d15bb60) at radius.cpp:255
#2 0x00007f9028f6571a in RADIUS::run (d=0x55c17d15bb60) at radius.cpp:128
---Type <return> to continue, or q <return> to quit---
#3 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#4 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f9022ffd700 (LWP 20582)):
#0 0x00007f902d3eb0cd in nanosleep () from /lib64/libpthread.so.0
#1 0x00007f90291ba27d in PING::Run (d=0x55c17d15aaf0) at ping.cpp:206
#2 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#3 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f900f7fe700 (LWP 20588)):
#0 0x00007f902c900c53 in select () from /lib64/libc.so.6
#1 0x000055c17c947ba8 in WaitPackets (sd=9) at common.cpp:1057
#2 0x00007f902962578a in NF_CAP::RunUDP (c=0x55c17d157e90) at cap_nf.cpp:268
#3 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#4 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f902a26b700 (LWP 20579)):
#0 0x00007f902d3eb0cd in nanosleep () from /lib64/libpthread.so.0
#1 0x000055c17c901a60 in TRAFFCOUNTER_IMPL::Run (data=0x7fffb8931b90) at traffcounter_impl.cpp:179
#2 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#3 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f902d809740 (LWP 20574)):
#0 0x00007f902d3eb6ff in do_sigwait () from /lib64/libpthread.so.0
#1 0x00007f902d3eb7be in sigwait () from /lib64/libpthread.so.0
#2 0x000055c17c8e2200 in main (argc=1, argv=0x7fffb8931f68) at main.cpp:341

Thread 5 (Thread 0x7f90237fe700 (LWP 20581)):
#0 0x00007f902d3eae03 in recvfrom () from /lib64/libpthread.so.0
#1 0x00007f90291c328c in STG_PINGER::RecvPing (this=0x55c17d15abd8) at pinger.cpp:250
#2 0x00007f90291c3566 in STG_PINGER::RunRecvPing (d=0x55c17d15abd8) at pinger.cpp:325
#3 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#4 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f90217fa700 (LWP 20585)):
#0 0x00007f902c900c53 in select () from /lib64/libc.so.6
#1 0x000055c17c947ba8 in WaitPackets (sd=8) at common.cpp:1057
#2 0x00007f90293f6873 in AUTH_IA::RecvData (this=0x55c17d158760, buffer=0x7f90217f9cf0 "", bufferSize=512) at inetaccess.cpp:578
#3 0x00007f90293f6232 in AUTH_IA::Run (d=0x55c17d158760) at inetaccess.cpp:478
#4 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#5 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f902aa6c700 (LWP 20578)):
#0 0x00007f902d3eb0cd in nanosleep () from /lib64/libpthread.so.0
#1 0x000055c17c8f8d14 in stgUsleep (t=100000) at stg_timer.cpp:137
#2 0x000055c17c9339eb in USERS_IMPL::Run (d=0x7fffb8931990) at users_impl.cpp:425
#3 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#4 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f902c4fa700 (LWP 20576)):
#0 0x00007f902d3eb0cd in nanosleep () from /lib64/libpthread.so.0
#1 0x000055c17c8f8bb2 in StgTimer () at stg_timer.cpp:93
#2 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#3 0x00007f902c90996f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9021ffb700 (LWP 20584)):
#0 0x00007f9028af8b36 in STG::PARSER::CHG_USER::ApplyChanges (this=0x7f8ffc002970) at parser_users.cpp:601
#1 0x00007f9028af7107 in STG::PARSER::CHG_USER::CreateAnswer (this=0x7f8ffc002970) at parser_users.cpp:451
#2 0x00007f9028aeacf1 in BASE_PARSER::End (this=0x7f8ffc002970, el=0x7f8ffc00a320 "SetUser") at parser.cpp:42
#3 0x00007f9028ade646 in STG::Conn::ParseXMLEnd (data=0x7f8ffc004cf0, el=0x7f8ffc00a320 "SetUser") at conn.cpp:278
#4 0x00007f90288713f3 in ?? () from /usr/lib64/libexpat.so.1
#5 0x00007f9028871e1c in ?? () from /usr/lib64/libexpat.so.1
#6 0x00007f90288763b8 in XML_ParseBuffer () from /usr/lib64/libexpat.so.1
#7 0x00007f9028addd67 in STG::Conn::DataCallback (block=0x7f8ffc0008c0, size=144, data=0x7f8ffc0051a0) at conn.cpp:222
---Type <return> to continue, or q <return> to quit---
#8 0x00007f9028b0d28c in (anonymous namespace)::COMMON::m_tryConsume (this=0x7f8ffc0008c0, last=true) at bfstream.cpp:76
#9 0x00007f9028b0d186 in (anonymous namespace)::COMMON::Put (this=0x7f8ffc0008c0, data=0x7f8ffc004d8c, size=144, last=true) at bfstream.cpp:50
#10 0x00007f9028b0d4c3 in STG::DECRYPT_STREAM::Put (this=0x7f8ffc005330, data=0x7f8ffc004d8c, size=144, last=true) at bfstream.cpp:136
#11 0x00007f9028addc54 in STG::Conn::HandleData (this=0x7f8ffc004cf0, size=144) at conn.cpp:207
#12 0x00007f9028add2c0 in STG::Conn::HandleBuffer (this=0x7f8ffc004cf0, size=144) at conn.cpp:135
#13 0x00007f9028adce99 in STG::Conn::Read (this=0x7f8ffc004cf0) at conn.cpp:109
#14 0x00007f9028ae0cf9 in CONFIGPROTO::HandleEvents (this=0x55c17d15db80, fds=...) at configproto.cpp:284
#15 0x00007f9028adfdac in CONFIGPROTO::Run (this=0x55c17d15db80) at configproto.cpp:169
#16 0x00007f9028ad8e88 in STG_CONFIG::Run (d=0x55c17d15dad0) at stgconfig.cpp:152
#17 0x00007f902d3df8a7 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f902c90996f in clone () from /lib64/libc.so.6

Log:
2018-01-11 11:32:13 -- Admin 'spiderx', 176.105.160.56: User 'test45' added.
2018-01-11 11:32:15 -- Admin 'spiderx', 176.105.160.56: User 'test45': 'ips' parameter changed from '*' to '10.0.101.101'.
2018-01-11 11:32:15 -- Admin 'spiderx', 176.105.160.56: User 'test45': 'freeMb' parameter changed from '0.000000' to '0.000000'.
2018-01-11 11:32:15 -- Admin 'spiderx', 176.105.160.56: User 'test45': 'password' parameter changed from '******' to '******'.

History

#1 Updated by Vladimir Pavljuchenkov over 1 year ago

Branch - stg-2.409-radius

#2 Updated by Maxim Mamontov about 1 year ago

  • Assignee changed from Maxim Mamontov to Helen Mamontova

Проблема тут:

#0 0x00007f9028af8b36 in STG::PARSER::CHG_USER::ApplyChanges (this=0x7f8ffc002970) at parser_users.cpp:601

Also available in: Atom PDF