I have not been using threads yet, simply to keep the number of variables
low. After this works, I'll kick the posix threads in, and try it out.
I have another coredump today with the same back trace. This is the info
from the original one.


(gdb) frame 3
#3  0x27aec in UdmFreeHrefList (HrefList=0x1149050) at hrefs.c:95
95                      UDM_FREE(HrefList->Href[i].url);
(gdb) print i
$1 = 2300
(gdb) print HrefList->nhrefs
$2 = 4095
(gdb) print HrefList->Href[i]
$3 = {
  url = 0x2ab52d8
"http://intranet.globix.net/Sales%20Documents/London/Managed%2
0Services/Contracts/", tag = 0x0, category = 0x0, referrer = 70484, hops =
4,
  stored = 1}


And here is today's:

(gdb) frame 3
#3  0x27aec in UdmFreeHrefList (HrefList=0x1149050) at hrefs.c:95
95                      UDM_FREE(HrefList->Href[i].url);
(gdb) print i
$1 = 3507
(gdb) print HrefList->nhrefs
$2 = 4167
(gdb) print HrefList->Href[i]
$3 = {
  url = 0x2b625b8
"http://intranet.globix.net/selection_level.php?dir=/Technolog
y%20and%20Applications%20Services%20Group/Network%20Engineering%20and%20Product%
20Development%20Division/Global%20Network%20Engineering%20D"..., tag =
0x0,
  category = 0x0, referrer = 80223, hops = 7, stored = 1}
(gdb) print HrefList->Href[i].url
$4 = 0x2b625b8
"http://intranet.globix.net/selection_level.php?dir=/Technology%2
0and%20Applications%20Services%20Group/Network%20Engineering%20and%20Product%20D
evelopment%20Division/Global%20Network%20Engineering%20D"...
(gdb)



The only deviation I made from any of the stock sources for 3.2.0b1 is
that I increased the URL size to 512 (511 in include/udm_common.h) in both
source and PostgreSQL tables



> > (gdb) bt
> > #0  0xff245be4 in realfree () from /usr/lib/libc.so.1
> > #1  0xff246418 in _free_unlocked () from /usr/lib/libc.so.1
> > #2  0xff246368 in free () from /usr/lib/libc.so.1
> > #3  0x27aec in UdmFreeHrefList (HrefList=0x1149050) at hrefs.c:95
> > #4  0x27cd8 in UdmStoreHrefs (Indexer=0x1145008) at hrefs.c:138
> > #5  0x16dd8 in UdmGetTarget (Indexer=0x165c988, result=0xffbe27c4,
> >     index_flags=71) at indexer.c:234
> > #6  0x19110 in UdmIndexNextURL (Indexer=0x165c988, index_flags=71)
> >     at indexer.c:1147
> > #7  0x15bcc in thread_main (arg=0x165c988) at main.c:256
> > #8  0x165f8 in main (argc=0, argv=0xffbefc20) at main.c:598
> > (gdb)
> >
> >
>
> It would be nice if you could resolve what exactly happened in
> line 95 of hrefs.c, i.e. in frame #3.  Values  of i,
> HrefList->nhrefs, HrefList->nhrefs[i] are interesting.
> Use "frame 3" then "print" gdb commands. Thanks.
>
> By the way, do you use multi-threads indexer, or single-thread one?
> --enable-phtreads configure flag is respobsible for this.
>
> ___________________________________________
> If you want to unsubscribe send "unsubscribe general"
> to [EMAIL PROTECTED]
>
>

-- 
Danish Qadri
Systems Programmer
Globix Corporation
[EMAIL PROTECTED]

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to