Re: smbclient from net/smbclient generates smbclient.gmon files

2010-02-14 Thread Matthew Seaman
On 14/02/2010 09:27, barbara wrote:
 During the recent massive port upgrades, I decided to uninstall 
 net/samba3 and install net/smb-smbclient as I need just the client 
 component. Now I've noticed that, every times I start smbclient, a
 file named smbclient.gmon (about 2 mb), reported as data by
 file(1), is generated in the CWD. I've no idea about what is that
 file and a search on google reported 0 results. This is pretty
 annoying because I'll get a copy of this file in every directory
 where I start smbclient. This wasn't happening with smbclient built
 from net/samba3 and just before the upgrade smb-smbclient has been
 updated from 3.0 to 3.4, so I'm wondering if this behavior depends on
 the version or on the port (samba3* vs samba-smbclient). But what
 really matters is how can it stop it creating this file?

You've somehow got profiling turned on.  See gprof(1) for the full
details, but in short, what you are seeing is a record of what
functions are called in your application, how long is spent within each
function and the linkage between called and calling functions.  It is
of no conceivable use to you unless you are working on the development
of smbclient.

Profiling is turned on by adding -pg to the compiler flags when the
application is built. Check your /etc/make.conf for suspicious entries.
Eliminate wherever -pg comes from and rebuild smbclient to get rid of
the problem.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.  7 Priory Courtyard, Flat 3
Black Earth Consulting   Ramsgate
 Kent, CT11 9PW
Free and Open Source Solutions   Tel: +44 (0)1843 580647



signature.asc
Description: OpenPGP digital signature


Re: smbclient from net/smbclient generates smbclient.gmon files

2010-02-14 Thread Rob Farmer
On Sun, Feb 14, 2010 at 1:27 AM, barbara barbara.xxx1...@libero.it wrote:
 During the recent massive port upgrades, I decided to uninstall net/samba3 
 and install net/smb-smbclient as I need just the client component.
 Now I've noticed that, every times I start smbclient, a file named 
 smbclient.gmon (about 2 mb), reported as data by file(1), is generated in 
 the CWD.
 I've no idea about what is that file and a search on google reported 0 
 results.
 This is pretty annoying because I'll get a copy of this file in every 
 directory where I start smbclient.
 This wasn't happening with smbclient built from net/samba3 and just before 
 the upgrade smb-smbclient has been updated from 3.0 to 3.4, so I'm wondering 
 if this behavior depends on the version or on the port (samba3* vs 
 samba-smbclient).
 But what really matters is how can it stop it creating this file?

There's a PR related to this (ports/143924) - it is a problem with the
port and hopefully will be fixed soon.

-- 
Rob Farmer



 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org




-- 
Rob Farmer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: smbclient from net/smbclient generates smbclient.gmon files

2010-02-14 Thread barbara

 On Sun, Feb 14, 2010 at 1:27 AM, barbara barbara.xxx1...@libero.it wrote:
  During the recent massive port upgrades, I decided to uninstall net/samba3 
  and install net/smb-smbclient as I need just the client component.
  Now I've noticed that, every times I start smbclient, a file named 
  smbclient.gmon (about 2 mb), reported as data by file(1), is generated 
  in the CWD.
  I've no idea about what is that file and a search on google reported 0 
  results.
  This is pretty annoying because I'll get a copy of this file in every 
  directory where I start smbclient.
  This wasn't happening with smbclient built from net/samba3 and just before 
  the upgrade smb-smbclient has been updated from 3.0 to 3.4, so I'm 
  wondering if this behavior depends on the version or on the port (samba3* 
  vs samba-smbclient).
  But what really matters is how can it stop it creating this file?

 There's a PR related to this (ports/143924) - it is a problem with the
 port and hopefully will be fixed soon.

 --
 Rob Farmer


Ok, thanks to both of you for the information!


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: smbclient from net/smbclient generates smbclient.gmon files

2010-02-14 Thread jhell


On Sun, 14 Feb 2010 06:54, barbara.xxx1975@ wrote:



On Sun, Feb 14, 2010 at 1:27 AM, barbara barbara.xxx1...@libero.it wrote:

During the recent massive port upgrades, I decided to uninstall net/samba3 and 
install net/smb-smbclient as I need just the client component.
Now I've noticed that, every times I start smbclient, a file named smbclient.gmon 
(about 2 mb), reported as data by file(1), is generated in the CWD.
I've no idea about what is that file and a search on google reported 0 results.
This is pretty annoying because I'll get a copy of this file in every directory 
where I start smbclient.
This wasn't happening with smbclient built from net/samba3 and just before the 
upgrade smb-smbclient has been updated from 3.0 to 3.4, so I'm wondering if 
this behavior depends on the version or on the port (samba3* vs 
samba-smbclient).
But what really matters is how can it stop it creating this file?


There's a PR related to this (ports/143924) - it is a problem with the
port and hopefully will be fixed soon.

--
Rob Farmer



I hope it will be fixed soon because I know for a fact it has infected my 
systems with the .gmon for samba33 samba34 and cups. So far that is all I 
noticed. :(


These are all from recent cups and samba34 on two machines. I'm not willing 
to upgrade anymore machines until these disappear.


Had to nail down some symlinks in /.

lrwxr-xr-x  1 root  wheel  9 Feb 11 00:17 /cupsd.gmon - /dev/null
lrwxr-xr-x  1 root  wheel  9 Feb 10 18:42 /nmbd.gmon - /dev/null
lrwxr-xr-x  1 root  wheel  9 Feb 10 18:42 /smbd.gmon - /dev/null
lrwxr-xr-x  1 root  wheel  9 Feb 10 18:42 /testparm.gmon - /dev/null
lrwxr-xr-x  1 root  wheel  9 Feb 10 18:43 /winbindd.gmon - /dev/null



Ok, thanks to both of you for the information!




--

 jhell

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org