Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T1010
Change Details
Change Details
Old
New
Diff
When using in TCL `mq connect <host> <user> <password> <vhost>`: ``` $ valgrind ./eggdrop-1.8.0 -nt Oberon/eggdrop.conf [...] .tcl source scripts/Wearg/Broker.tcl .tcl source scripts/Wearg/Notifications.tcl .tcl broker::init ==24002== Conditional jump or move depends on uninitialised value(s) ==24002== at 0x9E06EDE: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9E06D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9BF4FEC: mq_connect (rabbitmq-tcl.c:366) ==24002== by 0x9BF47DD: call_mq_command (rabbitmq-tcl.c:263) ==24002== by 0x9BF6020: mq_command (rabbitmq-tcl.c:234) … ==24002== ==24002== Conditional jump or move depends on uninitialised value(s) ==24002== at 0x9E074D7: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9E06D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9BF4FEC: mq_connect (rabbitmq-tcl.c:366) ==24002== by 0x9BF47DD: call_mq_command (rabbitmq-tcl.c:263) ==24002== by 0x9BF6020: mq_command (rabbitmq-tcl.c:234) … ``` NOTE: Error occurs only once per interpreter.
When using in TCL `mq connect <host>`: ```name=With incorrect credentials $ valgrind tclsh --track-origins=yes ==24458== Memcheck, a memory error detector ==24458== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==24458== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==24458== Command: tclsh --track-origins=yes ==24458== % load ./rabbitmq.so % mq connected 0 % mq connect localhost Can't connect to the broker. % mq connect white-rabbit.nasqueron.org ==24458== Conditional jump or move depends on uninitialised value(s) ==24458== at 0x6618EDE: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6618D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6406FEC: mq_connect (rabbitmq-tcl.c:366) ==24458== by 0x64067DD: call_mq_command (rabbitmq-tcl.c:263) ==24458== by 0x6408020: mq_command (rabbitmq-tcl.c:234) … ==24458== ==24458== Conditional jump or move depends on uninitialised value(s) ==24458== at 0x66194D7: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6618D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6406FEC: mq_connect (rabbitmq-tcl.c:366) ==24458== by 0x64067DD: call_mq_command (rabbitmq-tcl.c:263) ==24458== by 0x6408020: mq_command (rabbitmq-tcl.c:234) … Can't login to the broker. ``` ```name=With correct credentials $ valgrind ./eggdrop-1.8.0 -nt Oberon/eggdrop.conf [...] .tcl source scripts/Wearg/Broker.tcl .tcl source scripts/Wearg/Notifications.tcl .tcl broker::init ==24002== Conditional jump or move depends on uninitialised value(s) ==24002== at 0x9E06EDE: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9E06D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9BF4FEC: mq_connect (rabbitmq-tcl.c:366) ==24002== by 0x9BF47DD: call_mq_command (rabbitmq-tcl.c:263) ==24002== by 0x9BF6020: mq_command (rabbitmq-tcl.c:234) … ==24002== ==24002== Conditional jump or move depends on uninitialised value(s) ==24002== at 0x9E074D7: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9E06D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9BF4FEC: mq_connect (rabbitmq-tcl.c:366) ==24002== by 0x9BF47DD: call_mq_command (rabbitmq-tcl.c:263) ==24002== by 0x9BF6020: mq_command (rabbitmq-tcl.c:234) … ``` NOTE: Error occurs only once per interpreter.
When using in TCL `mq connect <host>
<user> <password> <vhost>
`:
```name=With incorrect credentials $ valgrind tclsh --track-origins=yes ==24458== Memcheck, a memory error detector ==24458== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==24458== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==24458== Command: tclsh --track-origins=yes ==24458== % load ./rabbitmq.so % mq connected 0 % mq connect localhost Can't connect to the broker. % mq connect white-rabbit.nasqueron.org ==24458== Conditional jump or move depends on uninitialised value(s) ==24458== at 0x6618EDE: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6618D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6406FEC: mq_connect (rabbitmq-tcl.c:366) ==24458== by 0x64067DD: call_mq_command (rabbitmq-tcl.c:263) ==24458== by 0x6408020: mq_command (rabbitmq-tcl.c:234) … ==24458== ==24458== Conditional jump or move depends on uninitialised value(s) ==24458== at 0x66194D7: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6618D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24458== by 0x6406FEC: mq_connect (rabbitmq-tcl.c:366) ==24458== by 0x64067DD: call_mq_command (rabbitmq-tcl.c:263) ==24458== by 0x6408020: mq_command (rabbitmq-tcl.c:234) … Can't login to the broker.
```
```name=With correct credentials
$ valgrind ./eggdrop-1.8.0 -nt Oberon/eggdrop.conf [...] .tcl source scripts/Wearg/Broker.tcl .tcl source scripts/Wearg/Notifications.tcl .tcl broker::init ==24002== Conditional jump or move depends on uninitialised value(s) ==24002== at 0x9E06EDE: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9E06D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9BF4FEC: mq_connect (rabbitmq-tcl.c:366) ==24002== by 0x9BF47DD: call_mq_command (rabbitmq-tcl.c:263) ==24002== by 0x9BF6020: mq_command (rabbitmq-tcl.c:234) … ==24002== ==24002== Conditional jump or move depends on uninitialised value(s) ==24002== at 0x9E074D7: ??? (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9E06D9C: amqp_login (in /usr/local/lib/librabbitmq.so.4.1.3) ==24002== by 0x9BF4FEC: mq_connect (rabbitmq-tcl.c:366) ==24002== by 0x9BF47DD: call_mq_command (rabbitmq-tcl.c:263) ==24002== by 0x9BF6020: mq_command (rabbitmq-tcl.c:234) … ``` NOTE: Error occurs only once per interpreter.
Continue