buffer overflow error when using rasqltimeindex

Carter Bullard carter at qosient.com
Wed Aug 29 21:31:03 EDT 2012


Hey Jesse,
In the command you sent, you aren't specifying a table, you are specifying a host and database, but you also need a table name to write into.

   rasqltimeindex -r argus.2012.08.27.10.00.00 -w mysql://root@127.0.0.1/argusTimes/TableName

Does that do it?  I'll fix the buffer overflow error, but this should get past it.

Carter

On Aug 29, 2012, at 9:15 PM, Jesse Bowling <jessebowling at gmail.com> wrote:

> Hi,
> 
> When trying to run rasqltimeindex I get the following:
> 
> $ rasqltimeindex --help
> Rasqltimeindex Version 3.0.6.2
> usage: rasqltimeindex -r filename -w mysql://[user[:pass]@]host[:port]/db
> usage: rasqltimeindex -R directory -w mysql://[user[:pass]@]host[:port]/db
> options: -r filename                              read from file.
>          -R directory                             read files from complete directory tree.
>          -v                                       verbose mode
>          -w mysql://[user[:pass]@]host[:port]/db  write indexes to db database
> 
> $ rasqltimeindex -r argus.2012.08.27.10.00.00 -w mysql://root@127.0.0.1/argusTimes
> *** buffer overflow detected ***: rasqltimeindex terminated
> ======= Backtrace: =========
> /lib/libc.so.6(__fortify_fail+0x37)[0x7fb6131c37e7]
> /lib/libc.so.6(+0xfe6a0)[0x7fb6131c26a0]
> /lib/libc.so.6(+0xfecfb)[0x7fb6131c2cfb]
> rasqltimeindex[0x407306]
> rasqltimeindex[0x4098ea]
> /lib/libc.so.6(__libc_start_main+0xfd)[0x7fb6130e2c4d]
> rasqltimeindex[0x4041c9]
> ======= Memory map: ========
> 00400000-004ad000 r-xp 00000000 08:07 11019088                           /usr/local/bin/rasqltimeindex
> 006ac000-006ad000 r--p 000ac000 08:07 11019088                           /usr/local/bin/rasqltimeindex
> 006ad000-006bc000 rw-p 000ad000 08:07 11019088                           /usr/local/bin/rasqltimeindex
> 006bc000-00b16000 rw-p 00000000 00:00 0 
> 01521000-01542000 rw-p 00000000 00:00 0                                  [heap]
> 7fb610dc8000-7fb61204c000 rw-p 00000000 00:00 0 
> 7fb61204c000-7fb612058000 r-xp 00000000 08:07 9701369                    /lib/libnss_files-2.11.1.so
> 7fb612058000-7fb612257000 ---p 0000c000 08:07 9701369                    /lib/libnss_files-2.11.1.so
> 7fb612257000-7fb612258000 r--p 0000b000 08:07 9701369                    /lib/libnss_files-2.11.1.so
> 7fb612258000-7fb612259000 rw-p 0000c000 08:07 9701369                    /lib/libnss_files-2.11.1.so
> 7fb612259000-7fb61226f000 r-xp 00000000 08:07 9699351                    /lib/libgcc_s.so.1
> 7fb61226f000-7fb61246e000 ---p 00016000 08:07 9699351                    /lib/libgcc_s.so.1
> 7fb61246e000-7fb61246f000 r--p 00015000 08:07 9699351                    /lib/libgcc_s.so.1
> 7fb61246f000-7fb612470000 rw-p 00016000 08:07 9699351                    /lib/libgcc_s.so.1
> 7fb612470000-7fb612471000 ---p 00000000 00:00 0 
> 7fb612471000-7fb612c71000 rw-p 00000000 00:00 0 
> 7fb612c71000-7fb612c88000 r-xp 00000000 08:07 9701350                    /lib/libnsl-2.11.1.so
> 7fb612c88000-7fb612e87000 ---p 00017000 08:07 9701350                    /lib/libnsl-2.11.1.so
> 7fb612e87000-7fb612e88000 r--p 00016000 08:07 9701350                    /lib/libnsl-2.11.1.so
> 7fb612e88000-7fb612e89000 rw-p 00017000 08:07 9701350                    /lib/libnsl-2.11.1.so
> 7fb612e89000-7fb612e8b000 rw-p 00000000 00:00 0 
> 7fb612e8b000-7fb612e94000 r-xp 00000000 08:07 9701352                    /lib/libcrypt-2.11.1.so
> 7fb612e94000-7fb613094000 ---p 00009000 08:07 9701352                    /lib/libcrypt-2.11.1.so
> 7fb613094000-7fb613095000 r--p 00009000 08:07 9701352                    /lib/libcrypt-2.11.1.so
> 7fb613095000-7fb613096000 rw-p 0000a000 08:07 9701352                    /lib/libcrypt-2.11.1.so
> 7fb613096000-7fb6130c4000 rw-p 00000000 00:00 0 
> 7fb6130c4000-7fb61323e000 r-xp 00000000 08:07 9701366                    /lib/libc-2.11.1.so
> 7fb61323e000-7fb61343d000 ---p 0017a000 08:07 9701366                    /lib/libc-2.11.1.so
> 7fb61343d000-7fb613441000 r--p 00179000 08:07 9701366                    /lib/libc-2.11.1.so
> 7fb613441000-7fb613442000 rw-p 0017d000 08:07 9701366                    /lib/libc-2.11.1.so
> 7fb613442000-7fb613447000 rw-p 00000000 00:00 0 
> 7fb613447000-7fb61345d000 r-xp 00000000 08:07 9699522                    /lib/libz.so.1.2.3.3
> 7fb61345d000-7fb61365c000 ---p 00016000 08:07 9699522                    /lib/libz.so.1.2.3.3
> 7fb61365c000-7fb61365d000 r--p 00015000 08:07 9699522                    /lib/libz.so.1.2.3.3
> 7fb61365d000-7fb61365e000 rw-p 00016000 08:07 9699522                    /lib/libz.so.1.2.3.3
> 7fb61365e000-7fb613676000 r-xp 00000000 08:07 9701364                    /lib/libpthread-2.11.1.so
> 7fb613676000-7fb613875000 ---p 00018000 08:07 9701364                    /lib/libpthread-2.11.1.so
> 7fb613875000-7fb613876000 r--p 00017000 08:07 9701364                    /lib/libpthread-2.11.1.so
> 7fb613876000-7fb613877000 rw-p 00018000 08:07 9701364                    /lib/libpthread-2.11.1.so
> 7fb613877000-7fb61387b000 rw-p 00000000 00:00 0
> 7fb61387b000-7fb6138fd000 r-xp 00000000 08:07 9699571                    /lib/libm-2.11.1.so
> 7fb6138fd000-7fb613afc000 ---p 00082000 08:07 9699571                    /lib/libm-2.11.1.so
> 7fb613afc000-7fb613afd000 r--p 00081000 08:07 9699571                    /lib/libm-2.11.1.so
> 7fb613afd000-7fb613afe000 rw-p 00082000 08:07 9699571                    /lib/libm-2.11.1.so
> 7fb613afe000-7fb613cbf000 r-xp 00000000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
> 7fb613cbf000-7fb613ebf000 ---p 001c1000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
> 7fb613ebf000-7fb613ec4000 r--p 001c1000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
> 7fb613ec4000-7fb613f0e000 rw-p 001c6000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
> 7fb613f0e000-7fb613f10000 rw-p 00000000 00:00 0
> 7fb613f10000-7fb613f30000 r-xp 00000000 08:07 9701351                    /lib/ld-2.11.1.so
> 7fb613f72000-7fb61411d000 rw-p 00000000 00:00 0
> 7fb61412d000-7fb61412f000 rw-p 00000000 00:00 0
> 7fb61412f000-7fb614130000 r--p 0001f000 08:07 9701351                    /lib/ld-2.11.1.so
> 7fb614130000-7fb614131000 rw-p 00020000 08:07 9701351                    /lib/ld-2.11.1.so
> 7fb614131000-7fb614132000 rw-p 00000000 00:00 0
> 7fff83b6a000-7fff83b7f000 rw-p 00000000 00:00 0                          [stack]
> 7fff83bff000-7fff83c00000 r-xp 00000000 00:00 0                          [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
> Aborted
> 
> $cat /usr/local/src/argus-clients-3.0.6.2/config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by Argus Client Programs configure 3.0.5, which was
> generated by GNU Autoconf 2.68.  Invocation command line was
> 
>   $ ./configure 
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = 
> uname -m = x86_64
> uname -r = 2.6.32-42-generic
> uname -s = Linux
> uname -v = #95-Ubuntu SMP Wed Jul 25 15:56:09 UTC 2012
> 
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
> 
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /usr/local/sbin
> PATH: /usr/local/bin
> PATH: /usr/sbin
> PATH: /usr/bin
> PATH: /sbin
> PATH: /bin
> <snip>
> 
> Anything I can do to help track down the source of this issue?
> 
> Cheers,
> 
> Jesse
> -- 
> Jesse Bowling
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20120829/eff67186/attachment.html>


More information about the argus mailing list