Comments (13)
Igor, please notice that Meny used feed file with 5 sockets and run the server
with 5 threads.
After you fix it, please see if this also fixes Alex Seydin's issue and let us
know.
Original comment by [email protected]
on 29 Mar 2011 at 9:54
- Changed state: Accepted
- Added labels: Priority-High
- Removed labels: Priority-Medium
from sockperf.
Original comment by [email protected]
on 31 Mar 2011 at 7:27
- Changed state: Started
from sockperf.
I can not reproduce issue you described with sockperf 2.5.25 on following
system as
- Linux version 2.6.18-164.el5 ([email protected]) (gcc version
4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Sep 3 03:28:30 EDT 2009
- (GNU libc) 2.5
Steps to reproduce:
- launch: $sockperf sr -f udp_10.txt -F s --threads-num=10
- launch: $sockperf pp -f udp_10.txt -F s
- ^C for server after client completion
I suppose seeing backtrace (thanks for that) fault could relate issue described
at
http://sourceware.org/bugzilla/show_bug.cgi?id=4509
Meny,
could you set more detail info about used system including libc version.
In addition,
check latest version of sockperf on your system as long as it should include
additional validation of TID before pthread_kill() call.
Original comment by [email protected]
on 31 Mar 2011 at 1:51
from sockperf.
Meny,
Have you observed issue on different systems?
Could you please put core dump of the issue case on bgate into /tmp and send
info about used system and libc.
Thanks
Original comment by [email protected]
on 5 Apr 2011 at 6:42
from sockperf.
Igor, I ran it on another O.S. same result.
Try ending server proceess (^c) after client finishes.
Original comment by [email protected]
on 5 Apr 2011 at 10:57
from sockperf.
Meny,
I believe I do the same (see comments #3). I have experimented with different
combinations as 1000records/10threads, 10/10, 1000/100 etc.
It is possible that core dump helps to see root of issue. Send system info you
tried also (may be the issue is system depended).
Thanks
Original comment by [email protected]
on 5 Apr 2011 at 11:49
from sockperf.
Here is the bt, hope it helps.
(gdb) thread 1
[Switching to thread 1 (Thread 32481)]#0 0x00000033af20c670 in pthread_kill ()
from /lib64/libpthread.so.0
(gdb) bt
#0 0x00000033af20c670 in pthread_kill () from /lib64/libpthread.so.0
#1 0x00000000005873bf in server_select_per_thread() ()
#2 0x000000000059a8f1 in main ()
(gdb) thread 2
[Switching to thread 2 (Thread 32482)]#0 0x00000033aeeda093 in select () from
/lib64/libc.so.6
(gdb) bt
#0 0x00000033aeeda093 in select () from /lib64/libc.so.6
#1 0x000000000058c2e4 in Server<IoSelect, SwitchOff, SwitchOff>::doLoop() ()
#2 0x0000000000593932 in void server_handler<IoSelect, SwitchOff,
SwitchOff>(int, int, int) ()
#3 0x00000000005878f1 in server_handler_for_multi_threaded(void*) ()
#4 0x00000033af2077e1 in start_thread () from /lib64/libpthread.so.0
#5 0x00000033aeee153d in clone () from /lib64/libc.so.6
(gdb) thread 3
[Switching to thread 3 (Thread 32483)]#0 0x00000033aeeda093 in select () from
/lib64/libc.so.6
(gdb) bt
#0 0x00000033aeeda093 in select () from /lib64/libc.so.6
#1 0x000000000058c2e4 in Server<IoSelect, SwitchOff, SwitchOff>::doLoop() ()
#2 0x0000000000593932 in void server_handler<IoSelect, SwitchOff,
SwitchOff>(int, int, int) ()
#3 0x00000000005878f1 in server_handler_for_multi_threaded(void*) ()
#4 0x00000033af2077e1 in start_thread () from /lib64/libpthread.so.0
#5 0x00000033aeee153d in clone () from /lib64/libc.so.6
(gdb) thread 4
[Switching to thread 4 (Thread 32488)]#0 0x00000033aeeda093 in select () from
/lib64/libc.so.6
(gdb) bt
#0 0x00000033aeeda093 in select () from /lib64/libc.so.6
#1 0x000000000058c2e4 in Server<IoSelect, SwitchOff, SwitchOff>::doLoop() ()
#2 0x0000000000593932 in void server_handler<IoSelect, SwitchOff,
SwitchOff>(int, int, int) ()
#3 0x00000000005878f1 in server_handler_for_multi_threaded(void*) ()
#4 0x00000033af2077e1 in start_thread () from /lib64/libpthread.so.0
#5 0x00000033aeee153d in clone () from /lib64/libc.so.6
Original comment by [email protected]
on 6 Apr 2011 at 8:25
from sockperf.
Checked sockperf r2.5.27, r2.5.43
Fedora14:
Linux fedoravm 2.6.35.6-48.fc14.i686 #1 SMP Fri Oct 22 15:34:36 UTC 2010 i686
i686 i386 GNU/Linux
(GNU Libc) 2.13
Ubuntu9.04:
Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
GNU/Linux
(GNU libc) 2.9
Original comment by [email protected]
on 6 Apr 2011 at 1:09
from sockperf.
Meny,
Thank you for bt you sent but it does not make issue clearer.
Could you send output of 'uname -a' and 'ldd --version' from the hosts you have
used.
Original comment by [email protected]
on 6 Apr 2011 at 1:12
from sockperf.
*uname -a
Linux ronaldo3 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64
x86_64 x86_64 GNU/Linux
*ldd --version
ldd (GNU libc) 2.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Original comment by [email protected]
on 7 Apr 2011 at 5:30
from sockperf.
Modified thread termination procedure for multi-threads server mode in r46.
Meny,
Could you verify r46 for this issue.
Original comment by [email protected]
on 8 Apr 2011 at 1:19
from sockperf.
Checked it. No seg fault.
verified with r46
Original comment by [email protected]
on 17 Apr 2011 at 9:16
from sockperf.
r46
Original comment by [email protected]
on 18 Apr 2011 at 7:14
- Changed state: Fixed
from sockperf.
Related Issues (20)
- ERROR: _seqN > m_maxSequenceNo in v3.7 HOT 9
- ping-pong on Arm seems does not respect --mps parameter HOT 3
- Configure attempts to compile c++ code with gcc but not with g++ HOT 2
- print date&time every time it is executed HOT 4
- Floating point exception with --histogram HOT 2
- How to read sockperf output HOT 4
- _seqN > m_maxSequenceNo (100% reproducible on ppc64le architecture) HOT 4
- sockperf tcp mode: 100% cpu HOT 7
- Void function returing according to the documentation a value
- Non documented argument of function process_buffer
- Confusing commenting out code
- Need help on Sockperf configuration on Azure Ubuntu instances HOT 9
- sockperf server hung on sockperf: [tid1269] using recvfrom() to block on socket(s) HOT 4
- how to install sockperf onwindows 10 and window 11 machines HOT 8
- RedHat support HOT 2
- Simetimes I get "No messages received" and have to retry HOT 3
- sockperf crashed due to segment fault when using libvma HOT 13
- Soak Testing Multicast Environments with More Than One Receiver HOT 2
- TCP testing with -F doesn't work HOT 1
- Memory issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sockperf.