ports/70341: pan2 crashes when built with libgnuregex

Conrad J. Sabatier conrads at cox.net
Thu Aug 12 20:00:50 UTC 2004


The following reply was made to PR ports/70341; it has been noted by GNATS.

From: "Conrad J. Sabatier" <conrads at cox.net>
To: Joe Marcus Clarke <marcus at FreeBSD.org>
Cc: freebsd-gnats-submit at FreeBSD.org, pan at rebelbase.com
Subject: Re: ports/70341: pan2 crashes when built with libgnuregex
Date: Thu, 12 Aug 2004 14:54:40 -0500 (CDT)

 On 12-Aug-2004 Conrad J. Sabatier wrote:
 > 
 > On 12-Aug-2004 Conrad J. Sabatier wrote:
 > 
 > Hmmm.  After rebuilding the port and all of its dependencies, the
 > problem seems to have gone away.
 > 
 > Perhaps the fault was in another dependent package, or a system
 > library (I also upgraded the world/kernel along with all of the
 > packages).
 > 
 > Hopefully, we won't be seeing this problem again.  <crossing fingers>
 > 
 > Sorry for the bogus report.  :-)
 
 Oops.  Looks like I just didn't wait long enough.  The same problem is
 still occurring:
 
 (gdb) run
 Starting program: /usr/X11R6/bin/pan
 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 9 (LWP 100103)]
 0x0000000202f2bbc9 in re_search_2 () from /usr/lib/libgnuregex.so.2
 (gdb) bt
 #0  0x0000000202f2bbc9 in re_search_2 () from /usr/lib/libgnuregex.so.2
 #1  0x0000000202f2bda3 in re_search () from /usr/lib/libgnuregex.so.2
 #2  0x0000000202f2c182 in regexec () from /usr/lib/libgnuregex.so.2
 #3  0x000000000046bf5b in filter_new_set_state ()
 #4  0x0000000000469b03 in filter_test_articles ()
 #5  0x0000000000469b03 in filter_test_articles ()
 #6  0x000000000046a382 in filter_negate ()
 #7  0x0000000000469b03 in filter_test_articles ()
 #8  0x0000000000469c91 in filter_remove_failures ()
 #9  0x0000000000425eb8 in articlelist_selected_flag_for_dl_nolock ()
 #10 0x0000000000428649 in articlelist_get_group_changed_callback ()
 #11 0x000000020268ce04 in g_thread_create_proxy (data=0xbae300)
     at gthread.c:556
 #12 0x0000000202be6a89 in pthread_create () from
 /usr/lib/libpthread.so.1
 #13 0x0000000203078bd4 in makecontext () from /lib/libc.so.5
 #14 0x0000000000000000 in ?? ()
 #15 0x000000000085e400 in ?? ()
 #16 0x000000020268cd80 in g_thread_fail () at gthread.c:538
 #17 0x0000000000a90580 in ?? ()
 #18 0x0000000000000000 in ?? ()
 #19 0x0000000000000000 in ?? ()
 #20 0x0000000000000000 in ?? ()
 Error accessing memory address 0x7fffff6e6000: Bad address.
 (gdb)
 
 Again, the filter that's causing trouble is this one:
 
 
         <filter type="or" name="non-mp3" visible="t">
                 <phrase negate="t" match_type="regex"
 key_type="subject" case_sensitive="f" key="\.[Mm][Pp]3"/>
         </filter>
 
 -- 
 Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"



More information about the freebsd-ports-bugs mailing list