Date: Sun, 15 Aug 2004 17:30:35 GMT From: Joe Marcus Clarke <marcus@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/70341: pan2 crashes when built with libgnuregex Message-ID: <200408151730.i7FHUZot007352@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/70341; it has been noted by GNATS. From: Joe Marcus Clarke <marcus@FreeBSD.org> To: conrads@cox.net Cc: pan@rebelbase.com, freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/70341: pan2 crashes when built with libgnuregex Date: Sun, 15 Aug 2004 13:26:07 -0400 --=-c17Lw2dtlXJFAAWw60s+ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-08-14 at 21:51, Conrad J. Sabatier wrote: > OK, finally got that full trace. I just did another full upgrade of > the world, kernel and ports, all with debugging enabled. What version of glib20 do you have installed? When does this crash occur? Does it happen the moment you first select the filter after launching Pan, or does it happen after you've done a lot of tasks.=20 Please give me a step-by-step way to reproduce this (newsgroups to visit, etc.). Joe >=20 > dolphin:conrads:/usr/home/conrads$ gdb `which pan` > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 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 "amd64-marcel-freebsd"... > (gdb) run > Starting program: /usr/X11R6/bin/pan >=20 > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 5 (LWP 100116)] > 0x0000000202f39d18 in re_search_2 (bufp=3D0x7fffffbea230, string1=3D0x0, > size1=3D0, > string2=3D0xc4f880 "Steas Post Full Mix Explosive Car Tunning=20 > [10/010 - \"Explosive Car Tunning 4 - CD2 192KBPS.vol64+16.PAR2\" > yEnc (15/17)", size2=3D121, > startpos=3D0, range=3D121, regs=3D0x0, stop=3D121) > at /usr/src/gnu/lib/libregex/regex.c:5036 > 5036 range--; > (gdb) bt full > #0 0x0000000202f39d18 in re_search_2 (bufp=3D0x7fffffbea230, string1=3D0= x0, > size1=3D0, > string2=3D0xc4f880 "Steas Post Full Mix Explosive Car Tunning=20 > [10/010 - \"Explosive Car Tunning 4 - CD2 192KBPS.vol64+16.PAR2\" > yEnc (15/17)", size2=3D121, > startpos=3D0, range=3D121, regs=3D0x0, stop=3D121) > at /usr/src/gnu/lib/libregex/regex.c:5036 > d =3D 0xc4f881 "teas Post Full Mix Explosive Car Tunning [10/010 > - \"Explosive Car Tunning 4 - CD2 192KBPS.vol64+16.PAR2\" yEnc > (15/17)" > lim =3D 0 > irange =3D 121 > val =3D 11494144 > fastmap =3D 0x2 <Error reading address 0x2: Bad address> > translate =3D 0xaf6300 "" > total_size =3D 121 > endpos =3D 121 > #1 0x0000000202f39f03 in re_search (bufp=3D0x7fffffbea201, string=3D0x0, > size=3D12908673, startpos=3D121, range=3D1, regs=3D0x0) > at /usr/src/gnu/lib/libregex/regex.c:4923 > No locals. > #2 0x0000000202f3a2e2 in regexec (preg=3D0x68c768, > string=3D0xc4f880 "Steas Post Full Mix Explosive Car Tunning [10/010 > - \"Explosive Car Tunning 4 - CD2 192KBPS.vol64+16.PAR2\" yEnc > (15/17)", nmatch=3D0, > pmatch=3D0x0, eflags=3D0) at /usr/src/gnu/lib/libregex/regex.c:7790 > ret =3D 6866792 > ---Type <return> to continue, or q <return> to quit--- > regs =3D {num_regs =3D 0, start =3D 0x0, end =3D 0x68c768} > private_preg =3D {buffer =3D 0xc6e9c0 "\002\001.\004\016", > allocated =3D 64, > used =3D 39, syntax =3D 242428, > fastmap =3D 0x2 <Error reading address 0x2: Bad address>, > translate =3D 0xaf6300 "", re_nsub =3D 0, can_be_null =3D 0, regs_alloc= ated > =3D 2, > fastmap_accurate =3D 1, no_sub =3D 0, not_bol =3D 0, not_eol =3D 0, > newline_anchor =3D 0} > len =3D 121 > want_reg_info =3D 0 '\0' > #3 0x000000000046c14d in filter_phrase_test_articles > (filter=3D0x7fffffbea201, > articles=3D0xc50000, article_qty=3D851, does_match=3D0xc52000) > at filter-phrase.c:173 > buf =3D > "`\000\000\000\000\000\000\000\000\000\000\b\002\002\000\000\000\ > 000i\000\001\000\000\000\b\002\002\000\000\0003\002\002", '\0' > <repeats 11 times>, > "\b\002\002\000\000\000\000i\000\000\000\000\000\000\000\000\000\001" > , '\0' <repeats 11 times>, > "\002\002\000\000\000\b\002\002\000\000\000\000i\000\001\000\000\0 > 00\b\002\002\000\000\0003\002\002", '\0' <repeats 11 times>, > "\b\002\002\000\000\000\000i\000\000\000\000\000\000\000\000\000\001" > , '\0' <repeats 11 times>, "\002\002\000\000\000\000", '\0' > <repeats 13 times>, "\001\000\000\000\000\000\000\000 d", '\0' > <repeats 13 times>... > a =3D (const Article *) 0x0 > text =3D 0xc4f880 "Steas Post Full Mix Explosive Car Tunning=20 > [10/010 - \"Explosive Car Tunning 4 - CD2 192KBPS.vol64+16.PAR2\" > yEnc (15/17)" > text_len =3D 0 > ---Type <return> to continue, or q <return> to quit--- > i =3D 0 > phrase =3D (FilterPhrase *) 0x68c600 > #4 0x0000000000469ce3 in filter_test_articles (filter=3D0x68c600, > articles=3D0x0, > qty=3D851, passfail=3D0xc52000) at filter.c:116 > __PRETTY_FUNCTION__ =3D "filter_test_articles" > #5 0x0000000000469ce3 in filter_test_articles (filter=3D0xaafd00, > articles=3D0x0, > qty=3D851, passfail=3D0xc52000) at filter.c:116 > __PRETTY_FUNCTION__ =3D "filter_test_articles" > #6 0x0000000000469e71 in filter_remove_failures (filter=3D0x0, > articles=3D0xad54b0) at filter.c:209 > i =3D 0 > tmp =3D (GPtrArray *) 0x65e780 > passfail =3D (gboolean *) 0xc52000 > __PRETTY_FUNCTION__ =3D "filter_remove_failures" > #7 0x0000000000467101 in rule_apply (rule=3D0xb4f400, articles=3D0x65e78= 0) > at rule.c:287 > filter =3D (Filter *) 0xaafd00 > tmp =3D (GPtrArray *) 0xad54b0 > deleted =3D 1 > __PRETTY_FUNCTION__ =3D "rule_apply" > #8 0x0000000000464c40 in rule_manager_process_incoming_articles ( > articles=3D0x65e780) at rule-manager.c:123 > r =3D (Rule *) 0x7fffffbea201 > i =3D 2 > ---Type <return> to continue, or q <return> to quit--- > __PRETTY_FUNCTION__ =3D "rule_manager_process_incoming_articles" > #9 0x0000000000457784 in task_headers_run_download (task=3D0xb26100, > sock=3D0xa6cd00) at task-headers.c:321 > steps =3D 8863072 > articles =3D (GPtrArray *) 0x65e780 > low_in_group =3D 2401495 > high_in_group =3D 2403866 > low_to_fetch =3D 2402774 > high_to_fetch =3D 2403866 > high_reached =3D 2403866 > total_in_group =3D 2338 > progress_fmt =3D 0x4ff20c "New %lu of %lu" > reffed =3D 1 > state_set =3D 0 > val =3D 11494144 > state =3D TASK_OK > __PRETTY_FUNCTION__ =3D "task_headers_run_download" > #10 0x000000000044bc63 in queue_run_thread (gp_data=3D0x7fffffbea201, > user_data=3D0x0) at queue.c:941 > data =3D (QueueRunStruct *) 0xb011a0 > task =3D (Task *) 0xb26100 > sock =3D (PanSocket *) 0xa6cd00 > #11 0x00000002026997fa in g_thread_pool_thread_proxy > (data=3D0x7fffffbea201) > at gthreadpool.c:113 > ---Type <return> to continue, or q <return> to quit--- > task =3D 0xb011a0 > goto_global_pool =3D 0 > len =3D 11538848 > pool =3D (GRealThreadPool *) 0x684980 > watcher =3D 0 > #12 0x0000000202697464 in g_thread_create_proxy (data=3D0x7fffffbea201) > at gthread.c:556 > thread =3D (GRealThread *) 0x684b40 > __PRETTY_FUNCTION__ =3D "g_thread_create_proxy" > #13 0x0000000202bf4aa9 in thread_start (curthread=3D0x7fffffbea201, > start_routine=3D0, arg=3D0x7fffffbea201) > at /usr/src/lib/libpthread/thread/thr_create.c:342 > No locals. > #14 0x00000002030870d4 in makectx_wrapper (ucp=3D0x69f010, func=3D0x73, > args=3D0xaf6300) at /usr/src/lib/libc/amd64/gen/makecontext.c:100 > No locals. > #15 0x0000000000000000 in ?? () > No symbol table info available. > #16 0x000000000069b400 in ?? () > No symbol table info available. > #17 0x00000002026973e0 in g_thread_fail () at gthread.c:538 > g_once_cond =3D (GCond *) 0x6540a0 > zero_thread =3D {data =3D "\000\000\000\000\000\000\000", > dummy_double =3D 0, dummy_pointer =3D 0x0, dummy_long =3D 0} > ---Type <return> to continue, or q <return> to quit--- > g__g_thread_lock =3D {runtime_mutex =3D 0x0, static_mutex =3D { > pad =3D "\000h\000\000\000\000", dummy_double =3D > 3.3975273929184166e-317, > dummy_pointer =3D 0x68ee00, dummy_long =3D 6876672}} > g_thread_free_indeces =3D (GSList *) 0x0 > g_thread_all_threads =3D (GSList *) 0x65d920 > g_once_mutex =3D (GMutex *) 0x654090 > g_thread_specific_private =3D (GPrivate *) 0x654130 > g_thread_functions_for_glib_use =3D { > mutex_new =3D 0x2026973c0 <g_thread_fail>, mutex_lock =3D 0, > mutex_trylock =3D 0, > mutex_unlock =3D 0, mutex_free =3D 0, cond_new =3D 0x2026973c0 > <g_thread_fail>, > cond_signal =3D 0, cond_broadcast =3D 0, cond_wait =3D 0, cond_timed_wa= it =3D > 0, > cond_free =3D 0, private_new =3D 0x2026973c0 <g_thread_fail>, private_g= et > =3D 0, > private_set =3D 0, thread_create =3D 0x2026973c0 <g_thread_fail>, > thread_yield =3D 0, thread_join =3D 0, thread_exit =3D 0, > thread_set_priority =3D 0, > thread_self =3D 0, thread_equal =3D 0} > g_thread_use_default_impl =3D 1 > g_threads_got_initialized =3D 0 > #18 0x0000000000684b40 in ?? () > No symbol table info available. > #19 0x0000000000000000 in ?? () > No symbol table info available. > #20 0x0000000000000000 in ?? () > No symbol table info available. > #21 0x0000000000000000 in ?? () > ---Type <return> to continue, or q <return> to quit--- > No symbol table info available. > Error accessing memory address 0x7fffffbeb000: Bad address. > (gdb) --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-c17Lw2dtlXJFAAWw60s+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBH5yvb2iPiv4Uz4cRAlD3AJ4/b4W+eRfBTx19VLjCO9AzYc4blACgr5V0 kTmgXYEsZWLgB/Z+sD6ZMZM= =qFRf -----END PGP SIGNATURE----- --=-c17Lw2dtlXJFAAWw60s+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408151730.i7FHUZot007352>