owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 666 forks source link

OwnCloud client crashes with unhandles win32 exception after upgrade from 1.2.0 to 1.2.1 #460

Closed jochenwezel closed 11 years ago

jochenwezel commented 11 years ago

After upgrading to 1.2.1 on Win2003 Terminal Server, I see OwnCloud starting up, systray icon appears, starting to sync, but then following error appears 2 or 3 times:

----SNIP----

Visual Studio Just-In-TimeDebugger

An unhandles win32 exception occured in owncloud.exe [5808]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-I-Time debugging enabled. In Visual Stuidio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time

Check the documentation index for 'Just-in-time debugging, errors' for more information ----SNIP----

Here the logfile:

[...] 03-20 15:51:51:126 #### Update start #################################################### >> 03-20 15:51:51:126 csync_ftw: Incoming read_from_db-Flag for C:/Dokumente und Einstellungen/myusername\ownCloud: 0 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/!README_v002.txt: 80261 03-20 15:51:51:126 csync_ftw: Uniq ID read from Database: !README_v002.txt -> 51368466c4b4d8.47110997 03-20 15:51:51:126 csync_ftw: walk: C:/Dokumente und Einstellungen/myusername\ownCloud/!README_v002.txt 03-20 15:51:51:126 csync_walker: file: C:/Dokumente und Einstellungen/myusername\ownCloud/!README_v002.txt 03-20 15:51:51:126 _csync_detect_update: file: !README_v002.txt - hash 13748820406697452138, mtime: 1361469006 03-20 15:51:51:126 _csync_detect_update: time compare: 1361469006 <-> 1361469006, md5: 51368466c4b4d8.47110997 <-> 51368466c4b4d8.47110997 03-20 15:51:51:126 _csync_detect_update: file: !README_v002.txt, instruction: INSTRUCTION_NONE 03-20 15:51:51:126 csync_ftw: .csync_journal.db excluded 03-20 15:51:51:126 csync_ftw: .csync_journal.db.ctmp excluded 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123: 80009 03-20 15:51:51:126 FolderWatcher::changeDetected when eventsEnabled() -> ignore 03-20 15:51:51:126 FolderWatcher::changeDetected when eventsEnabled() -> ignore 03-20 15:51:51:126 csync_ftw: Uniq ID read from Database: test_123 -> 513f5bf46d6f46.50312305 03-20 15:51:51:126 FolderWatcher::changeDetected when eventsEnabled() -> ignore 03-20 15:51:51:126 csync_ftw: walk: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123 03-20 15:51:51:126 csync_walker: directory: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123 03-20 15:51:51:126 _csync_detect_update: file: test_123 - hash 10633868797406343686, mtime: 1363101168 03-20 15:51:51:126 _csync_detect_update: time compare: 1363101168 <-> 1363101168, md5: 513f5bf46d6f46.50312305 <-> 513f5bf46d6f46.50312305 03-20 15:51:51:126 _csync_detect_update: file: test_123, instruction: INSTRUCTION_NONE 03-20 15:51:51:126 csync_ftw: Incoming read_from_db-Flag for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123: 0 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234: 80219 03-20 15:51:51:126 csync_ftw: Uniq ID read from Database: test_123/folder234 -> 513f5bf46e03a9.66431234 03-20 15:51:51:126 csync_ftw: walk: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234 03-20 15:51:51:126 csync_walker: directory: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234 - hash 12211267553881318942, mtime: 1363106126 03-20 15:51:51:126 _csync_detect_update: time compare: 1363106126 <-> 1363106126, md5: 513f5bf46e03a9.66431234 <-> 513f5bf46e03a9.66431234 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234, instruction: INSTRUCTION_NONE 03-20 15:51:51:126 csync_ftw: Incoming read_from_db-Flag for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234: 0 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2: 80260 03-20 15:51:51:126 csync_ftw: Uniq ID read from Database: test_123/folder234/test_abc 122-2 -> 03-20 15:51:51:126 csync_ftw: walk: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2 03-20 15:51:51:126 csync_walker: directory: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234/test_abc 122-2 - hash 15840461378962605618, mtime: 1363788953 03-20 15:51:51:126 _csync_detect_update: time compare: 1363788953 <-> 1363100703, md5: (null) <-> 5149c49ab4fd42.64549327 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234/test_abc 122-2, instruction: INSTRUCTION_EVAL 03-20 15:51:51:126 csync_ftw: Incoming read_from_db-Flag for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2: 0 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2/Deutsch: 100244 03-20 15:51:51:126 csync_ftw: Uniq ID read from Database: test_123/folder234/test_abc 122-2/Deutsch -> 513f5c0330af78.80466545 03-20 15:51:51:126 csync_ftw: walk: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2/Deutsch 03-20 15:51:51:126 csync_walker: directory: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2/Deutsch 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234/test_abc 122-2/Deutsch - hash 10187251484471843319, mtime: 1362418850 03-20 15:51:51:126 _csync_detect_update: time compare: 1362418850 <-> 1362418850, md5: 513f5c0330af78.80466545 <-> 513f5c0330af78.80466545 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234/test_abc 122-2/Deutsch, instruction: INSTRUCTION_NONE 03-20 15:51:51:126 csync_ftw: Incoming read_from_db-Flag for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2/Deutsch: 0 03-20 15:51:51:126 csync_ftw: Closing walk for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2/Deutsch with read_from_db 0 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2/Englisch: 0 03-20 15:51:51:126 csync_ftw: Uniq ID read from Database: test_123/folder234/test_abc 122-2/Englisch -> 03-20 15:51:51:126 csync_ftw: walk: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2/Englisch 03-20 15:51:51:126 csync_ftw: Closing walk for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 122-2 with read_from_db 0 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 125: 100209 03-20 15:51:51:126 csync_ftw: Uniq ID read from Database: test_123/folder234/test_abc 125 -> 513f594da64514.63543099 03-20 15:51:51:126 csync_ftw: walk: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 125 03-20 15:51:51:126 csync_walker: directory: C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 125 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234/test_abc 125 - hash 8279770640213576356, mtime: 1363106124 03-20 15:51:51:126 _csync_detect_update: time compare: 1363106124 <-> 1363106124, md5: 513f594da64514.63543099 <-> 513f594da64514.63543099 03-20 15:51:51:126 _csync_detect_update: file: test_123/folder234/test_abc 125, instruction: INSTRUCTION_NONE 03-20 15:51:51:126 csync_ftw: Incoming read_from_db-Flag for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 125: 0 03-20 15:51:51:126 csync_vio_stat: Win32: STAT-inode for C:/Dokumente und Einstellungen/myusername\ownCloud/test_123/folder234/test_abc 125/Deutsch: 100243 03-20 15:51:51:907 * Processing of event queue for "C:/Dokumente und Einstellungen/myusername/syncdir2 Shared"

Here is the event viewer entry (from category System):

----SNIP---- Ereignistyp: Informationen Ereignisquelle: Application Popup Ereigniskategorie: Keine Ereigniskennung: 26 Datum: 20.03.2013 Zeit: 15:28:20 Benutzer: Nicht zutreffend Computer: COMPUMASTER2 Beschreibung: Anwendungspopup: Visual Studio Just-In-Time Debugger: An unhandled win32 exception occurred in owncloud.exe [5808]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.

Check the documentation index for 'Just-in-time debugging, errors' for more information.

Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie unter http://go.microsoft.com/fwlink/events.asp. ----SNIP----

Client 1.2.0 hadn't got such heavy crash problems...

Server

Apache behind an Apache Reverse Proxy OwnCloud 4.5 Ubuntu x64

Client

Win2003 Terminal Server German x64 OwnCloud 1.2.1

jochenwezel commented 11 years ago

Hint: dropping C:\Dokumente und Einstellungen\myusername\Lokale Einstellungen\Anwendungsdaten\ownCloud didn't helped

jochenwezel commented 11 years ago

Hint: Explorer had an open handle to a folder or file somewhere in my owncloud data folder. This blocked me from e.g. renaming my ownCloud folder to ownCloud_bak.

After closing this handle (using Process Explorer from the PSTools (3rd party)), renaming folder was possible - another test to start the ownCloud 1.2.1 app was successful, now :-)

--> please fix crash caused by open file handles by other programs

danimo commented 11 years ago

Is this still reproducable with 1.2.5? If not, please close

jochenwezel commented 11 years ago

I can't reproduce any crashes any more -> seems to be fixed successfully. thanks! :-)