Ticket #43 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Segfault when starting stratcond

Reported by: mark Assigned to: jesus
Priority: minor Milestone:
Component: stratcond Severity:
Keywords: Cc:

Description (Last modified by mark)

I compiled the latest revision (323) of reconnoiter, tried to run stratcond (./stratcond -c stratcond.conf), and got a segfault. The output is as follows:

(mark@mark-desktop)-(17:07:13)-(0)-(pts/0) 
(src) ./stratcond -c stratcon.conf 
Found 2 /stratcon/logs//log stanzas
found 1 outlets for log 'error'
Segmentation fault (core dumped)

I ran gdb on the core file and got a backtrace:

#0  0xb7b90028 in strcmp () from /lib/tls/i686/cmov/libc.so.6
#1  0x0805dc6a in eventer_choose (name=0xbfbd0154 "kqueue") at eventer.c:55
#2  0x08052f85 in main (argc=Cannot access memory at address 0x0
) at stratcond.c:88

My system is Linux Ubuntu 7.10 (Gutsy):

(mark@mark-desktop)-(17:16:53)-(1)-(pts/0) 
(src) gcc --version
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(mark@mark-desktop)-(17:16:55)-(0)-(pts/0) 
(src) autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

Change History

07/03/08 21:18:46 changed by mark

  • description changed.

07/03/08 21:19:29 changed by mark

  • description changed.

07/03/08 21:19:38 changed by jesus

  • status changed from new to closed.
  • resolution set to fixed.

(In [324]) fixes #43

07/03/08 21:21:01 changed by jesus

(In [325]) a specific implementation should not be in the sample config, refs #43