[278] in bug-owl

home help back first fref pref prev next nref lref last post

Coredump when filtering upon instance with spaces

daemon@ATHENA.MIT.EDU (Arun A Tharuvai)
Sun Oct 26 18:53:45 2003

Date: Sun, 26 Oct 2003 18:53:37 -0500
From: Arun A Tharuvai <aatharuv@MIT.EDU>
To: bug-owl@MIT.EDU
Cc: aatharuv@MIT.EDU
Message-ID: <20031026235337.GH17310@multics.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

When filtering upon a zephyr sent to -c aatharuv.test -i "foo bar", 
I got the message

Unknown filter class-aatharuv.test-instance-foo.bar . I tried moving
up and down, a couple of times, and then had owl coredump on me, about
80% of the time, after a couple of seconds.

Oh, I was running owl from cvs, with the patch that I sent out in my
last email (sent in the past hour), to owl-developers and bug-owl,
though I had the same problems with owl-beta (owl 2.0.11) on multics.

Arun

Here's the backtrace:

aatharuv@multics:~/sipb/working/owl>gdb ./owl core
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2.8"...

Core was generated by `./owl'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
Reading symbols from /usr/lib/nss_dns.so.1...done.
#0  0x649cc in owl_filterelement_is_re (fe=0x61617468) at filterelement.c:126
126       if (fe->type==OWL_FILTERELEMENT_RE) return(1);
(gdb)
(gdb) bt
#0  0x649cc in owl_filterelement_is_re (fe=0x61617468) at filterelement.c:126
#1  0x5eb34 in owl_filter_message_match (f=0x36b980, m=0x34d410) at filter.c:147
#2  0x3a7e8 in owl_mainwin_redisplay (mw=0x1ce498) at mainwin.c:79
#3  0x53acc in owl_function_prevmsg_full (filter=0x0, skip_deleted=0, first_if_none=0) at functions.c:577
#4  0x3ed4c in owl_command_prev (argc=1, argv=0x2ebe48, buff=0x31d8f0 "prev ") at commands.c:1160
#5  0x6714c in owl_cmd_execute (cmd=0x26b9a0, cd=0x1ce580, ctx=0x1ce58c, argc=1, argv=0x2ebe48, cmdbuff=0x31d8f0 "prev ") at cmd.c:178
#6  0x66a38 in owl_cmddict_execute (cd=0x1ce580, ctx=0x1ce58c, cmdbuff=0x31d8f0 "prev ") at cmd.c:79
#7  0x52198 in owl_function_command (cmdbuff=0x31d8f0 "prev ") at functions.c:24
#8  0x66ee8 in owl_cmd_execute (cmd=0x26ba00, cd=0x1ce580, ctx=0x1ce58c, argc=1, argv=0x2ebfd4, cmdbuff=0x29d4ac "recv:prev") at cmd.c:144
#9  0x66a38 in owl_cmddict_execute (cd=0x1ce580, ctx=0x1ce58c, cmdbuff=0x29d4ac "recv:prev") at cmd.c:79
#10 0x52198 in owl_function_command (cmdbuff=0x29d4ac "recv:prev") at functions.c:24
#11 0x521c0 in owl_function_command_norv (cmdbuff=0x29d4ac "recv:prev") at functions.c:31
#12 0x66364 in owl_keybinding_execute (kb=0x30cc40, j=107) at keybinding.c:73
#13 0x65e9c in owl_keyhandler_process (kh=0x1ce4f0, j=107) at keymap.c:262
#14 0x3764c in main (argc=0, argv=0xffbef108, env=0xffbef10c) at owl.c:552
 

-- 
Arun A Tharuvai
aatharuv (at) mit (dot) edu
aat (at) alum (dot) mit (dot) edu

home help back first fref pref prev next nref lref last post