40 - 1.3c2 server crash with direct mode enabled

Reported by mclaughlin77mclaughlin77 (1228405882|%O ago)

[root@vm3-test-125 bin]# gdb ./amq_server core.19974
GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"…Using host libthread_db library "/lib/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libm.so.6…done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0…done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6…done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2…done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2…done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2…done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2…done.
Loaded symbols for /lib/libresolv.so.2
Core was generated by ‘./amq_server -b —log_path /opt/ibase/log/ —heartbeat 10 —direct 1’.
Program terminated with signal 11, Segmentation fault.
#0 0x008d5e33 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x008d5e33 in strlen () from /lib/libc.so.6
#1 0x0810bd52 in apr_vformatter (flush_func=0x810a770 <snprintf_flush>, vbuff=0xb575422c,
fmt=0x8199117 "s): no action", ap=0xb57542e4 "") at strings/apr_snprintf.c:968
#2 0x0810c4dd in apr_vsnprintf (
buf=0x8ff5f85 "I: queue=dispatch_queue hit 1000 (client at rnel Client version=1.3c2", len=2026,
format=0x0, ap=0x73 <Address 0x73 out of bounds>) at strings/apr_snprintf.c:1353
#3 0x08185eb6 in smt_log_print_v (self=0x8f8df38, format=0x81990f8 "I: queue=%s hit %d (client at %s): no action",
args=0xb57542d8 "��\225\t�\003") at smt_log.c:786
#4 0x08185f65 in smt_log_print (self=0x8f8df38, format=0x81990f8 "I: queue=%s hit %d (client at %s): no action")
at smt_log.c:730
#5 0x08087bfc in amq_queue_basic_publish (self=0x9962fe0, channel=0x0, content=0x9856c820, immediate=0)
at amq_queue_basic.c:389
#6 0x080831ca in amq_queue_agent_manager (thread_p=0xb57543a4) at amq_queue_agent.c:4011
#7 0x0816765e in s_execute (apr_thread=0x8e74800, data=0x8e4c428) at smt_os_thread.c:3216
#8 0x0818c0e6 in dummy_worker (opaque=0x8e74800) at threadproc/unix/thread.c:138
#9 0x009df43b in start_thread () from /lib/libpthread.so.0
#10 0x00936fde in clone () from /lib/libc.so.6
(gdb)

I've run the same scenario with direct mode disabled and it does not crash.

Attachments:

No files attached to this page.

Comments

Add a New Comment

Edit | Files | Tags | Print

rating: 0+x

Who's following this issue?

pieterhpieterh
martin_sustrikmartin_sustrik
mclaughlin77mclaughlin77
CybariteCybarite
Watch: site | category | page

Submitted by mclaughlin77mclaughlin77

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

89 - multi-threaded client connection failure (17 Nov 2012 16:28) [open]
87 - Zyre returns incomplete XML (26 Apr 2010 08:15) [open]
86 - SFL 'random(num)' macro is wrong in sfl.h (31 Mar 2010 09:23) [open]
85 - Zyre does not start on Solaris (23 Mar 2010 01:29) [open]
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (28 Jan 2010 17:04) [open]
83 - WireAPI: How to 'override' signal handlers? (14 Jan 2010 17:33) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (06 Jan 2010 09:34) [open]
81 - AMQP Topic Exhange Routing (29 Dec 2009 00:21) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (20 Nov 2009 12:33) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (30 Oct 2009 06:11) [open]
78 - Error while publishing the messages faster (30 Oct 2009 05:57) [open]
77 - Tuning for latency (28 Oct 2009 16:47) [open]
76 - New user forum (28 Oct 2009 11:29) [change open]
74 - Simulaneous connect/disconnect from multiple threads crashes (03 Sep 2009 15:32) [open]
73 - Topic Exchange not sending a message to XXX.* (25 Aug 2009 21:10) [open]
72 - amq_content_basic_new() causes seg fault if not connected to broker (12 Aug 2009 23:50) [open]
71 - zyre bugs (06 Aug 2009 09:33) [open]
69 - OpenAMQ and Zyre (15 Jul 2009 11:27) [open]
68 - Change names of max and min source code macros (10 Jul 2009 16:52) [open]
67 - Server crash when multiple consumers ack on shared queue (26 Jun 2009 11:35) [open]

page 1 of 212next »

Most recent