Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We need the os threads here
[simgrid.git] / doc / gtut-files / 10-rpc.output
1 $ ./test_server & ./test_client 127.0.0.1 
2 [blaise:client:(2223) 0.000005] test.c:95: [test/INFO] Ask to convert 4321
3 [blaise:client:(2223) 0.001210] test.c:97: [test/INFO] The server says that 4321 is equal to "4321".
4 [blaise:client:(2223) 0.001227] test.c:102: [test/INFO] Ask to convert 1234
5 [blaise:client:(2223) 0.001327] test.c:104: [test/INFO] The server says that "1234" is equal to 1234.
6 [blaise:client:(2223) 0.040861] test.c:111: [test/INFO] The server refuses to convert azerty. Here is the received exception:
7 [blaise:client:(2223) 0.040895] xbt/ex.c:229: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
8 ** SimGrid: UNCAUGHT EXCEPTION received on blaise(2223): category: invalid_arg; value: 0
9 ** Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
10 ** Thrown by server() in this process
11
12 **   In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:48 (static symbol)
13 **   In gras_msg_handle() at gras/Msg/msg.c:634 (dynamic symbol)
14 **   In server() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:72 (static symbol)
15 **   In main() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/_test_server.c:21 (static symbol)
16 **   In __libc_start_main() at ??:0 (dynamic symbol)
17 **   In _start() at ../sysdeps/i386/elf/start.S:122 (static symbol)
18 [blaise:client:(2223) 0.040933] test.c:113: [test/INFO] Again, previous exception was excepted
19 [blaise:client:(2223) 0.040957] test.c:117: [test/INFO] Stopped the server
20 [blaise:client:(2223) 0.040972] gras/gras.c:85: [gras/INFO] Exiting GRAS
21 [blaise:server:(2220) 0.000005] test.c:30: [test/INFO] Convert 4321 to string
22 [blaise:server:(2220) 0.000045] test.c:32: [test/INFO] 4321 converted to string: 4321
23 [blaise:server:(2220) 0.000197] test.c:44: [test/INFO] Convert 1234 to long
24 [blaise:server:(2220) 0.000294] test.c:44: [test/INFO] Convert azerty to long
25 [blaise:server:(2220) 0.040123] test.c:12: [test/INFO] Server done
26 [blaise:server:(2220) 0.040144] gras/gras.c:85: [gras/INFO] Exiting GRAS
27 $
28 $ killall test_server
29 $
30 $ ./test_simulator platform.xml test.xml
31 [Boivin:client:(2) 0.000000] test.c:95: [test/INFO] Ask to convert 4321
32 [Jacquelin:server:(1) 0.000538] test.c:30: [test/INFO] Convert 4321 to string
33 [Jacquelin:server:(1) 0.000538] test.c:32: [test/INFO] 4321 converted to string: 4321
34 [Boivin:client:(2) 0.001077] test.c:97: [test/INFO] The server says that 4321 is equal to "4321".
35 [Boivin:client:(2) 0.001077] test.c:102: [test/INFO] Ask to convert 1234
36 [Jacquelin:server:(1) 0.001615] test.c:44: [test/INFO] Convert 1234 to long
37 [Boivin:client:(2) 0.002153] test.c:104: [test/INFO] The server says that "1234" is equal to 1234.
38 [Jacquelin:server:(1) 0.002692] test.c:44: [test/INFO] Convert azerty to long
39 [Boivin:client:(2) 0.003435] test.c:111: [test/INFO] The server refuses to convert azerty. Here is the received exception:
40 [Boivin:client:(2) 0.003435] xbt/ex.c:229: [xbt_ex/CRITICAL] Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
41 ** SimGrid: UNCAUGHT EXCEPTION received on Boivin(2): category: invalid_arg; value: 0
42 ** Error while converting azerty: this does not seem to be a valid number (problem at 'azerty')
43 ** Thrown by server() in this process
44
45 **   In server_convert_a2i_cb() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:48 (static symbol)
46 **   In gras_msg_handle() at gras/Msg/msg.c:634 (dynamic symbol)
47 **   In server() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/test.c:72 (static symbol)
48 **   In launch_server() at /home/mquinson/CVSIMPORT/gras/gras/doc/gtut-files/_test_simulator.c:51 (static symbol)
49 **   In __context_exit() at xbt/context.c:116 (dynamic symbol)
50 **   In start_thread() at ??:0 (dynamic symbol)
51 **   In clone() at ??:0 (dynamic symbol)
52 [Boivin:client:(2) 0.003435] test.c:113: [test/INFO] Again, previous exception was excepted
53 [Boivin:client:(2) 0.003972] test.c:117: [test/INFO] Stopped the server
54 [Boivin:client:(2) 0.003972] gras/gras.c:85: [gras/INFO] Exiting GRAS
55 [Jacquelin:server:(1) 0.003972] test.c:12: [test/INFO] Server done
56 [Jacquelin:server:(1) 0.003972] gras/gras.c:85: [gras/INFO] Exiting GRAS
57 [0.003972] msg/global.c:479: [msg_kernel/INFO] Congratulations ! Simulation terminated : all processes are over
58 $