Reported by
mjeung (1237588112|%O ago)
When I send a large message in Direct mode, the broker crashes. The crash does not occur in regular mode.
1.) To reproduce, run the amq_server in "regular mode," then run the amq_client binary as follows:
./amq_client -x 2000000 -n 1
It should complete succesfully
2.) Restart amq_server in direct mode (use the —direct 1 command line parameter) and try running the amq_client as before.
3.) The amq_server will crash, with the following error:
amq_server: amq_server_agent.c:17519: action_write_direct_content: Assertion ‘rc’ failed.
Attachments:
No files attached to this page.
Comments
Who's following this issue?
Submitted by
mjeung
Use one of these tags to say what kind of issue it is:
- issue - a fault in the software or the packaging or the documentation.
- change - a change or feature request.
Use one of these tags to say what state the issue is in:
- open - a new, open issue.
- closed - issue has been closed.
- rejected - the issue has been rejected.
Use one of these tags to say how urgent the issue is:
- fatal - the issue is stopping all work.
- urgent - it's urgent.
All open
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (1264698241|%B %d, %Y) [open]
83 - WireAPI: How to 'override' signal handlers? (1263490390|%B %d, %Y) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (1262770441|%B %d, %Y) [open]
81 - AMQP Topic Exhange Routing (1262046077|%B %d, %Y) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (1258720402|%B %d, %Y) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (1256883113|%B %d, %Y) [open]
78 - Error while publishing the messages faster (1256882266|%B %d, %Y) [open]
77 - Tuning for latency (1256748435|%B %d, %Y) [open]
76 - New user forum (1256729358|%B %d, %Y) [change open]
74 - Simulaneous connect/disconnect from multiple threads crashes (1251991933|%B %d, %Y) [open]
73 - Topic Exchange not sending a message to XXX.* (1251234643|%B %d, %Y) [open]
72 - amq_content_basic_new() causes seg fault if not connected to broker (1250121043|%B %d, %Y) [open]
71 - zyre bugs (1249551228|%B %d, %Y) [open]
69 - OpenAMQ and Zyre (1247657260|%B %d, %Y) [open]
68 - Change names of max and min source code macros (1247244737|%B %d, %Y) [open]
67 - Server crash when multiple consumers ack on shared queue (1246016123|%B %d, %Y) [open]
63 - Broker Crashing (1242332233|%B %d, %Y) [open]
61 - Simple access rights model (1241180394|%B %d, %Y) [open]
60 - Fatal error in icl_mutex_lock (1241084787|%B %d, %Y) [open]
59 - Direct Mode "message too large" error (1240615062|%B %d, %Y) [open]
Most recent
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (1264698241|%B %d, %Y) [open]
83 - WireAPI: How to 'override' signal handlers? (1263490390|%B %d, %Y) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (1262770441|%B %d, %Y) [open]
81 - AMQP Topic Exhange Routing (1262046077|%B %d, %Y) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (1258720402|%B %d, %Y) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (1256883113|%B %d, %Y) [open]
78 - Error while publishing the messages faster (1256882266|%B %d, %Y) [open]
77 - Tuning for latency (1256748435|%B %d, %Y) [open]
76 - New user forum (1256729358|%B %d, %Y) [change open]
75 - crash while building on ubuntu 9.04 (1253002089|%B %d, %Y) [closed]







Server crash was caused by bug in assertion code, an easy patch is to change amq_server_agent.c:17519 to say 'assert (rc == 0);'.. Full fix including explanatory error message in WireAPI included in 1.4b2 and 1.3c6.
Portfolio