buffer overflow error when using rasqltimeindex

Carter Bullard carter at qosient.com
Fri Sep 7 13:50:52 EDT 2012


Hey Jesse,
Well, sometimes one has to be careful what one asks for ;O)

OK, really brain dead bug on my part.  Basically, I'm assigning your
variable a static string, as a default value, and then trying to deallocate
it as we exit the program, which of course, isn't going to work.  Very stupid.
On many OS's they don't care, as they see the string is in the wrong place,
and it chugs along.  But no in your case.

Here are diffs for the changes you need to make to rasqlinsert.c and rasqltimeindex.c
in ./examples/ramysql.  

==== //depot/argus-3.0.6/clients/examples/ramysql/rasqlinsert.c#2 - /Volumes/Users/carter/argus/release/argus-3.0.6/clients/examples/ramysql/rasqlinsert.c ====
2584c2584
<                      ArgusParser->ais = "/tmp/archive";
---
>                      ArgusParser->ais = stdup("/tmp/archive");
==== //depot/argus-3.0.6/clients/examples/ramysql/rasqltimeindex.c#1 - /Volumes/Users/carter/argus/release/argus-3.0.6/clients/examples/ramysql/rasqltimeindex.c ====
891c891
<             ArgusParser->ais = "/tmp/archive";
---
>             ArgusParser->ais = strdup("/tmp/archive");


These diffs are appropriate for argus-clients-3.0.6.2.  I'll make the updates in argus-clients-3.0.6.3 and
argus-clients-3.0.7.2, so they are there when I upload the new releases.

Thanks !!!!!

Carter



On Sep 7, 2012, at 1:26 PM, Jesse Bowling <jessebowling at gmail.com> wrote:

> Sorry for the delay Carter...
> 
> (gdb) print ArgusParser->ais
> $1 = 0x4a685a "/tmp/archive"
> 
> 
> On Thu, Aug 30, 2012 at 4:40 PM, Carter Bullard <carter at qosient.com> wrote:
> So what does ArgusParser->ais contain? When you go up a few times and get
> to line 524 at ./argus_util.c , do this:
> 
> (gdb) print ArgusParser->ais
> 
> Carter
> 
> On Aug 30, 2012, at 4:27 PM, Jesse Bowling <jessebowling at gmail.com> wrote:
> 
>> Program received signal SIGABRT, Aborted.
>> 0x00007ffff6fc4a75 in raise () from /lib/libc.so.6
>> (gdb) where
>> #0  0x00007ffff6fc4a75 in raise () from /lib/libc.so.6
>> #1  0x00007ffff6fc85c0 in abort () from /lib/libc.so.6
>> #2  0x00007ffff6ffe74b in ?? () from /lib/libc.so.6
>> #3  0x00007ffff7008806 in ?? () from /lib/libc.so.6
>> #4  0x000000000040b4ca in ArgusShutDown (sig=0) at ./argus_util.c:524
>> #5  0x000000000040ac31 in main (argc=5, argv=0x7fffffffdd68) at ./argus_main.c:371
>> 
>> (a few ups later)
>> (gdb) up
>> #4  0x000000000040b4ca in ArgusShutDown (sig=0) at ./argus_util.c:524
>> 524              free(ArgusParser->ais);
>> 
>> Helpful? 
>> 
>> Good to know about -M for rasqltimeindex, thanks!
>> 
>> Cheers,
>> 
>> Jesse
>> 
>> On Thu, Aug 30, 2012 at 4:06 PM, Carter Bullard <carter at qosient.com> wrote:
>> The "-M drop" option doesn't work for rasqltimeindex(), as that seems like an easy way
>> to blow away something that could quite some time to re-build.  
>> 
>> So, its good to know that all the processing is working but the exiting has issues, which
>> is generally a quick fix.  Can you run rasqltimeindex() using gdb, to figure out where its
>> blowing up?
>> 
>> % gdb rasqltimeindex
>> (gdb) run -r filename -w mysql://root@127.0.0.1/argusTimes
>> 
>> that should die where there is trouble.  Once it stops type:
>> 
>> (gdb) where
>> 
>> depending on where you are, you may be able to go " up " the stack a few
>> times to find the code segment in rasqltimeindex().
>> 
>> So what does gdb reveal?
>> Carter
>> 
>> 
>> On Aug 30, 2012, at 12:55 PM, Jesse Bowling <jessebowling at gmail.com> wrote:
>> 
>>> So at some point this file must have been processed (and indeed, there was data in the tables) but we still generate this error:
>>> $ rasqltimeindex -D 6 -r argus.2012.08.27.10.00.00 -w mysql://root@127.0.0.1/argusTimes/argus_timetable
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.383939 ArgusCalloc (1, 400264) returning 0xcb39e010
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.383978 ArgusAddFileList (0xcb400010, argus.2012.08.27.10.00.00, 1, -1, -1) returning 1
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.384001 ArgusCalloc (1, 72) returning 0x1424760
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.384014 ArgusNewQueue () returning 0x1424760
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.384025 ArgusCalloc (1, 72) returning 0x14247b0
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.384034 ArgusNewQueue () returning 0x14247b0
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.384043 ArgusCalloc (1, 72) returning 0x1424800
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.384051 ArgusNewQueue () returning 0x1424800
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.839662 ArgusClientInit: table Filename matches Filename.
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.839701 ArgusClientInit: table Probes matches Probes.
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.839712 ArgusClientInit: table Seconds matches Seconds.
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.839721 RaMySQLInit () RaSource (null) RaArchive (null)
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.839751 ArgusCalloc (65536, 96) returning 0xc8676010
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.861637 ArgusCalloc (1, 56) returning 0x143bf10
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.861682 ArgusCalloc (65536, 8) returning 0xc85f5010
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.861695 ArgusNewHashTable (65536) returning 0x143bf10
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.864599 ArgusCalloc (1, 16) returning 0x143bf50
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.864626 ArgusCalloc (65536, 64) returning 0xc81f4010
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.864638 ArgusCalloc (1, 72) returning 0x143bf70
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.864647 ArgusNewQueue () returning 0x143bf70
>>> rasqltimeindex[27178]: 12:45:16.929937 file argus.2012.08.27.10.00.00 already processed
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.930055 ArgusFree (0x7f60cb39e010)
>>> rasqltimeindex[27178.005754cb607f0000]: 12:45:16.930074 ArgusShutDown (3)
>>> *** glibc detected *** rasqltimeindex: munmap_chunk(): invalid pointer: 0x00000000004a685a ***
>>> <snip>
>>> 
>>> I tried running this using the '-M drop' incantation that is available for rasqlinsert, but that doesn't appear to be present/functional as it gave the same result. After manually dropping the database in mysql and re-running the command things work, and then crash:
>>> 
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964056 ArgusDeleteQueue (0x23dbf10) returning
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964069 ArgusCalloc (1, 72) returning 0x23dbf10
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964078 ArgusNewQueue () returning 0x23dbf10
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964123 ArgusFree (0x23dc710)
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964132 ArgusFree (0x23dc6d0)
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964496 ArgusEmptyHashTable (0x23c6120) returning
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964922 RaCleanHashTable (0x23c6090) returning
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964932 ArgusFree (0x23c4760)
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964940 ArgusDeleteQueue (0x23c4760) returning
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.964948 ArgusCalloc (1, 72) returning 0x23c4760
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.965061 ArgusNewQueue () returning 0x23c4760
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.965070 RaArgusInputComplete (0x4344b010): returning
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.965079 main: reading files completed
>>> rasqltimeindex[27242.00275f43e17f0000]: 12:50:33.965166 ArgusShutDown (0)
>>> *** glibc detected *** rasqltimeindex: munmap_chunk(): invalid pointer: 0x00000000004a685a ***
>>> 
>>> So, it appears to be working, but ending on a crash is never pretty...I believe I just got a new libc library with an update recently...Perhaps this is related?
>>> 
>>> Commit Log for Fri Aug 10 09:30:39 2012
>>> 
>>> Upgraded the following packages:
>>> libexpat1 (2.0.1-7ubuntu1) to 2.0.1-7ubuntu1.1
>>> linux-generic (2.6.32.41.48) to 2.6.32.42.49
>>> linux-headers-generic (2.6.32.41.48) to 2.6.32.42.49
>>> linux-image-generic (2.6.32.41.48) to 2.6.32.42.49
>>> linux-libc-dev (2.6.32-41.94) to 2.6.32-42.95
>>> 
>>> 
>>> 
>>> Let me know if I can provide any more info...
>>> 
>>> Cheers,
>>> 
>>> Jesse
>>> 
>>> On Thu, Aug 30, 2012 at 8:07 AM, Carter Bullard <carter at qosient.com> wrote:
>>> Hey Jesse,
>>> So, the issue is where are you ?  Run your command with " -D 6 ".  That should help us out ,
>>> 
>>> Carter
>>> 
>>> On Aug 29, 2012, at 9:51 PM, Jesse Bowling <jessebowling at gmail.com> wrote:
>>> 
>>>> Tables do get created:
>>>> 
>>>> mysql> show tables;
>>>> +----------------------+
>>>> | Tables_in_argusTimes |
>>>> +----------------------+
>>>> | Filename             |
>>>> | Probes               |
>>>> | Seconds              |
>>>> +----------------------+
>>>> 3 rows in set (0.00 sec)
>>>> 
>>>> mysql> desc Filename;
>>>> +----------+------------------+------+-----+---------+----------------+
>>>> | Field    | Type             | Null | Key | Default | Extra          |
>>>> +----------+------------------+------+-----+---------+----------------+
>>>> | id       | int(11)          | NO   | PRI | NULL    | auto_increment |
>>>> | filename | varchar(255)     | NO   |     | NULL    |                |
>>>> | size     | int(10) unsigned | YES  |     | NULL    |                |
>>>> | creation | int(10) unsigned | YES  |     | NULL    |                |
>>>> | hmac     | varchar(64)      | YES  |     | NULL    |                |
>>>> | start    | int(10) unsigned | YES  |     | NULL    |                |
>>>> | stop     | int(10) unsigned | YES  |     | NULL    |                |
>>>> | indexed  | int(10) unsigned | YES  |     | NULL    |                |
>>>> +----------+------------------+------+-----+---------+----------------+
>>>> 8 rows in set (0.00 sec)
>>>> 
>>>> mysql> desc Probes;
>>>> +-------------+------------------+------+-----+---------------------+-----------------------------+
>>>> | Field       | Type             | Null | Key | Default             | Extra                       |
>>>> +-------------+------------------+------+-----+---------------------+-----------------------------+
>>>> | id          | int(11)          | NO   | PRI | NULL                | auto_increment              |
>>>> | name        | varchar(32)      | NO   |     | NULL                |                             |
>>>> | url         | varchar(255)     | NO   |     | NULL                |                             |
>>>> | type        | varchar(255)     | YES  |     | NULL                |                             |
>>>> | filter      | varchar(255)     | YES  |     | NULL                |                             |
>>>> | authname    | varchar(255)     | YES  |     | NULL                |                             |
>>>> | authpass    | varchar(255)     | YES  |     | NULL                |                             |
>>>> | description | varchar(255)     | YES  |     | NULL                |                             |
>>>> | access      | timestamp        | NO   |     | CURRENT_TIMESTAMP   | on update CURRENT_TIMESTAMP |
>>>> | created     | timestamp        | NO   |     | 0000-00-00 00:00:00 |                             |
>>>> | start       | timestamp        | NO   |     | 0000-00-00 00:00:00 |                             |
>>>> | stop        | timestamp        | NO   |     | 0000-00-00 00:00:00 |                             |
>>>> | status      | int(10) unsigned | YES  |     | NULL                |                             |
>>>> +-------------+------------------+------+-----+---------------------+-----------------------------+
>>>> 13 rows in set (0.00 sec)
>>>> 
>>>> mysql> desc Seconds;
>>>> +-----------+------------------+------+-----+---------+-------+
>>>> | Field     | Type             | Null | Key | Default | Extra |
>>>> +-----------+------------------+------+-----+---------+-------+
>>>> | probe     | int(10) unsigned | NO   |     | NULL    |       |
>>>> | second    | int(10) unsigned | NO   | MUL | NULL    |       |
>>>> | fileindex | int(11)          | NO   |     | NULL    |       |
>>>> | ostart    | int(10) unsigned | NO   |     | NULL    |       |
>>>> | ostop     | int(10) unsigned | NO   |     | NULL    |       |
>>>> +-----------+------------------+------+-----+---------+-------+
>>>> 5 rows in set (0.00 sec)
>>>> 
>>>> mysql> select * from Filename;
>>>> Empty set (0.00 sec)
>>>> 
>>>> mysql> select * from Probes;
>>>> Empty set (0.00 sec)
>>>> 
>>>> mysql> select * from Seconds;
>>>> Empty set (0.00 sec)
>>>> 
>>>> $ rasqltimeindex -r argus.2012.08.27.10.00.00 -w mysql://root@127.0.0.1/argusTimes/argus_timetable
>>>> *** glibc detected *** rasqltimeindex: munmap_chunk(): invalid pointer: 0x00000000004a685a ***
>>>> ======= Backtrace: =========
>>>> /lib/libc.so.6(+0x77806)[0x7ff897d11806]
>>>> rasqltimeindex[0x40b4ca]
>>>> rasqltimeindex[0x40ac31]
>>>> /lib/libc.so.6(__libc_start_main+0xfd)[0x7ff897cb8c4d]
>>>> rasqltimeindex[0x404449]
>>>> ======= Memory map: ========
>>>> 00400000-004ce000 r-xp 00000000 08:07 11018009                           /usr/local/bin/rasqltimeindex
>>>> 006cd000-006ce000 r--p 000cd000 08:07 11018009                           /usr/local/bin/rasqltimeindex
>>>> 006ce000-006dd000 rw-p 000ce000 08:07 11018009                           /usr/local/bin/rasqltimeindex
>>>> 006dd000-00b37000 rw-p 00000000 00:00 0 
>>>> 01aa3000-01ae5000 rw-p 00000000 00:00 0                                  [heap]
>>>> 7ff89599e000-7ff896c22000 rw-p 00000000 00:00 0 
>>>> 7ff896c22000-7ff896c2e000 r-xp 00000000 08:07 9701369                    /lib/libnss_files-2.11.1.so
>>>> 7ff896c2e000-7ff896e2d000 ---p 0000c000 08:07 9701369                    /lib/libnss_files-2.11.1.so
>>>> 7ff896e2d000-7ff896e2e000 r--p 0000b000 08:07 9701369                    /lib/libnss_files-2.11.1.so
>>>> 7ff896e2e000-7ff896e2f000 rw-p 0000c000 08:07 9701369                    /lib/libnss_files-2.11.1.so
>>>> 7ff896e2f000-7ff896e45000 r-xp 00000000 08:07 9699351                    /lib/libgcc_s.so.1
>>>> 7ff896e45000-7ff897044000 ---p 00016000 08:07 9699351                    /lib/libgcc_s.so.1
>>>> 7ff897044000-7ff897045000 r--p 00015000 08:07 9699351                    /lib/libgcc_s.so.1
>>>> 7ff897045000-7ff897046000 rw-p 00016000 08:07 9699351                    /lib/libgcc_s.so.1
>>>> 7ff897046000-7ff897047000 ---p 00000000 00:00 0 
>>>> 7ff897047000-7ff897847000 rw-p 00000000 00:00 0 
>>>> 7ff897847000-7ff89785e000 r-xp 00000000 08:07 9701350                    /lib/libnsl-2.11.1.so
>>>> 7ff89785e000-7ff897a5d000 ---p 00017000 08:07 9701350                    /lib/libnsl-2.11.1.so
>>>> 7ff897a5d000-7ff897a5e000 r--p 00016000 08:07 9701350                    /lib/libnsl-2.11.1.so
>>>> 7ff897a5e000-7ff897a5f000 rw-p 00017000 08:07 9701350                    /lib/libnsl-2.11.1.so
>>>> 7ff897a5f000-7ff897a61000 rw-p 00000000 00:00 0 
>>>> 7ff897a61000-7ff897a6a000 r-xp 00000000 08:07 9701352                    /lib/libcrypt-2.11.1.so
>>>> 7ff897a6a000-7ff897c6a000 ---p 00009000 08:07 9701352                    /lib/libcrypt-2.11.1.so
>>>> 7ff897c6a000-7ff897c6b000 r--p 00009000 08:07 9701352                    /lib/libcrypt-2.11.1.so
>>>> 7ff897c6b000-7ff897c6c000 rw-p 0000a000 08:07 9701352                    /lib/libcrypt-2.11.1.so
>>>> 7ff897c6c000-7ff897c9a000 rw-p 00000000 00:00 0 
>>>> 7ff897c9a000-7ff897e14000 r-xp 00000000 08:07 9701366                    /lib/libc-2.11.1.so
>>>> 7ff897e14000-7ff898013000 ---p 0017a000 08:07 9701366                    /lib/libc-2.11.1.so
>>>> 7ff898013000-7ff898017000 r--p 00179000 08:07 9701366                    /lib/libc-2.11.1.so
>>>> 7ff898017000-7ff898018000 rw-p 0017d000 08:07 9701366                    /lib/libc-2.11.1.so
>>>> 7ff898018000-7ff89801d000 rw-p 00000000 00:00 0
>>>> 7ff89801d000-7ff898033000 r-xp 00000000 08:07 9699522                    /lib/libz.so.1.2.3.3
>>>> 7ff898033000-7ff898232000 ---p 00016000 08:07 9699522                    /lib/libz.so.1.2.3.3
>>>> 7ff898232000-7ff898233000 r--p 00015000 08:07 9699522                    /lib/libz.so.1.2.3.3
>>>> 7ff898233000-7ff898234000 rw-p 00016000 08:07 9699522                    /lib/libz.so.1.2.3.3
>>>> 7ff898234000-7ff89824c000 r-xp 00000000 08:07 9701364                    /lib/libpthread-2.11.1.so
>>>> 7ff89824c000-7ff89844b000 ---p 00018000 08:07 9701364                    /lib/libpthread-2.11.1.so
>>>> 7ff89844b000-7ff89844c000 r--p 00017000 08:07 9701364                    /lib/libpthread-2.11.1.so
>>>> 7ff89844c000-7ff89844d000 rw-p 00018000 08:07 9701364                    /lib/libpthread-2.11.1.so
>>>> 7ff89844d000-7ff898451000 rw-p 00000000 00:00 0
>>>> 7ff898451000-7ff8984d3000 r-xp 00000000 08:07 9699571                    /lib/libm-2.11.1.so
>>>> 7ff8984d3000-7ff8986d2000 ---p 00082000 08:07 9699571                    /lib/libm-2.11.1.so
>>>> 7ff8986d2000-7ff8986d3000 r--p 00081000 08:07 9699571                    /lib/libm-2.11.1.so
>>>> 7ff8986d3000-7ff8986d4000 rw-p 00082000 08:07 9699571                    /lib/libm-2.11.1.so
>>>> 7ff8986d4000-7ff898895000 r-xp 00000000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
>>>> 7ff898895000-7ff898a95000 ---p 001c1000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
>>>> 7ff898a95000-7ff898a9a000 r--p 001c1000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
>>>> 7ff898a9a000-7ff898ae4000 rw-p 001c6000 08:07 10619386                   /usr/lib/libmysqlclient_r.so.16.0.0
>>>> 7ff898ae4000-7ff898ae6000 rw-p 00000000 00:00 0
>>>> 7ff898ae6000-7ff898b06000 r-xp 00000000 08:07 9701351                    /lib/ld-2.11.1.so
>>>> 7ff898b48000-7ff898cf3000 rw-p 00000000 00:00 0
>>>> 7ff898d03000-7ff898d05000 rw-p 00000000 00:00 0
>>>> 7ff898d05000-7ff898d06000 r--p 0001f000 08:07 9701351                    /lib/ld-2.11.1.so
>>>> 7ff898d06000-7ff898d07000 rw-p 00020000 08:07 9701351                    /lib/ld-2.11.1.so
>>>> 7ff898d07000-7ff898d08000 rw-p 00000000 00:00 0
>>>> 7fffd9f3c000-7fffd9f80000 rw-p 00000000 00:00 0                          [stack]
>>>> 7fffd9fb2000-7fffd9fb3000 r-xp 00000000 00:00 0                          [vdso]
>>>> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
>>>> Aborted
>>>> 
>>>> Cheers and thanks for the quick response,
>>>> 
>>>> Jesse
>>>> 
>>>> On Wed, Aug 29, 2012 at 9:40 PM, Carter Bullard <carter at qosient.com> wrote:
>>>> Ooops, I messed up so disregard the last email.  You're cool but, look to see if your database was generated, and if any of the supporting tables were created.
>>>> 
>>>> % mysql
>>>> (mysql) use ArgusTimes
>>>> (mysql) show tables
>>>> 
>>>> You may not have table creation permissions in mysql which can generate weird error messages.
>>>> 
>>>> In order ro debug you'll need to configure and compile with the .devel and .debug files in your root directory so that when you generate the error mesage it will tell us where you are in the code.
>>>> 
>>>> Sorry for the inconvenience.  I don't get this error on any of my systems, but shouldn't be too rough to figure out.
>>>> 
>>>> Carter
>>>> 
>>>> , 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
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Jesse Bowling
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Jesse Bowling
>>> 
>>> 
>> 
>> 
>> 
>> 
>> -- 
>> Jesse Bowling
>> 
>> 
> 
> 
> 
> 
> -- 
> Jesse Bowling
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20120907/c1008010/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20120907/c1008010/attachment.bin>


More information about the argus mailing list