<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Store Tools for Kannel</title>
	<atom:link href="http://www.blogalex.com/archives/72/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blogalex.com/archives/72</link>
	<description>Alex Guerrieri&#039;s Blog</description>
	<lastBuildDate>Tue, 13 Dec 2011 10:41:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: thuyle</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-211</link>
		<dc:creator>thuyle</dc:creator>
		<pubDate>Tue, 18 Jan 2011 04:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-211</guid>
		<description>I tried, it worked but after deleting about 500 messages, it shew this error when I were trying to list messages again:
./store_tools -c /etc/kannel/kannel.conf list
Listing records 1 -&gt; 100
+-˜Q®-------------------------------------+-pQ®-----------+-ˆQ®----------+-ˆQ®---------------+- Q®---------------------------------------------------+
&#124; message id                           &#124; from       &#124; to         &#124; smsc           &#124; text                                               &#124;
+-°Q®-------------------------------------+-pQ®-----------+-ˆQ®----------+-ˆQ®---------------+- Q®---------------------------------------------------+
&#124; f2dd97f9-7a0e-4fb2-9cb1-f54325a4e504 &#124; +84904539184 &#124; +047527    &#124; VMS            &#124; XSMB                                               &#124;
*** glibc detected *** ./store_tools: free(): invalid next size (fast): 0x08a687d0 ***
======= Backtrace: =========
/lib/libc.so.6[0x9f85a5]
/lib/libc.so.6(cfree+0x59)[0x9f89e9]
./store_tools(octstr_destroy+0x3d)[0x8069f4d]
./store_tools(octstr_format_valist_real+0x213)[0x806b4f3]
./store_tools(octstr_format+0x1b)[0x806be9b]
./store_tools[0x8051820]
./store_tools[0x8051979]
./store_tools[0x8051e68]
./store_tools(main+0x27b)[0x804fa8b]
/lib/libc.so.6(__libc_start_main+0xdc)[0x9a4e9c]
./store_tools[0x804f361]
======= Memory map: ========
00101000-0022d000 r-xp 00000000 fd:00 3947847    /usr/lib/libxml2.so.2.6.26
0022d000-00232000 rwxp 0012c000 fd:00 3947847    /usr/lib/libxml2.so.2.6.26
00232000-00233000 rwxp 00232000 00:00 0 
00235000-0035f000 r-xp 00000000 fd:00 2228298    /lib/libcrypto.so.0.9.8e
0035f000-00372000 rwxp 00129000 fd:00 2228298    /lib/libcrypto.so.0.9.8e
00372000-00376000 rwxp 00372000 00:00 0 
00376000-003b1000 r-xp 00000000 fd:00 2229671    /lib/libsepol.so.1
003b1000-003b2000 rwxp 0003b000 fd:00 2229671    /lib/libsepol.so.1
003b2000-003bc000 rwxp 003b2000 00:00 0 
00483000-00485000 r-xp 00000000 fd:00 2228262    /lib/libcom_err.so.2.1
00485000-00486000 rwxp 00001000 fd:00 2228262    /lib/libcom_err.so.2.1
00488000-004ae000 r-xp 00000000 fd:00 3945735    /usr/lib/libk5crypto.so.3.1
004ae000-004af000 rwxp 00025000 fd:00 3945735    /usr/lib/libk5crypto.so.3.1
004b1000-004f5000 r-xp 00000000 fd:00 2228280    /lib/libssl.so.0.9.8e
004f5000-004f9000 rwxp 00043000 fd:00 2228280    /lib/libssl.so.0.9.8e
00970000-0098b000 r-xp 00000000 fd:00 2228286    /lib/ld-2.5.so
0098b000-0098c000 r-xp 0001a000 fd:00 2228286    /lib/ld-2.5.so
0098c000-0098d000 rwxp 0001b000 fd:00 2228286    /lib/ld-2.5.so
0098f000-00ae2000 r-xp 00000000 fd:00 2229116    /lib/libc-2.5.so
00ae2000-00ae4000 r-xp 00152000 fd:00 2229116    /lib/libc-2.5.so
00ae4000-00ae5000 rwxp 00154000 fd:00 2229116    /lib/libc-2.5.so
00ae5000-00ae8000 rwxp 00ae5000 00:00 0 
00aea000-00aed000 r-xp 00000000 fd:00 2229659    /lib/libdl-2.5.so
00aed000-00aee000 r-xp 00002000 fd:00 2229659    /lib/libdl-2.5.so
00aee000-00aef000 rwxp 00003000 fd:00 2229659    /lib/libdl-2.5.so
00af1000-00b06000 r-xp 00000000 fd:00 2229664    /lib/libpthread-2.5.so
00b06000-00b07000 r-xp 00015000 fd:00 2229664    /lib/libpthread-2.5.so
00b07000-00b08000 rwxp 00016000 fd:00 2229664    /lib/libpthread-2.5.so
00b08000-00b0a000 rwxp 00b08000 00:00 0 
00b0c000-00b33000 r-xp 00000000 fd:00 2229660    /lib/libm-2.5.so
00b33000-00b34000 r-xp 00026000 fd:00 2229660    /lib/libm-2.5.so
00b34000-00b35000 rwxp 00027000 fd:00 2229660    /lib/libm-2.5.so
00b37000-00b49000 r-xp 00000000 fd:00 3945618    /usr/lib/libz.so.1.2.3
00b49000-00b4a000 rwxp 00011000 fd:00 3945618    /usr/lib/libz.so.1.2.3
00b4c000-00b53000 r-xp 00000000 fd:00 2229665    /lib/librt-2.5.so
00b53000-00b54000 r-xp 00007000 fd:00 2229665    /lib/librt-2.5.so
00b54000-00b55000 rwxp 00008000 fd:00 2229665    /lib/librt-2.5.so
00b57000-00b6d000 r-xp 00000000 fd:00 2229672    /lib/libselinux.so.1
00b6d000-00b6f000 rwxp 00015000 fd:00 2229672    /lib/libselinux.so.1
00b9a000-00b9b000 r-xp 00b9a000 00:00 0          [vdso]
00c59000-00c6e000 r-xp 00000000 fd:00 2229663    /lib/libnsl-2.5.so
00c6e000-00c6f000 r-xp 00014000 fd:00 2229663    /lib/libnsl-2.5.so
00c6f000-00c70000 rwxp 00015000 fd:00 2229663    /lib/libnsl-2.5.so
00c70000-00c72000 rwxp 00c70000 00:00 0 
00c74000-00c7f000 r-xp 00000000 fd:00 2229661    /lib/libgcc_s-4.1.2-20080825.so.1
00c7f000-00c80000 rwxp 0000a000 fd:00 2229661    /lib/libgcc_s-4.1.2-20080825.so.1
00d24000-00d51000 r-xp 00000000 fd:00 3942427    /usr/lib/libgssapi_krb5.so.2.2
00d51000-00d52000 rwxp 0002d000 fd:00 3942427    /usr/lib/libgssapi_krb5.so.2.2
00d64000-00d66000 r-xp 00000000 fd:00 2228317    /lib/libkeyutils-1.2.so
00d66000-00d67000 rwxp 00001000 fd:00 2228317    /lib/libkeyutils-1.2.so
00d69000-00d79000 r-xp 00000000 fd:00 2229678    /lib/libresolv-2.5.so
00d79000-00d7a000 r-xp 0000f000 fd:00 2229678    /lib/libresolv-2.5.so
00d7a000-00d7b000 rwxp 00010000 fd:00 2229678    /lib/libresolv-2.5.so
00d7b000-00d7d000 rwxp 00d7b000 00:00 0 
00dcf000-00dd7000 r-xp 00000000 fd:00 3940306    /usr/lib/libkrb5support.so.0.1
00dd7000-00dd8000 rwxp 00007000 fd:00 3940306    /usr/lib/libkrb5support.so.0.1
00e5f000-00e69000 r-xp 00000000 fd:00 2229196    /lib/libnss_files-2.5.so
00e69000-00e6a000 r-xp 00009000 fd:00 2229196    /lib/libnss_files-2.5.so
00e6a000-00e6b000 rwxp 0000a000 fd:00 2229196    /lib/libnss_files-2.5.so
04461000-044f4000 r-xp 00000000 fd:00 3942417    /usr/lib/libkrb5.so.3.3
044f4000-044f7000 rwxp 00092000 fd:00 3942417    /usr/lib/libkrb5.so.3.3
08048000-08083000 r-xp 00000000 fd:00 4588417    /home/thuylx/gateway-1.4.3/test/store_tools
08083000-08084000 rw-p 0003b000 fd:00 4588417    /home/thuylx/gateway-1.4.3/test/store_tools
08084000-08112000 rw-p 08084000 00:00 0 
089f1000-08a96000 rw-p 089f1000 00:00 0          [heap]
b7f7f000-b7f85000 rw-p b7f7f000 00:00 0 
b7f90000-b7f91000 rw-p b7f90000 00:00 0 
bfe5b000-bfe70000 rw-p bffe9000 00:00 0          [stack]
Aborted</description>
		<content:encoded><![CDATA[<p>I tried, it worked but after deleting about 500 messages, it shew this error when I were trying to list messages again:<br />
./store_tools -c /etc/kannel/kannel.conf list<br />
Listing records 1 -&gt; 100<br />
+-˜Q®&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+-pQ®&#8212;&#8212;&#8212;&#8211;+-ˆQ®&#8212;&#8212;&#8212;-+-ˆQ®&#8212;&#8212;&#8212;&#8212;&#8212;+- Q®&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| message id                           | from       | to         | smsc           | text                                               |<br />
+-°Q®&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+-pQ®&#8212;&#8212;&#8212;&#8211;+-ˆQ®&#8212;&#8212;&#8212;-+-ˆQ®&#8212;&#8212;&#8212;&#8212;&#8212;+- Q®&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| f2dd97f9-7a0e-4fb2-9cb1-f54325a4e504 | +84904539184 | +047527    | VMS            | XSMB                                               |<br />
*** glibc detected *** ./store_tools: free(): invalid next size (fast): 0x08a687d0 ***<br />
======= Backtrace: =========<br />
/lib/libc.so.6[0x9f85a5]<br />
/lib/libc.so.6(cfree+0&#215;59)[0x9f89e9]<br />
./store_tools(octstr_destroy+0x3d)[0x8069f4d]<br />
./store_tools(octstr_format_valist_real+0&#215;213)[0x806b4f3]<br />
./store_tools(octstr_format+0x1b)[0x806be9b]<br />
./store_tools[0x8051820]<br />
./store_tools[0x8051979]<br />
./store_tools[0x8051e68]<br />
./store_tools(main+0x27b)[0x804fa8b]<br />
/lib/libc.so.6(__libc_start_main+0xdc)[0x9a4e9c]<br />
./store_tools[0x804f361]<br />
======= Memory map: ========<br />
00101000-0022d000 r-xp 00000000 fd:00 3947847    /usr/lib/libxml2.so.2.6.26<br />
0022d000-00232000 rwxp 0012c000 fd:00 3947847    /usr/lib/libxml2.so.2.6.26<br />
00232000-00233000 rwxp 00232000 00:00 0<br />
00235000-0035f000 r-xp 00000000 fd:00 2228298    /lib/libcrypto.so.0.9.8e<br />
0035f000-00372000 rwxp 00129000 fd:00 2228298    /lib/libcrypto.so.0.9.8e<br />
00372000-00376000 rwxp 00372000 00:00 0<br />
00376000-003b1000 r-xp 00000000 fd:00 2229671    /lib/libsepol.so.1<br />
003b1000-003b2000 rwxp 0003b000 fd:00 2229671    /lib/libsepol.so.1<br />
003b2000-003bc000 rwxp 003b2000 00:00 0<br />
00483000-00485000 r-xp 00000000 fd:00 2228262    /lib/libcom_err.so.2.1<br />
00485000-00486000 rwxp 00001000 fd:00 2228262    /lib/libcom_err.so.2.1<br />
00488000-004ae000 r-xp 00000000 fd:00 3945735    /usr/lib/libk5crypto.so.3.1<br />
004ae000-004af000 rwxp 00025000 fd:00 3945735    /usr/lib/libk5crypto.so.3.1<br />
004b1000-004f5000 r-xp 00000000 fd:00 2228280    /lib/libssl.so.0.9.8e<br />
004f5000-004f9000 rwxp 00043000 fd:00 2228280    /lib/libssl.so.0.9.8e<br />
00970000-0098b000 r-xp 00000000 fd:00 2228286    /lib/ld-2.5.so<br />
0098b000-0098c000 r-xp 0001a000 fd:00 2228286    /lib/ld-2.5.so<br />
0098c000-0098d000 rwxp 0001b000 fd:00 2228286    /lib/ld-2.5.so<br />
0098f000-00ae2000 r-xp 00000000 fd:00 2229116    /lib/libc-2.5.so<br />
00ae2000-00ae4000 r-xp 00152000 fd:00 2229116    /lib/libc-2.5.so<br />
00ae4000-00ae5000 rwxp 00154000 fd:00 2229116    /lib/libc-2.5.so<br />
00ae5000-00ae8000 rwxp 00ae5000 00:00 0<br />
00aea000-00aed000 r-xp 00000000 fd:00 2229659    /lib/libdl-2.5.so<br />
00aed000-00aee000 r-xp 00002000 fd:00 2229659    /lib/libdl-2.5.so<br />
00aee000-00aef000 rwxp 00003000 fd:00 2229659    /lib/libdl-2.5.so<br />
00af1000-00b06000 r-xp 00000000 fd:00 2229664    /lib/libpthread-2.5.so<br />
00b06000-00b07000 r-xp 00015000 fd:00 2229664    /lib/libpthread-2.5.so<br />
00b07000-00b08000 rwxp 00016000 fd:00 2229664    /lib/libpthread-2.5.so<br />
00b08000-00b0a000 rwxp 00b08000 00:00 0<br />
00b0c000-00b33000 r-xp 00000000 fd:00 2229660    /lib/libm-2.5.so<br />
00b33000-00b34000 r-xp 00026000 fd:00 2229660    /lib/libm-2.5.so<br />
00b34000-00b35000 rwxp 00027000 fd:00 2229660    /lib/libm-2.5.so<br />
00b37000-00b49000 r-xp 00000000 fd:00 3945618    /usr/lib/libz.so.1.2.3<br />
00b49000-00b4a000 rwxp 00011000 fd:00 3945618    /usr/lib/libz.so.1.2.3<br />
00b4c000-00b53000 r-xp 00000000 fd:00 2229665    /lib/librt-2.5.so<br />
00b53000-00b54000 r-xp 00007000 fd:00 2229665    /lib/librt-2.5.so<br />
00b54000-00b55000 rwxp 00008000 fd:00 2229665    /lib/librt-2.5.so<br />
00b57000-00b6d000 r-xp 00000000 fd:00 2229672    /lib/libselinux.so.1<br />
00b6d000-00b6f000 rwxp 00015000 fd:00 2229672    /lib/libselinux.so.1<br />
00b9a000-00b9b000 r-xp 00b9a000 00:00 0          [vdso]<br />
00c59000-00c6e000 r-xp 00000000 fd:00 2229663    /lib/libnsl-2.5.so<br />
00c6e000-00c6f000 r-xp 00014000 fd:00 2229663    /lib/libnsl-2.5.so<br />
00c6f000-00c70000 rwxp 00015000 fd:00 2229663    /lib/libnsl-2.5.so<br />
00c70000-00c72000 rwxp 00c70000 00:00 0<br />
00c74000-00c7f000 r-xp 00000000 fd:00 2229661    /lib/libgcc_s-4.1.2-20080825.so.1<br />
00c7f000-00c80000 rwxp 0000a000 fd:00 2229661    /lib/libgcc_s-4.1.2-20080825.so.1<br />
00d24000-00d51000 r-xp 00000000 fd:00 3942427    /usr/lib/libgssapi_krb5.so.2.2<br />
00d51000-00d52000 rwxp 0002d000 fd:00 3942427    /usr/lib/libgssapi_krb5.so.2.2<br />
00d64000-00d66000 r-xp 00000000 fd:00 2228317    /lib/libkeyutils-1.2.so<br />
00d66000-00d67000 rwxp 00001000 fd:00 2228317    /lib/libkeyutils-1.2.so<br />
00d69000-00d79000 r-xp 00000000 fd:00 2229678    /lib/libresolv-2.5.so<br />
00d79000-00d7a000 r-xp 0000f000 fd:00 2229678    /lib/libresolv-2.5.so<br />
00d7a000-00d7b000 rwxp 00010000 fd:00 2229678    /lib/libresolv-2.5.so<br />
00d7b000-00d7d000 rwxp 00d7b000 00:00 0<br />
00dcf000-00dd7000 r-xp 00000000 fd:00 3940306    /usr/lib/libkrb5support.so.0.1<br />
00dd7000-00dd8000 rwxp 00007000 fd:00 3940306    /usr/lib/libkrb5support.so.0.1<br />
00e5f000-00e69000 r-xp 00000000 fd:00 2229196    /lib/libnss_files-2.5.so<br />
00e69000-00e6a000 r-xp 00009000 fd:00 2229196    /lib/libnss_files-2.5.so<br />
00e6a000-00e6b000 rwxp 0000a000 fd:00 2229196    /lib/libnss_files-2.5.so<br />
04461000-044f4000 r-xp 00000000 fd:00 3942417    /usr/lib/libkrb5.so.3.3<br />
044f4000-044f7000 rwxp 00092000 fd:00 3942417    /usr/lib/libkrb5.so.3.3<br />
08048000-08083000 r-xp 00000000 fd:00 4588417    /home/thuylx/gateway-1.4.3/test/store_tools<br />
08083000-08084000 rw-p 0003b000 fd:00 4588417    /home/thuylx/gateway-1.4.3/test/store_tools<br />
08084000-08112000 rw-p 08084000 00:00 0<br />
089f1000-08a96000 rw-p 089f1000 00:00 0          [heap]<br />
b7f7f000-b7f85000 rw-p b7f7f000 00:00 0<br />
b7f90000-b7f91000 rw-p b7f90000 00:00 0<br />
bfe5b000-bfe70000 rw-p bffe9000 00:00 0          [stack]<br />
Aborted</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veerabahu</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-207</link>
		<dc:creator>Veerabahu</dc:creator>
		<pubDate>Tue, 23 Nov 2010 12:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-207</guid>
		<description>on running the same following error is dumped
{
Listing records 1 -&gt; 100
+-�+-------------------------------------+-X+-----------+-X+-----------+-X+---------------+-X+---------------------------------------------------+
&#124; message id                           &#124; from       &#124; to         &#124; smsc           &#124; text                                               &#124;
+-Z+-------------------------------------+-(Y+-----------+-xX+-----------+-X+---------------+-�+--------------------------------------------------+
*** glibc detected *** free(): invalid next size (fast): 0x0944c0c8 ***
Aborted

}
eventually nothing is listed 
command used is test/store_tools -c kannel.conf list
Linux RHEL 4 32 bit version
(GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)</description>
		<content:encoded><![CDATA[<p>on running the same following error is dumped<br />
{<br />
Listing records 1 -&gt; 100<br />
+-�+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+-X+&#8212;&#8212;&#8212;&#8211;+-X+&#8212;&#8212;&#8212;&#8211;+-X+&#8212;&#8212;&#8212;&#8212;&#8212;+-X+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| message id                           | from       | to         | smsc           | text                                               |<br />
+-Z+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+-(Y+&#8212;&#8212;&#8212;&#8211;+-xX+&#8212;&#8212;&#8212;&#8211;+-X+&#8212;&#8212;&#8212;&#8212;&#8212;+-�+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
*** glibc detected *** free(): invalid next size (fast): 0x0944c0c8 ***<br />
Aborted</p>
<p>}<br />
eventually nothing is listed<br />
command used is test/store_tools -c kannel.conf list<br />
Linux RHEL 4 32 bit version<br />
(GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saleem</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-193</link>
		<dc:creator>saleem</dc:creator>
		<pubDate>Mon, 30 Aug 2010 08:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-193</guid>
		<description>I have same issue as michelangelo.

Kannel version: 1.4.3
OS: debian 5.0.3 64 bit

Please note kannel-status shows store size is 11.

Also, please explain &quot;A backtrace from gdb would be useful as well&quot;

This is log printed by store_tools

x2.u:/opt/gateway-1.4.3# test/store_tools -c gw/smskannel.conf list
Listing records 1 -&gt; 100
+-`��-------------------------------------+-`��-----------+-@��-----------+-���---------------+-@��---------------------------------------------------+
&#124; message id                           &#124; from       &#124; to         &#124; smsc           &#124; text                                               &#124;
*** glibc detected *** test/store_tools: malloc(): memory corruption: 0x00000000024cf760 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f8214f10928]
/lib/libc.so.6[0x7f8214f1315c]
/lib/libc.so.6(__libc_malloc+0x98)[0x7f8214f14a58]
test/store_tools(gw_native_malloc+0x11)[0x415511]
test/store_tools(repeat_char+0x1a)[0x4097ea]
test/store_tools(print_sep+0xa0)[0x4098c0]
test/store_tools(print_header+0xb9)[0x409a19]
test/store_tools(main+0x275)[0x409c95]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f8214ebb1a6]
test/store_tools[0x4092a9]
======= Memory map: ========
00400000-0043f000 r-xp 00000000 08:01 13665330                           /opt/gateway-1.4.3/test/store_tools
0063e000-00640000 rw-p 0003e000 08:01 13665330                           /opt/gateway-1.4.3/test/store_tools
00640000-006da000 rw-p 00640000 00:00 0 
024bc000-02540000 rw-p 024bc000 00:00 0                                  [heap]
7f8210000000-7f8210021000 rw-p 7f8210000000 00:00 0 
7f8210021000-7f8214000000 ---p 7f8210021000 00:00 0 
7f8214427000-7f821443d000 r-xp 00000000 08:01 3244035                    /lib/libgcc_s.so.1
7f821443d000-7f821463d000 ---p 00016000 08:01 3244035                    /lib/libgcc_s.so.1
7f821463d000-7f821463e000 rw-p 00016000 08:01 3244035                    /lib/libgcc_s.so.1
7f821463e000-7f8214648000 r-xp 00000000 08:01 3245225                    /lib/libnss_files-2.7.so
7f8214648000-7f8214848000 ---p 0000a000 08:01 3245225                    /lib/libnss_files-2.7.so
7f8214848000-7f821484a000 rw-p 0000a000 08:01 3245225                    /lib/libnss_files-2.7.so
7f821484a000-7f8214852000 r-xp 00000000 08:01 3245236                    /lib/libcrypt-2.7.so
7f8214852000-7f8214a52000 ---p 00008000 08:01 3245236                    /lib/libcrypt-2.7.so
7f8214a52000-7f8214a54000 rw-p 00008000 08:01 3245236                    /lib/libcrypt-2.7.so
7f8214a54000-7f8214a82000 rw-p 7f8214a54000 00:00 0 
7f8214a82000-7f8214a98000 r-xp 00000000 08:01 4032635                    /usr/lib/libz.so.1.2.3.3
7f8214a98000-7f8214c98000 ---p 00016000 08:01 4032635                    /usr/lib/libz.so.1.2.3.3
7f8214c98000-7f8214c99000 rw-p 00016000 08:01 4032635                    /usr/lib/libz.so.1.2.3.3
7f8214c99000-7f8214c9b000 r-xp 00000000 08:01 3245230                    /lib/libdl-2.7.so
7f8214c9b000-7f8214e9b000 ---p 00002000 08:01 3245230                    /lib/libdl-2.7.so
7f8214e9b000-7f8214e9d000 rw-p 00002000 08:01 3245230                    /lib/libdl-2.7.so
7f8214e9d000-7f8214fe7000 r-xp 00000000 08:01 3245238                    /lib/libc-2.7.so
7f8214fe7000-7f82151e6000 ---p 0014a000 08:01 3245238                    /lib/libc-2.7.so
7f82151e6000-7f82151e9000 r--p 00149000 08:01 3245238                    /lib/libc-2.7.so
7f82151e9000-7f82151eb000 rw-p 0014c000 08:01 3245238                    /lib/libc-2.7.so
7f82151eb000-7f82151f0000 rw-p 7f82151eb000 00:00 0 
7f82151f0000-7f82153b2000 r-xp 00000000 08:01 4037376                    /usr/lib/libmysqlclient_r.so.15.0.0
7f82153b2000-7f82155b1000 ---p 001c2000 08:01 4037376                    /usr/lib/libmysqlclient_r.so.15.0.0
7f82155b1000-7f82155fc000 rw-p 001c1000 08:01 4037376                    /usr/lib/libmysqlclient_r.so.15.0.0
7f82155fc000-7f82155fe000 rw-p 7f82155fc000 00:00 0 
7f82155fe000-7f8215750000 r-xp 00000000 08:01 4036826                    /usr/lib/libxml2.so.2.6.32
7f8215750000-7f821594f000 ---p 00152000 08:01 4036826                    /usr/lib/libxml2.so.2.6.32
7f821594f000-7f8215959000 rw-p 00151000 08:01 4036826                    /usr/lib/libxml2.so.2.6.32
7f8215959000-7f821595a000 rw-p 7f8215959000 00:00 0 
7f821595a000-7f8215970000 r-xp 00000000 08:01 3245241                    /lib/libpthread-2.7.so
7f8215970000-7f8215b70000 ---p 00016000 08:01 3245241                    /lib/libpthread-2.7.so
7f8215b70000-7f8215b72000 rw-p 00016000 08:01 3245241                    /lib/libpthread-2.7.so
7f8215b72000-7f8215b76000 rw-p 7f8215b72000 00:00 0 
7f8215b76000-7f8215bf8000 r-xp 00000000 08:01 3245243                    /lib/libm-2.7.so
7f8215bf8000-7f8215df7000 ---p 00082000 08:01 3245243                    /lib/libm-2.7.so
7f8215df7000-7f8215df9000 rw-p 00081000 08:01 3245243                    /lib/libm-2.7.so
7f8215df9000-7f8215e0e000 r-xp 00000000 08:01 3245237                    /lib/libnsl-2.7.so
7f8215e0e000-7f821600d000 ---p 00015000 08:01 3245237                    /lib/libnsl-2.7.so
7f821600d000-7f821600f000 rw-p 00014000 08:01 3245237                    /lib/libnsl-2.7.so
7f821600f000-7f8216011000 rw-p 7f821600f000 00:00 0 
7f8216011000-7f8216021000 r-xp 00000000 08:01 3245239                    /lib/libresolv-2.7.so
7f8216021000-7f8216221000 ---p 00010000 08:01 3245239                    /lib/libresolv-2.7.so
7f8216221000-7f8216223000 rw-p 00010000 08:01 3245239                    /lib/libresolv-2.7.so
7f8216223000-7f8216225000 rw-p 7f8216223000 00:00 0 
7f8216225000-7f821622d000 r-xp 00000000 08:01 3245229                    /lib/librt-2.7.so
7f821622d000-7f821642c000 ---p 00008000 08:01 3245229                    /lib/librt-2.7.so
7f821642c000-7f821642e000 rw-p 00007000 08:01 3245229                    /lib/librt-2.7.so
7f821642e000-7f821644a000 r-xp 00000000 08:01 3245232                    /lib/ld-2.7.so
7f821663d000-7f8216642000 rw-p 7f821663d000 00:00 0 
7f8216645000-7f8216649000 rw-p 7f8216645000 00:00 0 
7f8216649000-7f821664b000 rw-p 0001b000 08:01 3245232                    /lib/ld-2.7.so
7fff1e635000-7fff1e64a000 rw-p 7ffffffea000 00:00 0                      [stack]
7fff1e7fe000-7fff1e7ff000 r-xp 7fff1e7fe000 00:00 0                      [vdso]
ffffffffff60000Aborted</description>
		<content:encoded><![CDATA[<p>I have same issue as michelangelo.</p>
<p>Kannel version: 1.4.3<br />
OS: debian 5.0.3 64 bit</p>
<p>Please note kannel-status shows store size is 11.</p>
<p>Also, please explain &#8220;A backtrace from gdb would be useful as well&#8221;</p>
<p>This is log printed by store_tools</p>
<p>x2.u:/opt/gateway-1.4.3# test/store_tools -c gw/smskannel.conf list<br />
Listing records 1 -&gt; 100<br />
+-`��&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+-`��&#8212;&#8212;&#8212;&#8211;+-@��&#8212;&#8212;&#8212;&#8211;+-���&#8212;&#8212;&#8212;&#8212;&#8212;+-@��&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| message id                           | from       | to         | smsc           | text                                               |<br />
*** glibc detected *** test/store_tools: malloc(): memory corruption: 0x00000000024cf760 ***<br />
======= Backtrace: =========<br />
/lib/libc.so.6[0x7f8214f10928]<br />
/lib/libc.so.6[0x7f8214f1315c]<br />
/lib/libc.so.6(__libc_malloc+0&#215;98)[0x7f8214f14a58]<br />
test/store_tools(gw_native_malloc+0&#215;11)[0x415511]<br />
test/store_tools(repeat_char+0x1a)[0x4097ea]<br />
test/store_tools(print_sep+0xa0)[0x4098c0]<br />
test/store_tools(print_header+0xb9)[0x409a19]<br />
test/store_tools(main+0&#215;275)[0x409c95]<br />
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f8214ebb1a6]<br />
test/store_tools[0x4092a9]<br />
======= Memory map: ========<br />
00400000-0043f000 r-xp 00000000 08:01 13665330                           /opt/gateway-1.4.3/test/store_tools<br />
0063e000-00640000 rw-p 0003e000 08:01 13665330                           /opt/gateway-1.4.3/test/store_tools<br />
00640000-006da000 rw-p 00640000 00:00 0<br />
024bc000-02540000 rw-p 024bc000 00:00 0                                  [heap]<br />
7f8210000000-7f8210021000 rw-p 7f8210000000 00:00 0<br />
7f8210021000-7f8214000000 &#8212;p 7f8210021000 00:00 0<br />
7f8214427000-7f821443d000 r-xp 00000000 08:01 3244035                    /lib/libgcc_s.so.1<br />
7f821443d000-7f821463d000 &#8212;p 00016000 08:01 3244035                    /lib/libgcc_s.so.1<br />
7f821463d000-7f821463e000 rw-p 00016000 08:01 3244035                    /lib/libgcc_s.so.1<br />
7f821463e000-7f8214648000 r-xp 00000000 08:01 3245225                    /lib/libnss_files-2.7.so<br />
7f8214648000-7f8214848000 &#8212;p 0000a000 08:01 3245225                    /lib/libnss_files-2.7.so<br />
7f8214848000-7f821484a000 rw-p 0000a000 08:01 3245225                    /lib/libnss_files-2.7.so<br />
7f821484a000-7f8214852000 r-xp 00000000 08:01 3245236                    /lib/libcrypt-2.7.so<br />
7f8214852000-7f8214a52000 &#8212;p 00008000 08:01 3245236                    /lib/libcrypt-2.7.so<br />
7f8214a52000-7f8214a54000 rw-p 00008000 08:01 3245236                    /lib/libcrypt-2.7.so<br />
7f8214a54000-7f8214a82000 rw-p 7f8214a54000 00:00 0<br />
7f8214a82000-7f8214a98000 r-xp 00000000 08:01 4032635                    /usr/lib/libz.so.1.2.3.3<br />
7f8214a98000-7f8214c98000 &#8212;p 00016000 08:01 4032635                    /usr/lib/libz.so.1.2.3.3<br />
7f8214c98000-7f8214c99000 rw-p 00016000 08:01 4032635                    /usr/lib/libz.so.1.2.3.3<br />
7f8214c99000-7f8214c9b000 r-xp 00000000 08:01 3245230                    /lib/libdl-2.7.so<br />
7f8214c9b000-7f8214e9b000 &#8212;p 00002000 08:01 3245230                    /lib/libdl-2.7.so<br />
7f8214e9b000-7f8214e9d000 rw-p 00002000 08:01 3245230                    /lib/libdl-2.7.so<br />
7f8214e9d000-7f8214fe7000 r-xp 00000000 08:01 3245238                    /lib/libc-2.7.so<br />
7f8214fe7000-7f82151e6000 &#8212;p 0014a000 08:01 3245238                    /lib/libc-2.7.so<br />
7f82151e6000-7f82151e9000 r&#8211;p 00149000 08:01 3245238                    /lib/libc-2.7.so<br />
7f82151e9000-7f82151eb000 rw-p 0014c000 08:01 3245238                    /lib/libc-2.7.so<br />
7f82151eb000-7f82151f0000 rw-p 7f82151eb000 00:00 0<br />
7f82151f0000-7f82153b2000 r-xp 00000000 08:01 4037376                    /usr/lib/libmysqlclient_r.so.15.0.0<br />
7f82153b2000-7f82155b1000 &#8212;p 001c2000 08:01 4037376                    /usr/lib/libmysqlclient_r.so.15.0.0<br />
7f82155b1000-7f82155fc000 rw-p 001c1000 08:01 4037376                    /usr/lib/libmysqlclient_r.so.15.0.0<br />
7f82155fc000-7f82155fe000 rw-p 7f82155fc000 00:00 0<br />
7f82155fe000-7f8215750000 r-xp 00000000 08:01 4036826                    /usr/lib/libxml2.so.2.6.32<br />
7f8215750000-7f821594f000 &#8212;p 00152000 08:01 4036826                    /usr/lib/libxml2.so.2.6.32<br />
7f821594f000-7f8215959000 rw-p 00151000 08:01 4036826                    /usr/lib/libxml2.so.2.6.32<br />
7f8215959000-7f821595a000 rw-p 7f8215959000 00:00 0<br />
7f821595a000-7f8215970000 r-xp 00000000 08:01 3245241                    /lib/libpthread-2.7.so<br />
7f8215970000-7f8215b70000 &#8212;p 00016000 08:01 3245241                    /lib/libpthread-2.7.so<br />
7f8215b70000-7f8215b72000 rw-p 00016000 08:01 3245241                    /lib/libpthread-2.7.so<br />
7f8215b72000-7f8215b76000 rw-p 7f8215b72000 00:00 0<br />
7f8215b76000-7f8215bf8000 r-xp 00000000 08:01 3245243                    /lib/libm-2.7.so<br />
7f8215bf8000-7f8215df7000 &#8212;p 00082000 08:01 3245243                    /lib/libm-2.7.so<br />
7f8215df7000-7f8215df9000 rw-p 00081000 08:01 3245243                    /lib/libm-2.7.so<br />
7f8215df9000-7f8215e0e000 r-xp 00000000 08:01 3245237                    /lib/libnsl-2.7.so<br />
7f8215e0e000-7f821600d000 &#8212;p 00015000 08:01 3245237                    /lib/libnsl-2.7.so<br />
7f821600d000-7f821600f000 rw-p 00014000 08:01 3245237                    /lib/libnsl-2.7.so<br />
7f821600f000-7f8216011000 rw-p 7f821600f000 00:00 0<br />
7f8216011000-7f8216021000 r-xp 00000000 08:01 3245239                    /lib/libresolv-2.7.so<br />
7f8216021000-7f8216221000 &#8212;p 00010000 08:01 3245239                    /lib/libresolv-2.7.so<br />
7f8216221000-7f8216223000 rw-p 00010000 08:01 3245239                    /lib/libresolv-2.7.so<br />
7f8216223000-7f8216225000 rw-p 7f8216223000 00:00 0<br />
7f8216225000-7f821622d000 r-xp 00000000 08:01 3245229                    /lib/librt-2.7.so<br />
7f821622d000-7f821642c000 &#8212;p 00008000 08:01 3245229                    /lib/librt-2.7.so<br />
7f821642c000-7f821642e000 rw-p 00007000 08:01 3245229                    /lib/librt-2.7.so<br />
7f821642e000-7f821644a000 r-xp 00000000 08:01 3245232                    /lib/ld-2.7.so<br />
7f821663d000-7f8216642000 rw-p 7f821663d000 00:00 0<br />
7f8216645000-7f8216649000 rw-p 7f8216645000 00:00 0<br />
7f8216649000-7f821664b000 rw-p 0001b000 08:01 3245232                    /lib/ld-2.7.so<br />
7fff1e635000-7fff1e64a000 rw-p 7ffffffea000 00:00 0                      [stack]<br />
7fff1e7fe000-7fff1e7ff000 r-xp 7fff1e7fe000 00:00 0                      [vdso]<br />
ffffffffff60000Aborted</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-136</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 02 Feb 2010 09:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-136</guid>
		<description>Can you give me more information? Platform? 32/64 bits? A backtrace from gdb would be useful as well.</description>
		<content:encoded><![CDATA[<p>Can you give me more information? Platform? 32/64 bits? A backtrace from gdb would be useful as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michelangelo</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-135</link>
		<dc:creator>michelangelo</dc:creator>
		<pubDate>Tue, 02 Feb 2010 07:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-135</guid>
		<description>I&#039;m using Kannel v1.4.3 and i recompiled all the application, with your tool included. It created the store_tools executable in the test folder, but it also gives me segmentaion fault:
   store_tools -c ~/kannel/config/kannel.conf list
   Listing records 1 -&gt; 100
   Segmentation fault

Do you have an ideea why this is happening?</description>
		<content:encoded><![CDATA[<p>I&#8217;m using Kannel v1.4.3 and i recompiled all the application, with your tool included. It created the store_tools executable in the test folder, but it also gives me segmentaion fault:<br />
   store_tools -c ~/kannel/config/kannel.conf list<br />
   Listing records 1 -&gt; 100<br />
   Segmentation fault</p>
<p>Do you have an ideea why this is happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-130</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Mon, 11 Jan 2010 11:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-130</guid>
		<description>You need to patch the source code (usually placing the file on your source code root and running something like &quot;patch -p0 &lt; kannel_store_tools.patch&quot;) and recompile. You&#039;ll find the store_tools executable on the test/ folder.</description>
		<content:encoded><![CDATA[<p>You need to patch the source code (usually placing the file on your source code root and running something like &#8220;patch -p0 &lt; kannel_store_tools.patch&quot;) and recompile. You&#039;ll find the store_tools executable on the test/ folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaitanya</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-129</link>
		<dc:creator>Chaitanya</dc:creator>
		<pubDate>Mon, 11 Jan 2010 09:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-129</guid>
		<description>Hey !

I am already using kannel. Can you please guide me how to add this patch into Live Kannel ?</description>
		<content:encoded><![CDATA[<p>Hey !</p>
<p>I am already using kannel. Can you please guide me how to add this patch into Live Kannel ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-95</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 16 Oct 2009 03:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-95</guid>
		<description>Thanks for the reply. As suggested, I&#039;ve managed to built it with the source rpm of the same version that is installed on my system. I haven&#039;t got any message in the store file yet but when I tested listing it, I&#039;m getting a segmentation fault at the end of the output. I&#039;m running kannel-1.4.2-1.

$ store_tools -c /etc/kannel.conf list
Listing records 1 -&gt; 100
+-���&lt;-------------------------------------+-p��&lt;-----------+- ��&lt;-----------+-���&lt;---------------+-�rj---------------------------------------------------+
&#124; message id                           &#124; from       &#124; to         &#124; smsc           &#124; text                                               &#124;
+-p��&lt;-------------------------------------+-p��&lt;-----------+- ��&lt;-----------+-���&lt;---------------+----------------------------------------------------+
&#124;                                                            Store is Empty                                                            &#124;
+- ��&lt;-------------------------------------+- ��&lt;-----------+-`��&lt;-----------+-p��&lt;---------------+-���&lt;---------------------------------------------------+
Segmentation fault</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. As suggested, I&#8217;ve managed to built it with the source rpm of the same version that is installed on my system. I haven&#8217;t got any message in the store file yet but when I tested listing it, I&#8217;m getting a segmentation fault at the end of the output. I&#8217;m running kannel-1.4.2-1.</p>
<p>$ store_tools -c /etc/kannel.conf list<br />
Listing records 1 -&gt; 100<br />
+-���&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+-p��&lt;&#8212;&#8212;&#8212;&#8211;+- ��&lt;&#8212;&#8212;&#8212;&#8211;+-���&lt;&#8212;&#8212;&#8212;&#8212;&#8212;+-�rj&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
| message id                           | from       | to         | smsc           | text                                               |<br />
+-p��&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+-p��&lt;&#8212;&#8212;&#8212;&#8211;+- ��&lt;&#8212;&#8212;&#8212;&#8211;+-���&lt;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
|                                                            Store is Empty                                                            |<br />
+- ��&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+- ��&lt;&#8212;&#8212;&#8212;&#8211;+-`��&lt;&#8212;&#8212;&#8212;&#8211;+-p��&lt;&#8212;&#8212;&#8212;&#8212;&#8212;+-���&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+<br />
Segmentation fault</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-94</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Wed, 14 Oct 2009 10:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-94</guid>
		<description>The code is intended to be built along with the rest of Kannel, a lot of macros and definitions are inherited from other parts of the code.
The easy way is to compile it with the rest, you don&#039;t need to _install_ kannel again anyway, just compile it and then copy the store_tools executable from the test/ folder on the source tree.</description>
		<content:encoded><![CDATA[<p>The code is intended to be built along with the rest of Kannel, a lot of macros and definitions are inherited from other parts of the code.<br />
The easy way is to compile it with the rest, you don&#8217;t need to _install_ kannel again anyway, just compile it and then copy the store_tools executable from the test/ folder on the source tree.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.blogalex.com/archives/72/comment-page-1#comment-93</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 14 Oct 2009 09:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.blogalex.com/?p=72#comment-93</guid>
		<description>I&#039;m running the stock kannel from CentOS 5.3 and I&#039;ve also installed the kannel-devel and libxml2 package. Now how do I compile your code? I don&#039;t have the complete kannel source and don&#039;t intent to rebuild it.</description>
		<content:encoded><![CDATA[<p>I&#8217;m running the stock kannel from CentOS 5.3 and I&#8217;ve also installed the kannel-devel and libxml2 package. Now how do I compile your code? I don&#8217;t have the complete kannel source and don&#8217;t intent to rebuild it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

