Bug #240

DEV: 5.1 - with debug level 2 test42 fails

Added by Madars over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:10/30/2017
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

$ ./run.sh 
To control debug output, set debugconfig file path in $NDRX_DEBUG_CONF
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0211:Max servers set to 10000
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0227:Max services set to 10000
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0243:Random key set to: [0myWI5nu]
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0259:Posix queue msg_max set to: [1000]
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0275:Posix queue msgsize_max set to: [1068576]
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0298:Posix queue prefix set to: [/n00b], match string: [/n00b,] (len: 6)
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0315:Posix queue queue path set to: [/dev/mqueue]
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0336:SystemV SEM IPC Key set to: [44000]
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0343:Using comms timeout: 60
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0360:Cluster node id=1
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0378:NDRX_LDBAL set to 0
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0388:[NDRX_CLUSTERISED] says: We run in cluster mode
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0425:[NDRX_XA_CLOSE_STR]: XA Close String defaulted to: []
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0464:[NDRX_XA_LAZY_INIT]: Lazy XA Init: TRUE
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0531:[NDRX_NRSEMS]: Number of services shared memory semaphores set to: 30 (used only for poll() mode) (default: 30)
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0552:[NDRX_MAXSVCSRVS]: Max number of local servers per service set to: 30 (used only for poll() mode) (default: 30)
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:i/init.c:0563:env loaded ok
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349544:config.c:0084:ndrxd pid file: /tmp/ndrxd.pid
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349545:config.c:0114:About to open reply queue: [/n00b,sys,bg,xadmin,19506]
N:NDRX:2:19506:7f5f4c4467c0:000:20171030:141349545:config.c:0128:Reply queue [/n00b,sys,bg,xadmin,19506] opened!
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Removing [/n00b,sys,bg,xadmin,19506] ...SUCCEED
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349546:i/init.c:0580:_tpterm called
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349546:i/init.c:0585:_tpterm ATMI is not initialized - nothing to do.
N:NDRX:5:19506:7f5f4c4467c0:000:20171030:141349546:i/init.c:0649:_tpterm returns 0
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

To control debug output, set debugconfig file path in $NDRX_DEBUG_CONF
N:NDRX:3:19508:7f186d1a57c0:000:20171030:141349567:ysutil.c:0672:processing proc: [mvitolin 19508 19500  0 14:13 pts/7    00:00:00 xadmin killall tpbridge]
N:NDRX:3:19508:7f186d1a57c0:000:20171030:141349567:ysutil.c:0672:processing proc: [mvitolin 19508 19500  0 14:13 pts/7    00:00:00 xadmin killall tpbridge]
Killing [tpbridge] ... Failed
Setting domain 1
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Enduro/X back-end (ndrxd) is not running
ndrxd PID (from PID file): 19533
ndrxd idle instance started.
exec tpbridge -k nre38Kff1kz -i 101 -e /home/mvitolin/projects/endurox/atmitest/test042_bignet/tpbridge-dom1.log -r -- -f -n2 -r -i 127.0.0.1 -p 44003 -tA -z30 -P0 :
    process id=19535 ... Started.
Startup finished. 1 processes started.
Setting domain 2
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Enduro/X back-end (ndrxd) is not running
ndrxd PID (from PID file): 19563
ndrxd idle instance started.
exec atmi.sv42 -k nZ22K8K7kewKo -i 10 -e /home/mvitolin/projects/endurox/atmitest/test042_bignet/atmisv-dom2.log -r --  :
    process id=19565 ... Started.
exec tpbridge -k nZ22K8K7kewKo -i 101 -e /tmp/bridge-dom2.log -r -- -f -n1 -r -i 0.0.0.0 -p 44003 -tP -z30 -P0 :
    process id=19566 ... Started.
Startup finished. 2 processes started.
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

ndrxd PID (from PID file): 19563
Nd Service Name Routine Name Prog Name SRVID #SUCC #FAIL MAX      LAST     STAT
-- ------------ ------------ --------- ----- ----- ----- -------- -------- -----
2  TESTSV       TESTSV       atmi.sv42 10    0     0     0ms      0ms      AVAIL
2  @TPBRIDGE001 TPBRIDGE     tpbridge  101   0     0     0ms      0ms      AVAIL
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

ndrxd PID (from PID file): 19563
Binary    SRVID PID   STATE REQST AS EXSQ RSP  NTRM LSIG K STCH FLAGS
--------- ----- ----- ----- ----- -- ---- ---- ---- ---- - ---- -----
atmi.sv42 10    19565 runok runok 1  0    9    0    29   1 29        
tpbridge  101   19566 runok runok 1  0    9    0    29   1 29   BrC  
Running off client
Setting domain 1
*** buffer overflow detected ***: atmi.sv42 terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f44914557e5]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f44914f711c]
/lib/x86_64-linux-gnu/libc.so.6(+0x117120)[0x7f44914f5120]
/lib/x86_64-linux-gnu/libc.so.6(+0x116472)[0x7f44914f4472]
/home/mvitolin/projects/endurox/libatmi/libatmi.so(_tp_srv_join_or_new_from_call+0x5e)[0x7f44922640ae]
/home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so(sv_serve_call+0x6fb)[0x7f44924b313b]
/home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so(sv_server_request+0x637)[0x7f44924b4667]
/home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so(sv_wait_for_request+0x3ad)[0x7f44924b558d]
/home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so(ndrx_main+0x89)[0x7f44924bac89]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f44913fe830]
atmi.sv42(_start+0x29)[0x400c99]
======= Memory map: ========
00400000-00402000 r-xp 00000000 103:02 14432542                          /home/mvitolin/projects/endurox/atmitest/test042_bignet/atmi.sv42
00601000-00602000 r--p 00001000 103:02 14432542                          /home/mvitolin/projects/endurox/atmitest/test042_bignet/atmi.sv42
00602000-00603000 rw-p 00002000 103:02 14432542                          /home/mvitolin/projects/endurox/atmitest/test042_bignet/atmi.sv42
00603000-00605000 rw-p 00000000 00:00 0 
0154d000-01682000 rw-p 00000000 00:00 0                                  [heap]
7f448fed1000-7f448fee7000 r-xp 00000000 103:02 4067813                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f448fee7000-7f44900e6000 ---p 00016000 103:02 4067813                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f44900e6000-7f44900e7000 rw-p 00015000 103:02 4067813                   /lib/x86_64-linux-gnu/libgcc_s.so.1
7f44900e7000-7f4490cc5000 rw-s 00000000 00:16 191876                     /dev/shm/dom2,shm,srvinfo
7f4490cc5000-7f44913de000 rw-s 00000000 00:16 191877                     /dev/shm/dom2,shm,svcinfo
7f44913de000-7f449159e000 r-xp 00000000 103:02 4069861                   /lib/x86_64-linux-gnu/libc-2.23.so
7f449159e000-7f449179e000 ---p 001c0000 103:02 4069861                   /lib/x86_64-linux-gnu/libc-2.23.so
7f449179e000-7f44917a2000 r--p 001c0000 103:02 4069861                   /lib/x86_64-linux-gnu/libc-2.23.so
7f44917a2000-7f44917a4000 rw-p 001c4000 103:02 4069861                   /lib/x86_64-linux-gnu/libc-2.23.so
7f44917a4000-7f44917a8000 rw-p 00000000 00:00 0 
7f44917a8000-7f44917ab000 r-xp 00000000 103:02 4069850                   /lib/x86_64-linux-gnu/libdl-2.23.so
7f44917ab000-7f44919aa000 ---p 00003000 103:02 4069850                   /lib/x86_64-linux-gnu/libdl-2.23.so
7f44919aa000-7f44919ab000 r--p 00002000 103:02 4069850                   /lib/x86_64-linux-gnu/libdl-2.23.so
7f44919ab000-7f44919ac000 rw-p 00003000 103:02 4069850                   /lib/x86_64-linux-gnu/libdl-2.23.so
7f44919ac000-7f44919b3000 r-xp 00000000 103:02 4069847                   /lib/x86_64-linux-gnu/librt-2.23.so
7f44919b3000-7f4491bb2000 ---p 00007000 103:02 4069847                   /lib/x86_64-linux-gnu/librt-2.23.so
7f4491bb2000-7f4491bb3000 r--p 00006000 103:02 4069847                   /lib/x86_64-linux-gnu/librt-2.23.so
7f4491bb3000-7f4491bb4000 rw-p 00007000 103:02 4069847                   /lib/x86_64-linux-gnu/librt-2.23.so
7f4491bb4000-7f4491bcc000 r-xp 00000000 103:02 4069844                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4491bcc000-7f4491dcb000 ---p 00018000 103:02 4069844                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4491dcb000-7f4491dcc000 r--p 00017000 103:02 4069844                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4491dcc000-7f4491dcd000 rw-p 00018000 103:02 4069844                   /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4491dcd000-7f4491dd1000 rw-p 00000000 00:00 0 
7f4491dd1000-7f4491de9000 r-xp 00000000 103:02 10363636                  /home/mvitolin/projects/endurox/libnstd/libnstd.so
7f4491de9000-7f4491fe8000 ---p 00018000 103:02 10363636                  /home/mvitolin/projects/endurox/libnstd/libnstd.so
7f4491fe8000-7f4491fe9000 r--p 00017000 103:02 10363636                  /home/mvitolin/projects/endurox/libnstd/libnstd.so
7f4491fe9000-7f4491feb000 rw-p 00018000 103:02 10363636                  /home/mvitolin/projects/endurox/libnstd/libnstd.so
7f4491feb000-7f4491ff5000 rw-p 00000000 00:00 0 
7f4491ff5000-7f449202f000 r-xp 00000000 103:02 10364146                  /home/mvitolin/projects/endurox/libubf/libubf.so
7f449202f000-7f449222e000 ---p 0003a000 103:02 10364146                  /home/mvitolin/projects/endurox/libubf/libubf.so
7f449222e000-7f449222f000 r--p 00039000 103:02 10364146                  /home/mvitolin/projects/endurox/libubf/libubf.so
7f449222f000-7f4492231000 rw-p 0003a000 103:02 10364146                  /home/mvitolin/projects/endurox/libubf/libubf.so
7f4492231000-7f4492232000 rw-p 00000000 00:00 0 
7f4492232000-7f44922a3000 r-xp 00000000 103:02 10363635                  /home/mvitolin/projects/endurox/libatmi/libatmi.so
7f44922a3000-7f44924a2000 ---p 00071000 103:02 10363635                  /home/mvitolin/projects/endurox/libatmi/libatmi.so
7f44924a2000-7f44924a3000 r--p 00070000 103:02 10363635                  /home/mvitolin/projects/endurox/libatmi/libatmi.so
7f44924a3000-7f44924a6000 rw-p 00071000 103:02 10363635                  /home/mvitolin/projects/endurox/libatmi/libatmi.so
7f44924a6000-7f44924ae000 rw-p 00000000 00:00 0 
7f44924ae000-7f44924c4000 r-xp 00000000 103:02 10364162                  /home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so
7f44924c4000-7f44926c3000 ---p 00016000 103:02 10364162                  /home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so
7f44926c3000-7f44926c4000 r--p 00015000 103:02 10364162                  /home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so
7f44926c4000-7f44926c5000 rw-p 00016000 103:02 10364162                  /home/mvitolin/projects/endurox/libatmisrv/libatmisrvinteg.so
7f44926c5000-7f44926c7000 rw-p 00000000 00:00 0 
7f44926c7000-7f44926ed000 r-xp 00000000 103:02 4069839                   /lib/x86_64-linux-gnu/ld-2.23.so
7f4492837000-7f44928bf000 rw-p 00000000 00:00 0 
7f44928e7000-7f44928e8000 rw-p 00000000 00:00 0 
7f44928e8000-7f44928e9000 rw-s 00000000 00:16 191878                     /dev/shm/dom2,shm,brinfo
7f44928e9000-7f44928ec000 rw-p 00000000 00:00 0 
7f44928ec000-7f44928ed000 r--p 00025000 103:02 4069839                   /lib/x86_64-linux-gnu/ld-2.23.so
7f44928ed000-7f44928ee000 rw-p 00026000 103:02 4069839                   /lib/x86_64-linux-gnu/ld-2.23.so
7f44928ee000-7f44928ef000 rw-p 00000000 00:00 0 
7ffdfdefe000-7ffdfe20b000 rw-p 00000000 00:00 0                          [stack]
7ffdfe248000-7ffdfe24a000 r--p 00000000 00:00 0                          [vvar]
7ffdfe24a000-7ffdfe24c000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Test exiting with: 255
Setting domain 1
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Server executable = tpbridge    Id = 101 :    Shutdown succeeded.
Shutdown finished. 1 processes stopped.
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Setting domain 2
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Server executable = tpbridge    Id = 101 :    Shutdown succeeded.
Server executable = atmi.sv42    Id = 10 :    Shutdown succeeded.
Shutdown finished. 2 processes stopped.
Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Enduro/X 5.0.10, build Oct 30 2017 13:26:21, using epoll for LINUX (64 bits)

Enduro/X Middleware Platform for Distributed Transaction Processing
Copyright (C) 2009-2016 ATR Baltic Ltd.
Copyright (C) 2017 Mavimax Ltd. All Rights Reserved.

This software is released under one of the following licenses:
GPLv2 (or later) or Mavimax license for commercial use.

Killing [atmiclt42] ... Failed

History

#1 Updated by Madars over 6 years ago

<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from atmi.sv42...done.

warning: exec file is newer than core file.
[New LWP 5893]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `atmi.sv42 -k nZ22K8K7kewKo -i 10 -e /home/mvitolin/projects/endurox/atmitest/te'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f7dd8df7c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0  0x00007f7dd8df7c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f7dd8dfb028 in __GI_abort () at abort.c:89
#2  0x00007f7dd8e342a4 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f7dd8f43d70 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007f7dd8ecf83c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7f7dd8f43d07 "buffer overflow detected") at fortify_fail.c:38
#4  0x00007f7dd8ece710 in __GI___chk_fail () at chk_fail.c:28
#5  0x00007f7dd9c48f3d in strcpy (
    __src=0x7fff428a7202 "\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377", 
    __dest=0x7fff428a6cb2 "\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323", <incomplete sequence \324>) at /usr/include/x86_64-linux-gnu/bits/string3.h:104
#6  _tp_srv_join_or_new_from_call (call=0x7fff428a7070, is_ax_reg_callback=0) at /home/mvitolin/projects/endurox/libatmi/xa.c:1326
#7  0x00007f7dd9e98244 in memcpy (__len=512, __src=0x7fff428a7070, __dest=0x7f7dda20f018) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
#8  sv_serve_call (service=<optimized out>, status=<optimized out>) at /home/mvitolin/projects/endurox/libatmisrv/svqdispatch.c:314
#9  0x00007f7dd9e99817 in sv_server_request (buf=0x7fff428a7070 "\001", len=<optimized out>) at /home/mvitolin/projects/endurox/libatmisrv/svqdispatch.c:788
#10 0x00007f7dd9e9a788 in sv_wait_for_request () at /home/mvitolin/projects/endurox/libatmisrv/svqdispatch.c:1265
#11 0x00007f7dd9ea01a5 in ndrx_main (argc=5893, argv=0x1705) at /home/mvitolin/projects/endurox/libatmisrv/srvmain.c:404
#12 0x0000000000000000 in ?? ()
(gdb) quit
02:41:31  mvitolin@macintosh  /home/mvitolin/projects/endurox/atmitest/test042_bignet

#2 Updated by Madars over 6 years ago

N:NDRX:2:11983:7fe889e53800:000:20171031:024023343:spatch.c:0319:before into sv_serve_call()
  0000  01 00 00 00 00 00 00 00 00 00 00 00 00 00 54 45  ..............TE
  0010  53 54 53 56 00 00 00 00 00 00 00 00 00 00 00 00  STSV............
  0020  00 00 00 00 00 00 00 00 00 00 00 00 00 2f 64 6f  ............./do
  0030  6d 31 2c 63 6c 74 2c 72 65 70 6c 79 2c 61 74 6d  m1,clt,reply,atm
  0040  69 63 6c 74 34 32 2c 31 32 32 36 36 2c 30 00 00  iclt42,12266,0..
  0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0060  00 00 00 00                                      ....
N:NDRX:2:11983:7fe889e53800:000:20171031:024023376:spatch.c:0319:before into sv_serve_call()
  0000  01 00 00 00 00 00 00 00 00 00 00 00 00 00 54 45  ..............TE
  0010  53 54 53 56 00 00 00 00 2e 00 00 00 0c 00 01 00  STSV............
  0020  2f 64 6f 6d 31 2c 73 79 73 2c 62 67 2c 2f 64 6f  /dom1,sys,bg,/do
  0030  6d 31 2c 63 6c 74 2c 72 65 70 6c 79 2c 61 74 6d  m1,clt,reply,atm
  0040  69 63 6c 74 34 32 2c 31 32 32 36 36 2c 30 00 00  iclt42,12266,0..
  0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0060  00 00 00 00                                      ....
N:NDRX:2:11983:7fe889e53800:000:20171031:024023419:spatch.c:0319:before into sv_serve_call()
  0000  01 00 00 00 00 00 00 00 00 00 00 00 00 00 54 45  ..............TE
  0010  53 54 53 56 00 00 00 00 2e 00 00 00 0c 00 01 00  STSV............
  0020  2f 64 6f 6d 31 2c 73 79 73 2c 62 67 2c 2f 64 6f  /dom1,sys,bg,/do
  0030  6d 31 2c 63 6c 74 2c 72 65 70 6c 79 2c 61 74 6d  m1,clt,reply,atm
  0040  69 63 6c 74 34 32 2c 31 32 32 36 36 2c 30 00 00  iclt42,12266,0..
  0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0060  00 00 00 00                                      ....
N:NDRX:2:11983:7fe889e53800:000:20171031:024023513:spatch.c:0319:before into sv_serve_call()
  0000  01 00 00 00 00 00 00 00 00 00 00 00 00 00 54 45  ..............TE
  0010  53 54 53 56 00 00 00 00 00 00 00 00 00 00 00 00  STSV............
  0020  00 00 00 00 00 00 00 00 00 00 00 00 00 2f 64 6f  ............./do
  0030  6d 31 2c 63 6c 74 2c 72 65 70 6c 79 2c 61 74 6d  m1,clt,reply,atm
  0040  69 63 6c 74 34 32 2c 31 32 32 36 36 2c 30 00 00  iclt42,12266,0..
  0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0060  00 00 00 00                                      ....
N:NDRX:2:11983:7fe889e53800:000:20171031:024023546:spatch.c:0319:before into sv_serve_call()
  0000  01 00 00 00 00 00 00 00 00 00 00 00 00 00 54 45  ..............TE
  0010  53 54 53 56 00 00 00 00 00 00 00 00 00 00 00 00  STSV............
  0020  00 00 00 00 00 00 00 00 00 00 00 00 00 2f 64 6f  ............./do
  0030  6d 31 2c 63 6c 74 2c 72 65 70 6c 79 2c 61 74 6d  m1,clt,reply,atm
  0040  69 63 6c 74 34 32 2c 31 32 32 36 36 2c 30 00 00  iclt42,12266,0..
  0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0060  00 00 00 00                                      ....
N:NDRX:2:11983:7fe889e53800:000:20171031:024023579:spatch.c:0319:before into sv_serve_call()
  0000  01 00 00 04 c0 7f 00 00 00 00 00 00 00 00 54 45  ..............TE
  0010  53 54 53 56 00 00 00 00 00 00 00 00 00 00 00 00  STSV............
  0020  00 00 00 00 00 00 00 00 00 00 00 00 00 2f 64 6f  ............./do
  0030  6d 31 2c 63 6c 74 2c 72 65 70 6c 79 2c 61 74 6d  m1,clt,reply,atm
  0040  69 63 6c 74 34 32 2c 31 32 32 36 36 2c 30 00 00  iclt42,12266,0..
  0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  0060  00 00 00 00                                      ....
N:NDRX:2:11983:7fe889e53800:000:20171031:024023606:spatch.c:0319:before into sv_serve_call()
  0000  01 00 00 00 00 00 00 00 00 00 00 00 00 00 54 45  ..............TE
  0010  53 54 53 56 00 27 28 29 2a 2b 2c 2d 2e 2f 30 31  STSV.'()*+,-./01
  0020  32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 2f 64 6f  23456789:;<=>/do
  0030  6d 31 2c 63 6c 74 2c 72 65 70 6c 79 2c 61 74 6d  m1,clt,reply,atm
  0040  69 63 6c 74 34 32 2c 31 32 32 36 36 2c 30 00 61  iclt42,12266,0.a
  0050  62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71  bcdefghijklmnopq
  0060  72 73 74 75                                      rstu
~

#3 Updated by Madars over 6 years ago

Core was generated by `atmi.sv42 -k nZ22K8K7kewKo -i 10 -e /home/mvitolin/projects/endurox/atmitest/te'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f67dfa2c428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54    ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0  0x00007f67dfa2c428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007f67dfa2e02a in __GI_abort () at abort.c:89
#2  0x00007f67dfa6e7ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f67dfb8645f "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007f67dfb1011c in __GI___fortify_fail (msg=<optimised out>, msg@entry=0x7f67dfb863f0 "buffer overflow detected") at fortify_fail.c:37
#4  0x00007f67dfb0e120 in __GI___chk_fail () at chk_fail.c:28
#5  0x00007f67dfb0d472 in __strcpy_chk (dest=0x7ffeb14406f2 "", 
    src=0x7ffeb1440b72 "\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377", destlen=49) at strcpy_chk.c:30
#6  0x00007f67e087ccae in strcpy (
    __src=0x7ffeb1440b72 "\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377", __dest=0x7ffeb14406f2 "") at /usr/include/x86_64-linux-gnu/bits/string3.h:110
#7  _tp_srv_join_or_new_from_call (call=call@entry=0x7ffeb14409e0, is_ax_reg_callback=is_ax_reg_callback@entry=0) at /home/mvitolin/projects/endurox/libatmi/xa.c:1326
#8  0x00007f67e0acc14b in sv_serve_call (service=service@entry=0x7ffeb144092c, status=status@entry=0x7ffeb1440938) at /home/mvitolin/projects/endurox/libatmisrv/svqdispatch.c:322
#9  0x00007f67e0acd6a7 in sv_server_request (buf=buf@entry=0x7ffeb14409e0 "\001", len=len@entry=2097720) at /home/mvitolin/projects/endurox/libatmisrv/svqdispatch.c:755
#10 0x00007f67e0ace5cd in sv_wait_for_request () at /home/mvitolin/projects/endurox/libatmisrv/svqdispatch.c:1310
#11 0x00007f67e0ad3c99 in ndrx_main (argc=9, argv=0x7ffeb172de58) at /home/mvitolin/projects/endurox/libatmisrv/srvmain.c:471
#12 0x00007f67dfa17830 in __libc_start_main (main=0x400c50 <main>, argc=9, argv=0x7ffeb172de58, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7ffeb172de48) at ../csu/libc-start.c:291
#13 0x0000000000400c99 in _start ()
(gdb) 

#4 Updated by Madars over 6 years ago

(gdb) 
(gdb) thread apply all bt

Thread 6 (Thread 0x7f662e50b640 (LWP 3519)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000040aa4b in bsem_wait (bsem_p=0x21475c0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:589
#2  poolthread_do (poolthread_p=0x21497d0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:392
#3  0x00007f666997d184 in start_thread (arg=0x7f662e50b640) at pthread_create.c:312
#4  0x00007f66696a9ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f665a09e640 (LWP 3516)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000040aa4b in bsem_wait (bsem_p=0x21475c0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:589
#2  poolthread_do (poolthread_p=0x21476d0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:392
#3  0x00007f666997d184 in start_thread (arg=0x7f665a09e640) at pthread_create.c:312
#4  0x00007f66696a9ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f66689cf640 (LWP 3515)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000040aa4b in bsem_wait (bsem_p=0x21475c0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:589
#2  poolthread_do (poolthread_p=0x21476b0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:392
#3  0x00007f666997d184 in start_thread (arg=0x7f66689cf640) at pthread_create.c:312
#4  0x00007f66696a9ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f664b76d640 (LWP 3517)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000040aa4b in bsem_wait (bsem_p=0x21475c0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:589
#2  poolthread_do (poolthread_p=0x21494b0) at /home/mvitolin/projects/endurox/libthpool/thpool.c:392
#3  0x00007f666997d184 in start_thread (arg=0x7f664b76d640) at pthread_create.c:312
#4  0x00007f66696a9ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f663ce3c640 (LWP 3518)):
#0  0x00007f666969acc5 in __GI___xstat (vers=<optimized out>, name=0x7f666972da35 "/etc/localtime", buf=0x7f663ce3aff0) at ../sysdeps/unix/sysv/linux/wordsize-64/xstat.c:35
#1  0x00007f6669662b5d in __tzfile_read (file=file@entry=0x7f666972da35 "/etc/localtime", extra=extra@entry=0, extrap=extrap@entry=0x0) at tzfile.c:161
#2  0x00007f6669661eb4 in tzset_internal (always=<optimized out>, explicit=explicit@entry=1) at tzset.c:447
#3  0x00007f6669662863 in __tz_convert (timer=timer@entry=0x7f663ce3b130, use_localtime=use_localtime@entry=1, tp=tp@entry=0x7f6669973de0 <_tmbuf>) at tzset.c:632
#4  0x00007f6669660721 in __GI_localtime (t=t@entry=0x7f663ce3b130) at localtime.c:42
#5  0x00007f666a1db53b in ndrx_get_dt_local (p_date=p_date@entry=0x7f663ce3b1e0, p_time=p_time@entry=0x7f663ce3b1e8, p_usec=p_usec@entry=0x7f663ce3b1f0) at /home/mvitolin/projects/endurox/libnstd/nstdutil.c:235
#6  0x00007f666a1da2ea in __ndrx_debug__ (dbg_ptr=0x7f6608088b80, lev=lev@entry=4, file=file@entry=0x7f666a8964a8 "/home/mvitolin/projects/endurox/libatmi/brsupport.c", line=line@entry=81, 
    func=func@entry=0x7f666a896540 <__func__.8049> "br_dump_nodestack", fmt=fmt@entry=0x7f666a896464 "%s: [%s]") at /home/mvitolin/projects/endurox/libnstd/ndebug.c:925
#7  0x00007f666a86aba5 in br_dump_nodestack (stack=stack@entry=0x7f661da1d0d6 "\001", msg=msg@entry=0x40c691 "Stack after node push") at /home/mvitolin/projects/endurox/libatmi/brsupport.c:81
#8  0x0000000000408a47 in br_tpcall_pushstack (call=call@entry=0x7f661da1d028) at /home/mvitolin/projects/endurox/bridge/brutils.c:81
#9  0x00000000004071d8 in br_process_msg_th (ptr=0x214ccb0, p_finish_off=<optimized out>) at /home/mvitolin/projects/endurox/bridge/network.c:427
#10 0x000000000040aafe in poolthread_do (poolthread_p=0x2149640) at /home/mvitolin/projects/endurox/libthpool/thpool.c:410
#11 0x00007f666997d184 in start_thread (arg=0x7f663ce3c640) at pthread_create.c:312
#12 0x00007f66696a9ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f666b0bdfc0 (LWP 3514)):
#0  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:152
#1  0x00007f666acd4565 in memcpy (__len=18446744072362176946, __src=<optimized out>, __dest=0x7fffa748c648) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
#2  cut_out_msg (appflags=0, len=0x7fffa7c524cc, buf=0x7fffa748c648 "Q\314\022j", full_msg=-1347374666, net=0x214cb90) at /home/mvitolin/projects/endurox/libexnet/exnet.c:303
#3  exnet_recv_sync (net=net@entry=0x214cb90, buf=buf@entry=0x7fffa748c648 "Q\314\022j", len=len@entry=0x7fffa7c524cc, flags=flags@entry=0, appflags=appflags@entry=0) at /home/mvitolin/projects/endurox/libexnet/exnet.c:362
#4  0x00007f666acd4c98 in exnet_poll_cb (fd=<optimized out>, events=<optimized out>, ptr1=0x214cb90) at /home/mvitolin/projects/endurox/libexnet/exnet.c:535
#5  0x00007f666aac0699 in sv_wait_for_request () at /home/mvitolin/projects/endurox/libatmisrv/svqdispatch.c:1209
#6  0x00007f666aac6275 in ndrx_main (argc=18, argv=0x7fffa8418578) at /home/mvitolin/projects/endurox/libatmisrv/srvmain.c:471
#7  0x00007f66695cdf45 in __libc_start_main (main=0x4035c0 <main>, argc=18, argv=0x7fffa8418578, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa8418568) at libc-start.c:287
#8  0x00000000004035fb in _start ()
(gdb) 

#5 Updated by Madars over 6 years ago

  700200  5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a  [\]^_`abcdefghij
  700210  6b 6c 6d 6e 6f 70 71 72 73 74 75 76 77 78 79 7a  klmnopqrstuvwxyz
  700220  7b 7c 7d 7e 7f 80 81 82 83 84 85 86 87 88 89 8a  {|}~............
  700230  8b 8c 8d 8e 8f 90 91 92 93 94 95 96 97 98 99 9a  ................
  700240  9b 9c 9d 9e 9f a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa  ................
  700250  ab ac ad ae                                      ....
m:NDRX:4: 3514:7f666b0bdfc0:000:20171101:004208389:/exnet.c:0310:net->dl = 809996 after cut
m:NDRX:5: 3514:7f666b0bdfc0:000:20171101:004208389:etwork.c:0198:br_process_msg: multi thread mode - dispatching to worker
m:NDRX:5: 3514:7f666b0bdfc0:000:20171101:004208392:/exnet.c:0272:pfx_len=-1347374670 msg_len=-1347374666
m:NDRX:5: 3514:7f666b0bdfc0:000:20171101:004208392:/exnet.c:0355:Data buffered - buf: [809996], full: -1347374666
m:NDRX:5: 3514:7f666b0bdfc0:000:20171101:004208392:/exnet.c:0359:Full msg in buffer
m:NDRX:5: 3514:7f666b0bdfc0:000:20171101:004208392:/exnet.c:0286:Msg len with out pfx: -1347374670, userbuf: 8150628
m:NDRX:5: 3514:7f666b0bdfc0:000:20171101:004208392:/exnet.c:0296:Got message, len: -1347374666
m:NDRX:5: 3514:7f666b0bdfc0:000:20171101:004208392:/exnet.c:0300:Got message: 
  f666b0bdfc0:000:20171101:0042083  
m:NDRX:5: 3532:7f6fb58dafc0:000:20171101:004209013:i/init.c:0211:Max servers set to 10000
m:NDRX:5: 3532:7f6fb58dafc0:000:20171101:004209013:i/init.c:0227:Max services set to 10000

#6 Updated by Madars over 6 years ago

1.

70:7fd0ad06f7c0:000:20171101:012941788:spatch.c:1267:Got request on logical channel 2, fd: 10
N:NDRX:5: 8370:7fd0ad06f7c0:000:20171101:012941788:spatch.c:0742:Got command: 1
N:NDRX:5: 8370:7fd0ad06f7c0:000:20171101:012941788:spatch.c:0240:got call, cd: 16382 timestamp: 1509492576 (id: 163821509492576) callseq: 1, svc: TESTSV, flags: 0, call age: 5, data_len: 7340088, caller: clt,atmiclt42,8419,0,1  reply_to: 
/dom1,clt,reply,atmiclt42,8419,0
N:NDRX:5: 8370:7fd0ad06f7c0:000:20171101:012941788:ed_ubf.c:0116:Entering UBF_prepare_incoming
N:NDRX:5: 8370:7fd0ad06f7c0:000:20171101:012941788:ed_ubf.c:0202:UBF_prepare_incoming: Incoming buffer where missing - allocating new (size: 0)!
N:NDRX:5: 8370:7fd0ad06f7c0:000:20171101:012941788:ed_buf.c:0200:ndrx_tpalloc: type=NULL, subtype=NULL len=0
N:NDRX:5: 8370:7fd0ad06f7c0:000:20171101:012941788:ed_buf.c:0242:ndrx_tpalloc: type=NULL subtype=NULL len=1024 allocated=0xd94a20
N:NDRX:2: 8370:7fd0ad06f7c0:000:20171101:012941788:ed_ubf.c:0220:Bcpy failed!: 4:No space in bisubf buffer (last error 4: Destination buffer too short. Dest buf len: 1076 source buf bytes used: 7340088)
N:NDRX:3: 8370:7fd0ad06f7c0:000:20171101:012941788:perror.c:0238:_TPset_error_msg: 7 (TPEOS) [4:No space in bisubf buffer (last error 4: Destination buffer too short. Dest buf len: 1076 source buf bytes used: 7340088)]
N:NDRX:3: 8370:7fd0ad06f7c0:000:20171101:012941788:iutils.c:0984:Replying  back to [/dom1,clt,reply,atmiclt42,8419,0] with TPESVCERR
N:NDRX:2: 8370:7fd0ad06f7c0:000:20171101:012941788:iutils.c:0986:Dumping original call in queue:
N:NDRX:2: 8370:7fd0ad06f7c0:000:20171101:012941788:tpcall.c:0079:=== Start of tp_command_call_t call dump, ptr=0x7fff62d0b510 ===
N:NDRX:2: 8370:7fd0ad06f7c0:000:20171101:012941788:tpcall.c:0080:command_id=[1]
N:NDRX:2: 8370:7fd0ad06f7c0:000:20171101:012941788:tpcall.c:0082:proto_ver=[^@^@^@^@]
N:NDRX:2: 8370:7fd0ad06f7c0:000:20171101:012941788:tpcall.c:0083:proto_magic=[0]
N:NDRX:2: 8370:7fd0ad06f7c0:000:20171101:012941788:tpcall.c:0084:buffer_type_id=[0]

2. Invalid message sizes in buffer after cut!

  700250  39 3a 3b 3c                                      9:;<
m:NDRX:4: 8371:7fad4cd76fc0:000:20171101:012941779:/exnet.c:0310:net->dl = 809996 after cut
m:NDRX:2: 8371:7fad4cd76fc0:000:20171101:012941779:/exnet.c:0365:YOPT: requesting bufsz:
m:NDRX:5: 8371:7fad4cd76fc0:000:20171101:012941779:/exnet.c:0272:pfx_len=1027489600 msg_len=1027489604
m:NDRX:5: 8371:7fad4cd76fc0:000:20171101:012941779:etwork.c:0198:br_process_msg: multi thread mode - dispatching to worker
m:NDRX:5: 8371:7fad4cd76fc0:000:20171101:012941783:/exnet.c:0272:pfx_len=1027489600 msg_len=1027489604
m:NDRX:5: 8371:7fad4cd76fc0:000:20171101:012941783:/exnet.c:0355:Data buffered - buf: [809996], full: 1027489604
m:NDRX:5: 8371:7fad4cd76fc0:000:20171101:012941783:/exnet.c:0372:Data needs to be received, dl=809996
m:NDRX:5: 8371:7fad4cd76fc0:000:20171101:012941786:/exnet.c:0383:Got packet:  (nr bytes: 6052998)

#7 Updated by Madars over 6 years ago

(gdb) where
#0  0x00007fd9f03cf0be in read_net_short (buf=0x1e33980 "\020\005", proto_buf_offset=0x7fd9ee65d070) at /home/mvitolin/projects/endurox/libnetproto/proto.c:1009
#1  0x00007fd9f03d1ac3 in _exproto_proto2ex (cur=0x0, proto_buf=0x0, proto_len=0, ex_buf=0x0, ex_offset=0, max_struct=0x0, level=0, p_x_fb=0x0, p_ub_data=0x0, ex_bufsz=0)
    at /home/mvitolin/projects/endurox/libnetproto/proto.c:1750
#2  0x0000000000000000 in ?? ()
(gdb) 

#8 Updated by Madars over 6 years ago

(gdb) thread apply all bt

Thread 6 (LWP 30888):
#0  0x0000000000407ce8 in br_send_to_net (buf=0x1e33ad0 "", len=184, msg_type=88 'X', command_id=46) at /home/mvitolin/projects/endurox/bridge/network.c:564
#1  0x0000000000405f2c in br_got_message_from_q_th (ptr=0x1e33ab0, p_finish_off=0x7fd9d894f24c) at /home/mvitolin/projects/endurox/bridge/queue.c:522
#2  0x000000000040c6c7 in poolthread_do (poolthread_p=0x1e30270) at /home/mvitolin/projects/endurox/libthpool/thpool.c:410
#3  0x00007fd9ef705184 in start_thread (arg=0x7fd9d8950380) at pthread_create.c:312
#4  0x00007fd9ef431ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (LWP 30885):
#0  0x00007fd9ef432693 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000000000000000 in ?? ()

Thread 4 (LWP 30890):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000040cba0 in bsem_wait (bsem_p=0x1e2e800) at /home/mvitolin/projects/endurox/libthpool/thpool.c:589
#2  0x000000000040c5ed in poolthread_do (poolthread_p=0x1e30590) at /home/mvitolin/projects/endurox/libthpool/thpool.c:392
#3  0x00007fd9ef705184 in start_thread (arg=0x7fd9c2c3e380) at pthread_create.c:312
#4  0x00007fd9ef431ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (LWP 30887):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000040cba0 in bsem_wait (bsem_p=0x1e2e800) at /home/mvitolin/projects/endurox/libthpool/thpool.c:589
#2  0x000000000040c5ed in poolthread_do (poolthread_p=0x1e2e910) at /home/mvitolin/projects/endurox/libthpool/thpool.c:392
#3  0x00007fd9ef705184 in start_thread (arg=0x7fd9e37d9380) at pthread_create.c:312
#4  0x00007fd9ef431ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (LWP 30889):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000000040cba0 in bsem_wait (bsem_p=0x1e2e800) at /home/mvitolin/projects/endurox/libthpool/thpool.c:589
#2  0x000000000040c5ed in poolthread_do (poolthread_p=0x1e30400) at /home/mvitolin/projects/endurox/libthpool/thpool.c:392
#3  0x00007fd9ef705184 in start_thread (arg=0x7fd9cdac7380) at pthread_create.c:312
#4  0x00007fd9ef431ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (LWP 30886):
#0  0x00007fd9f03cf0be in read_net_short (buf=0x1e33980 "\020\005", proto_buf_offset=0x7fd9ee65d070) at /home/mvitolin/projects/endurox/libnetproto/proto.c:1009
#1  0x00007fd9f03d1ac3 in _exproto_proto2ex (cur=0x0, proto_buf=0x0, proto_len=0, ex_buf=0x0, ex_offset=0, max_struct=0x0, level=0, p_x_fb=0x0, p_ub_data=0x0, ex_bufsz=0)
    at /home/mvitolin/projects/endurox/libnetproto/proto.c:1750
#2  0x0000000000000000 in ?? ()

#9 Updated by Madars over 6 years ago

N:NDRX:2:30374:7f47dbdaefc0:000:20171107:193137183:/exnet.c:0835:EXNET: client for: 127.0.0.1:44001
N:NDRX:2:30374:7f47dbdaefc0:000:20171107:193142190:/exnet.c:0723:connect() failed for fd=12: 115/Operation now in progress
N:NDRX:2:30374:7f47dbdaefc0:000:20171107:193142190:/exnet.c:0517:Failed to connect to server: Connection refused
N:NDRX:2:30374:7f47dbdaefc0:000:20171107:193142190:/exnet.c:0260:Disconnect received!
N:NDRX:2:30374:7f47dbdaefc0:000:20171107:193147195:/exnet.c:0723:connect() failed for fd=12: 115/Operation now in progress
N:NDRX:2:30374:7f47dbdaefc0:000:20171107:193147196:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x105f (magic) min_len=6 max_len=6 but got: 5
N:NDRX:2:30374:7f47dbdaefc0:000:20171107:193147196:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x10af (time) min_len=40 max_len=40 but got: 20
N:NDRX:2:30374:7f47a3a819c0:000:20171107:193147198:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x105f (magic) min_len=6 max_len=6 but got: 5
N:NDRX:2:30374:7f47a3a819c0:000:20171107:193147198:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x10f5 (svcs) min_len=1 max_len=9999999 but got: 0
N:NDRX:2:30374:7f47b589c9c0:001:20171107:193147199:/proto.c:1775:Experimental verification: WARNING! INVALID LEN! tag: 0x105f (magic) min_len=6 max_len=6 but got: 5
N:NDRX:2:30374:7f47b589c9c0:001:20171107:193147199:/proto.c:1775:Experimental verification: WARNING! INVALID LEN! tag: 0x10af (time) min_len=40 max_len=40 but got: 20
N:NDRX:2:30374:7f47c76b79c0:002:20171107:193147200:/proto.c:1775:Experimental verification: WARNING! INVALID LEN! tag: 0x105f (magic) min_len=6 max_len=6 but got: 5
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238365:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -374
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238365:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -16
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17
N:NDRX:2:30374:7f4791c669c0:003:20171107:193238366:/proto.c:1530:Experimental verification: WARNING! INVALID LEN! tag: 0x114f (carray) min_len=0 max_len=9999999 but got: -17

#10 Updated by Madars over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Private changed from Yes to No

#11 Updated by Madars over 6 years ago

  • Subject changed from DEV: 5.x - with debug level 2 test42 fails to DEV: 5. - with debug level 2 test42 fails

#12 Updated by Madars over 6 years ago

  • Subject changed from DEV: 5. - with debug level 2 test42 fails to DEV: 5.1 - with debug level 2 test42 fails
  • Status changed from Resolved to Closed

Also available in: Atom PDF