rkctechnocrat / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

kernel[0]: MacFUSE: unknown response from alert panel (kr=0, rf=-1876398048) #227

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using EncFS, with a symbolic link
~/Library/Mail -> /Volumes/gjp22-private/Library/Mail

Whilst Mail.app was building a new Envelope Index at that path:

    kernel[0]: MacFUSE: unknown response from alert panel (kr=0, rf=-1876398048)

Timing
------

Prior to launching Mail.app (yesterday, 23rd June): 

* backed up
* created the destination /Volumes/gjp22-private/Library/Mail
* removed all IMAP caches from ~/Library/Mail
* removed 140 MB ~/Library/Mail/Envelope Index
* copied from ~/Library/Mail to /Volumes/gjp22-private/Library/Mail
* removed ~/Library/Mail
* symlinked ~/Library/Mail -> /Volumes/gjp22-private/Library/Mail

When I first noted the issue (this morning, 24th June):

* the mount point remained
* the encfs process was no longer running

I have since:

* removed the mount point (clicked the eject icon in Finder sidebar)
* re-verified the disk
* re-mounted the volume
* prepared this report.

I'll next, restart and make less adventurous use of EncFS.

Environment
-----------

Mac OS X 10.4.10
safe boot

MacFUSE 0.4.0

MacFusion built from revision 277 at 
<https://macfusion.googlecode.com/svn/trunk> (post- 1.2 Beta 1)

EncFS.plugin 0.2.0 from <http://systemred.net/> present at 
/Library/Application\ Support/MacFusion/PlugIns

path to EncFS storage
/Users/gjp22/Documents/.encfs

mount point 
/Volumes/gjp22-private

symbolic links:

~/Library/Application Support -> /Volumes/gjp22-private/Library/Application 
Support

~/Library/Mail -> /Volumes/gjp22-private/Library/Mail

From system.log
---------------

Jun 23 17:37:52 grahamperrin diskarbitrationd[55]: disk1s2    hfs      
3E09CDC8-0E91-37A4-
AC57-A75F0C3A26A2 excess                  /Volumes/excess
Jun 23 17:38:31 grahamperrin kernel[0]: jnl: flushing fs disk buffer returned 
0x5
Jun 23 17:39:10 grahamperrin kernel[0]: jnl: flushing fs disk buffer returned 
0x5
Jun 23 17:39:10 grahamperrin kernel[0]: jnl: flushing fs disk buffer returned 
0x5
Jun 23 17:39:10 grahamperrin kernel[0]: jnl: close: flushing the buffer cache 
(start 0x4ffe00 end 
0x504000)
Jun 23 17:39:10 grahamperrin kernel[0]: jnl: flushing fs disk buffer returned 
0x5
Jun 23 18:12:23 grahamperrin kernel[0]: MacFUSE: unknown response from alert 
panel (kr=0, 
rf=-1876398048)
Jun 23 18:12:23 grahamperrin KernelEventAgent[46]: tid 00000000 received 
unknown event (33)
Jun 23 18:12:36 grahamperrin KernelEventAgent[46]: tid 00000000 received 
VQ_DEAD event (32)

From console.log
----------------

2007-06-23 17:39:33.642 Mail[814] Can't open input server /Users/gjp22/Library/
InputManagers/SafariDragDownloads.bundle
2007-06-23 17:39:34.198 Mail[814] *** -[NSBundle load]: Error loading code 
/Volumes/gjp22-
private/Library/Mail/Bundles/GPGMail.mailbundle/Contents/MacOS/GPGMail for 
bundle /Users/
gjp22/Library/Mail/Bundles/GPGMail.mailbundle, error code 2 (link edit error 
code 0, error 
number 0 ())
2007-06-23 17:39:34.259 Mail[814] Loaded Letterbox bundle
2007-06-23 17:39:34.260 Mail[814] Posing...
2007-06-23 17:39:55.597 Activity Monitor[820] Can't open input server 
/Users/gjp22/Library/
InputManagers/SafariDragDownloads.bundle
2007-06-23 17:51:51.061 ScreenSaverEngine[854] Can't open input server 
/Users/gjp22/
Library/InputManagers/SafariDragDownloads.bundle
2007-06-23 17:51:52.407 ScreenSaverEngine[854] invalid pixel format
2007-06-23 17:51:52.407 ScreenSaverEngine[854] invalid context
2007-06-23 17:51:52.439 ScreenSaverEngine[854] Cannot create OpenGL context
2007-06-23 17:51:52.439 ScreenSaverEngine[854] ScreenSaverModules: can't create 
object for /
Users/gjp22/Library/Screen Savers/plasq - pendulum.saver
2007-06-23 18:00:09.196 ScreenSaverEngine[877] Can't open input server 
/Users/gjp22/
Library/InputManagers/SafariDragDownloads.bundle
2007-06-23 18:00:10.479 ScreenSaverEngine[877] invalid pixel format
2007-06-23 18:00:10.479 ScreenSaverEngine[877] invalid context
2007-06-23 18:00:10.488 ScreenSaverEngine[877] Cannot create OpenGL context
2007-06-23 18:00:10.489 ScreenSaverEngine[877] ScreenSaverModules: can't create 
object for /
Users/gjp22/Library/Screen Savers/plasq - pendulum.saver
2007-06-23 18:12:36.215 Mail[814] error renaming temporary messages directory!
2007-06-23 18:12:36.841 Mail[814] couldn't create partial directory path 
/Volumes/gjp22-
private/Library
2007-06-23 18:12:36.842 Mail[814] couldn't create partial directory path 
/Volumes/gjp22-
private/Library
[...etc. ...]

From Disk Utility.log
---------------------

**********
Jun 23 17:00:24: Disk Utility started.

Verifying volume “MBP”
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked files.
Checking Catalog hierarchy.
 %)
Checking Extended Attributes file.
Checking volume bitmap.
Checking volume information.
The volume MBP appears to be OK.
Mounting Disk

1 HFS volume checked
    Volume passed verification

**********
Jun 24 11:40:58: Disk Utility started.

Verifying volume “MBP”
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked files.
Checking Catalog hierarchy.
 %)
Checking Extended Attributes file.
Checking volume bitmap.
Checking volume information.
The volume MBP appears to be OK.
Mounting Disk

1 HFS volume checked
    Volume passed verification

At /Library/Logs/ and at ~/Library/Logs/ nothing else of obvious interest.

At ~/Library/Logs/CrashReporter and at ~/Library/Logs/CrashReporter 
nothing modified at or since the time (Jun 23 18:12:23) of the issue.

At /private/var/log/ 
files modified since the time of the issue are:

asl.log
wtmp
windowserver.log
daily.out
netinfo.log
mail.log
system.log.0.gz
system.log
secure.log

At /Volumes/gjp22-private/Library/Mail :

[grahamperrin:gjp22-private/Library/Mail] gjp22% ls -hlt
total 42536
-rw-r--r--    1 gjp22  staff       18M Jun 23 18:06 Envelope 
Index-T0x4482d0.tmp.VVQORD
-rw-------    1 gjp22  staff      512B Jun 23 17:41 Envelope 
Index-T0x4482d0.tmp.VVQORD-
journal
drwx------    3 gjp22  staff      102B Jun 23 17:41 IMAP-name@foo.bar
drwx------    3 gjp22  staff      102B Jun 23 17:41 IMAP-name@foo.bar
drwx------    3 gjp22  staff      102B Jun 23 17:41 IMAP-name@foo.bar
drwxr-xr-x    8 gjp22  staff      272B Jun 23 17:41 POP-name@foo.bar
drwxr-xr-x   10 gjp22  staff      340B Jun 23 17:41 POP-name@foo.bar
drwxr-xr-x    6 gjp22  staff      204B Jun 23 17:41 POP-name@foo.bar
drwxr-xr-x    8 gjp22  staff      272B Jun 23 17:41 POP-name@foo.bar
drwxr-xr-x   15 gjp22  staff      510B Jun 23 17:39 Mailboxes
drwx------    3 gjp22  staff      102B Jun 23 17:39 
Exchange-University\name@foo.bar
drwx------    3 gjp22  staff      102B Jun 23 17:39 IMAP-name@foo.bar
drwx------    3 gjp22  staff      102B Jun 23 17:39 IMAP-name@foo.bar
drwx------    3 gjp22  staff      102B Jun 23 17:39 IMAP-name@foo.bar
drwx------    3 gjp22  staff      102B Jun 23 17:39 IMAP-name@foo.bar
drwx------    3 gjp22  staff      102B Jun 23 17:39 IMAP-name@foo.bar
-rw-r--r--    1 gjp22  staff      147K Jun 23 17:39 MessageRules.plist
drwxr-xr-x    8 gjp22  staff      272B Jun 23 17:39 POP-name@foo.bar
-rw-r--r--    1 gjp22  staff      165K Jun 21 16:28 MessageRules.plist.backup
-rw-r--r--    1 gjp22  staff      191B Jun 15 12:41 OpenedAttachments.plist
-rw-r--r--    1 gjp22  staff        5K Jun 11 17:02 SmartMailboxes.plist
-rw-r--r--    1 gjp22  staff        5K Jun  4 10:05 SmartMailboxes.plist.backup
drwxr-xr-x   12 gjp22  staff      408B May 14 16:20 Bundles (Disabled)
drwxr-xr-x   10 gjp22  staff      340B May 14 16:20 Bundles
-rw-r--r--    1 gjp22  staff        2M Jan 15 00:26 LSMMap2
drwxr-xr-x    2 gjp22  staff       68B Dec 23  2006 DisabledBundles
drwxr-xr-x    8 gjp22  staff      272B May 19  2005 Signatures
-rwx------    1 gjp22  staff       51K May 10  2005 MessageSorting.plist
-rwx------    1 gjp22  staff       51K May 10  2005 MessageSorting.plist.backup
-rwx------    1 gjp22  staff        3K Nov 17  2004 Signatures.plist

(foo.bar for privacy)

Original issue reported on code.google.com by grahampe...@gmail.com on 24 Jun 2007 at 11:48

GoogleCodeExporter commented 8 years ago
Once more, 

Jun 24 23:46:08 grahamperrin kernel[0]: MacFUSE: unknown response from alert 
panel (kr=0, 
rf=-1876398048)
Jun 24 23:46:08 grahamperrin kernel[0]: MacFUSE: OUCH! daemon did not give fh 
(type=2, err=57)
Jun 24 23:46:08 grahamperrin kernel[0]: MacFUSE: OUCH! daemon did not give fh 
(type=2, err=5)

The mount point remained, but was apparently empty, so again I assume that the 
encfs process was no longer 
running. 

## 

console.log includes:

2007-06-24 22:32:44.563 textexpanderd[325] textexpanderd 1.4.2 at your service
2007-06-24 22:32:57.623 SystemUIServer[307] lang is:en
2007-06-24 22:32:58.083 SystemUIServer[307] Normally SSMenuExtra would not have 
been loaded as a 
Menu Extra.
iTeaHAL: Entering...
iTeaHAL: Not iTunes, exiting.
2007-06-24 22:33:14.301 SystemUIServer[307] *** -[NSBundle load]: Error loading 
code /System/Library/
CoreServices/Menu Extras/RemoteDesktop.menu/Contents/MacOS/RemoteDesktop for 
bundle /System/
Library/CoreServices/Menu Extras/RemoteDesktop.menu, error code 2 (link edit 
error code 0, error number 0 
())
2007-06-24 22:33:14.301 SystemUIServer[307] failed to instantiate and get the 
principal class of bundle: 
NSBundle </System/Library/CoreServices/Menu Extras/RemoteDesktop.menu> (not yet 
loaded)
NOTE: ignoring this component:
Discovered  0  component = 0x7ff6f6  type = imdc  subt = 1Bt2  manu = Domi  
flags = 0

NOTE: ignoring this component:
Discovered  0  component = 0x7ff104  type = imdc  subt = 1Bt3  manu = Domi  
flags = 0

NOTE: ignoring this component:
Discovered  0  component = 0x7ff154  type = imco  subt = 1Bt3  manu = Domi  
flags = 0

2007-06-24 22:48:35.119 MacFusion[395] Exception raised during posting of 
notification.  Ignored.  
exception: No feed URL is specified in the Info.plist or the user defaults!
2007-06-24 22:48:38.350 MacFusion[395] /Library/Application 
Support/MacFusion/PlugIns/EncFS.plugin/
Contents/Resources/encfs {
    "DYLD_LIBRARY_PATH" = "/Library/Application Support/MacFusion/PlugIns/EncFS.plugin/Contents/
Resources"; 
} (
    "-f", 
    "/Users/gjp22/Documents/.encfs", 
    "/Volumes/gjp22-private", 
    "--", 
    "-ovolname=gjp22-private", 
    "-osubtype=10", 
    "-oping_diskarb"
)
2007-06-24 22:48:38.529 MacFusion[395] Unhandled Buffer: EncFS Password:  
(<456e6346 53205061 
7373776f 72643a20 >)
x86 Warning PSWAP_gliGetInteger:97: pname: unknown enum 988 0x3DC UNKNOWN
[...repeated many times...]
x86 Warning PSWAP_gliGetInteger:97: pname: unknown enum 988 0x3DC UNKNOWN
iTeaHAL: Entering...
iTeaHAL: Not iTunes, exiting.
2007-06-24 23:35:25.135 SuperDuper![498] ***ERROR OCCURRED: SDCopy: Copy 
script: /Users/gjp22/
Library/Application Support/SuperDuper!/Copy Scripts/Standard Scripts/Backup - 
all files.dset does not exist
2007-06-24 23:35:25.139 SuperDuper![498] ***ERROR OCCURRED: : Operation not 
permitted
2007-06-24 23:35:25.142 SuperDuper![498] ***ERROR OCCURRED: ****FAILED****: 
result=256 errno=22 
(Unknown error: 0)
Jun 24 23:38:12 grahamperrin mDNSResponder: getifaddrs ifa_netmask for 
vmnet8(9) Flags 8863 Family  2 
192.168.106.1 has different family: 0
Jun 24 23:38:12 grahamperrin mDNSResponder: getifaddrs ifa_netmask for 
vmnet1(10) Flags 8863 Family  2 
172.16.205.1 has different family: 0
Jun 24 23:47:00 grahamperrin mdimportserver[608]: -[ABAddressBook 
sharedAddressBook] Can't 
ABACQUIRE_FILE_LOCK Framework/AddressBook/ABAddressBook.m:2746
Jun 24 23:56:59 grahamperrin mdimportserver[608]: *** Failed to decode 8bit  
data, treating as binary
[...]

Full logs available on request. 

##

Might this be an issue with EncFS.plugin to MacFusion? 

I'll create a ticket at <http://dev.systemred.net/trac/encfs/report> 
drawing attention to this MacFUSE issue 227. 

Best regards
Graham

Original comment by grahampe...@gmail.com on 25 Jun 2007 at 10:32

GoogleCodeExporter commented 8 years ago
<http://dev.systemred.net/trac/encfs/ticket/6> refers to this issue. Highlight 
from the summary there: 

> I'm not sure whether I'm seeing an issue with (a) EncFS.plugin to
> MacFusion, (b) MacFusion or (c) MacFUSE but broadly speaking: the
> symptoms have presented only whilst using EncFS.

Original comment by grahampe...@gmail.com on 25 Jun 2007 at 10:43

GoogleCodeExporter commented 8 years ago
The alert panel uses an unsupported Apple KPI (KUNC) that's not really 
encouraged by Apple. It doesn't seem to 
work too well (and sometimes not at all) in certain upcoming versions of the 
OS. I might just remove the alert 
panel altogether.

That still leaves the end-user-related question: if a user-space file system 
does not respond for N seconds, 
what do users want to happen? It's either ugly or a lot of kernel+user code (if 
done reasonably) to do a blocking 
UI dialog from the kernel. Anyway, we should discuss this more in the forum. As 
far as this original issue is 
concerned, I won't be able to do much/anything about the alert panel (which, 
like I said, might just go away).

Original comment by si...@gmail.com on 8 Sep 2007 at 9:35