[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1055432: kontact: Attaching file to email tries to mount filesystems



severity 1055432 normal
thanks

> I appreciate this is an attempt to be helpful, gathering information about
> known mountpoints, but the nature of autofs mountpoints is that they are
> not guaranteed to be always available to be mounted so causing an attempt
> to mount them without user explicitly asking for it is not good.

I think we aren't in the "It is better to release without the entirety of 
KDE's software stack", so downgrading

This is an issue in one of the underlying libraries, but we should probably 
investigate exactly which one. 

What I think is happening is something along the following:
 - the sidebar has possibility to add fancy icon, name or other fancyness read 
from the location in question
 - this happens maybe unconditionally, maybe conditional of "is mounted". 
 - autofs filesystems is mounted with type=autofs until accessed

I guess, if we can locate the right place to do it, maybe do a early check if 
file system type is autofs and not really mounted, before looking further.

What I suggest to do to track this down is the following, given you have a 
setup to reproduce it:

1) look up how to install debug packages using one of the ways in 
https://wiki.debian.org/HowToGetABacktrace

2) Run an application under GDB. (I'm sure kwrite is a simpler application 
that can show the same behavior)

3) Get the application into the state, break in gdb and get the full backtrace 
(thread apply all bt)

4) read over the backtrace and verify that nothing not for public consumption 
is in it

5) post it as a reply.

Maybe we can figure it out together.

/Sune
-- 
I didn’t stop pretending when I became an adult, it’s just that when I was a 
kid I was pretending that I fit into the rules and structures of this world. 
And now that I’m an adult, I pretend that those rules and structures exist.
   - zefrank


Reply to: