Re: Mmap problem in -current?

1999-06-06 Thread Brian Feldman
On 6 Jun 1999, Joel Ray Holveck wrote:

  I just noticed (kernelworld from friday) that locate always cores
  dump: 
  $ locate xxx
  Segmentation fault (core dumped)
  The problem disappears if I recompile locate without the -DMMAP
  option.
  Running on the very latest current, it does not work for me.
 
 By 'it', do you mean that locate does not work, that the failure test
 does not work (ie, locate is fine for you), or that the workaround
 does not work?

Sorry for being ambiguous. By 'it' I meant the test that you showed us. I
cannot reproduce it. Have you tried remaking your locate database first?

 
 Thanks,
 joelh
 
 -- 
 Joel Ray Holveck - jo...@gnu.org
Fourth law of programming:
Anything that can go wrong wi
 sendmail: segmentation violation - core dumped
 

 Brian Feldman_ __ ___   ___ ___ ___  
 gr...@unixhelp.org_ __ ___ | _ ) __|   \ 
 FreeBSD: The Power to Serve!  _ __ | _ \._ \ |) |
 http://www.freebsd.org   _ |___)___/___/ 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Mmap problem in -current?

1999-06-05 Thread Jean-Marc Zucconi
I just noticed (kernelworld from friday) that locate always cores
dump: 
$ locate xxx
Segmentation fault (core dumped)
$ gdb -c locate.core /usr/bin/locate 
Program terminated with signal 11, Segmentation fault.
(gdb) bt
#0  0x804964b in ___tolower ()
#1  0x235000 in ?? ()
#2  0x8049166 in ___tolower ()
#3  0x8048f93 in ___tolower ()
#4  0x80489f5 in ___tolower ()

The problem disappears if I recompile locate without the -DMMAP
option.

Jean-Marc

-- 
 Jean-Marc ZucconiPGP Key: finger j...@freebsd.org


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Mmap problem in -current?

1999-06-05 Thread Brian Feldman
On Sun, 6 Jun 1999, Jean-Marc Zucconi wrote:

 I just noticed (kernelworld from friday) that locate always cores
 dump: 
 $ locate xxx
 Segmentation fault (core dumped)
 $ gdb -c locate.core /usr/bin/locate 
 Program terminated with signal 11, Segmentation fault.
 (gdb) bt
 #0  0x804964b in ___tolower ()
 #1  0x235000 in ?? ()
 #2  0x8049166 in ___tolower ()
 #3  0x8048f93 in ___tolower ()
 #4  0x80489f5 in ___tolower ()
 
 The problem disappears if I recompile locate without the -DMMAP
 option.
 
 Jean-Marc

Running on the very latest current, it does not work for me.

 
 -- 
  Jean-Marc ZucconiPGP Key: finger j...@freebsd.org
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-current in the body of the message
 

 Brian Feldman_ __ ___   ___ ___ ___  
 gr...@unixhelp.org_ __ ___ | _ ) __|   \ 
 FreeBSD: The Power to Serve!  _ __ | _ \._ \ |) |
 http://www.freebsd.org   _ |___)___/___/ 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Mmap problem in -current?

1999-06-05 Thread Joel Ray Holveck
 I just noticed (kernelworld from friday) that locate always cores
 dump: 
 $ locate xxx
 Segmentation fault (core dumped)
 The problem disappears if I recompile locate without the -DMMAP
 option.
 Running on the very latest current, it does not work for me.

By 'it', do you mean that locate does not work, that the failure test
does not work (ie, locate is fine for you), or that the workaround
does not work?

Thanks,
joelh

-- 
Joel Ray Holveck - jo...@gnu.org
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message