client icon indicating copy to clipboard operation
client copied to clipboard

Crash Windows Client 1.2.4

Open JacekZ opened this issue 13 years ago • 8 comments

Actual behaviour

Windows Client crashes randomly.

Steps to reproduce

  1. Run Windows Client
  2. Wait .....

Server configuration

Operating system: Rhel 6.4

Web server: Apache 2.2.15

Database: Mysql

PHP version: 5.5.3

ownCloud version: 5.0.4

Client configuration

Client version: owncloud-1.2.4-nightly20130418

Operating system: Windows Vista 32bit

OS language: PL (polish)

Installation path of client: C:\Program Files\ownCloud

Logs

output of gdb debug

(...)
[New Thread 2588.0x1248]
[New Thread 2588.0x1624]
[New Thread 2588.0x6dc]
[New Thread 2588.0xeec]
[New Thread 2588.0x1010]
warning: Invalid parameter passed to C runtime function.

[New Thread 2588.0x14d8]
[New Thread 2588.0x1798]
[New Thread 2588.0xca0]
[New Thread 2588.0x136c]
warning: Invalid parameter passed to C runtime function.

[New Thread 2588.0x15c0]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2588.0x136c]
0x65d47b76 in ZN15QSslCertificateD2Ev ()
   from C:\Program Files\ownCloud\QtNetwork4.dll
(gdb) set pagination 0
(gdb) thread apply all bt

Thread 73 (Thread 2588.0x15c0):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x77594e80 in ntdll!ZwRemoveIoCompletion () from C:\Windows\system32\ntdll.d
ll
#2  0x752464f1 in ?? () from C:\Windows\system32\mswsock.dll
#3  0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\k
ernel32.dll
#4  0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#5  0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#6  0x00000000 in ?? ()

Thread 72 (Thread 2588.0x136c):
#0  0x65d47b76 in ZN15QSslCertificateD2Ev () from C:\Program Files\ownCloud\QtNe
twork4.dll
#1  0x00000000 in ?? ()

Thread 71 (Thread 2588.0xca0):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953f0 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.
dll
#2  0x771e9a84 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll

#3  0x00000468 in ?? ()
#4  0x00000000 in ?? ()

Thread 70 (Thread 2588.0x1798):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x77594e80 in ntdll!ZwRemoveIoCompletion () from C:\Windows\system32\ntdll.d
ll
#2  0x771ed31e in KERNEL32!GetQueuedCompletionStatusEx () from C:\Windows\system
32\kernel32.dll
#3  0x76f503c8 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#4  0x000002ac in ?? ()
#5  0x037dfed8 in ?? ()
#6  0x76f504fd in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#7  0x00007530 in ?? ()
#8  0x037dff44 in ?? ()
#9  0x76f5011c in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#10 0x037dff7c in ?? ()
#11 0x76f500e3 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#12 0x0029d348 in ?? ()
#13 0x76f50166 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#14 0x002ef708 in ?? ()
#15 0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\k
ernel32.dll
#16 0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#17 0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#18 0x00000000 in ?? ()

Thread 66 (Thread 2588.0x6dc):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x77594e80 in ntdll!ZwRemoveIoCompletion () from C:\Windows\system32\ntdll.d
ll
#2  0x771ed31e in KERNEL32!GetQueuedCompletionStatusEx () from C:\Windows\system
32\kernel32.dll
#3  0x76f503c8 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#4  0x000002b4 in ?? ()
#5  0x039dfed8 in ?? ()
#6  0x76f504fd in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#7  0x00007530 in ?? ()
#8  0x039dff44 in ?? ()
#9  0x76f5011c in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#10 0x039dff7c in ?? ()
#11 0x76f500e3 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#12 0x0029d348 in ?? ()
#13 0x76f50166 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#14 0x00302668 in ?? ()
#15 0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\k
ernel32.dll
#16 0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#17 0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#18 0x00000000 in ?? ()

Thread 54 (Thread 2588.0x710):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x77594550 in ntdll!ZwDelayExecution () from C:\Windows\system32\ntdll.dll
#2  0x771e9b90 in SleepEx () from C:\Windows\system32\kernel32.dll
#3  0x00000000 in ?? ()

Thread 11 (Thread 2588.0x12a4):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\n
tdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.
dll
#3  0x00000001 in ?? ()
#4  0x042cdf38 in ?? ()
#5  0x76e80f8d in USER32!GetWindowRgn () from C:\Windows\system32\user32.dll
#6  0x042cdf38 in ?? ()
#7  0x6e22c303 in ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop
17ProcessEventsFlagEE () from C:\Program Files\ownCloud\QtCore4.dll
#8  0x042ce08c in ?? ()
#9  0x6e1fa5f0 in ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE
 () from C:\Program Files\ownCloud\QtCore4.dll
#10 0x00000000 in ?? ()

Thread 7 (Thread 2588.0x638):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\n
tdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.
dll
#3  0x00000001 in ?? ()
#4  0x035ddf38 in ?? ()
#5  0x76e80f8d in USER32!GetWindowRgn () from C:\Windows\system32\user32.dll
#6  0x035ddf38 in ?? ()
#7  0x6e22c303 in ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop
17ProcessEventsFlagEE () from C:\Program Files\ownCloud\QtCore4.dll
#8  0x035de08c in ?? ()
#9  0x6e1fa5f0 in ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE
 () from C:\Program Files\ownCloud\QtCore4.dll
#10 0x00000000 in ?? ()

Thread 6 (Thread 2588.0x708):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\n
tdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.
dll
#3  0x00000002 in ?? ()
#4  0x031ffdd0 in ?? ()
#5  0x771ea8f0 in WaitForMultipleObjects () from C:\Windows\system32\kernel32.dl
l
#6  0x6e1d8a7a in ZN13QFSFileEngine6drivesEv () from C:\Program Files\ownCloud\Q
tCore4.dll
#7  0x02856f58 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 2588.0x1050):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953f0 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.
dll
#2  0x771e9a84 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll

#3  0x000003c4 in ?? ()
#4  0x00000000 in ?? ()

Thread 4 (Thread 2588.0x7c):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\n
tdll.dll
#2  0x7757255c in ntdll!RtlSplay () from C:\Windows\system32\ntdll.dll
#3  0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\k
ernel32.dll
#4  0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#5  0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#6  0x00000000 in ?? ()

Thread 3 (Thread 2588.0x11a0):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x77595580 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\system3
2\ntdll.dll
#2  0x77572ae0 in ntdll!RtlSplay () from C:\Windows\system32\ntdll.dll
#3  0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\k
ernel32.dll
#4  0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#5  0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll
.dll
#6  0x00000000 in ?? ()

Thread 2 (Thread 2588.0x2f4):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\n
tdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.
dll
#3  0x00000001 in ?? ()
#4  0x0215df38 in ?? ()
#5  0x76e80f8d in USER32!GetWindowRgn () from C:\Windows\system32\user32.dll
#6  0x0215df38 in ?? ()
#7  0x6e22c303 in ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop
17ProcessEventsFlagEE () from C:\Program Files\ownCloud\QtCore4.dll
#8  0x0215e08c in ?? ()
#9  0x6e1fa5f0 in ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE
 () from C:\Program Files\ownCloud\QtCore4.dll
#10 0x00000000 in ?? ()

Thread 1 (Thread 2588.0x1598):
#0  0x7757a07d in tan () from C:\Windows\system32\ntdll.dll
#1  0x00000000 in ?? ()
(gdb)

Web server error log

Everything normal

ownCloud log (data/owncloud.log)

Everything normal

JacekZ avatar Apr 18 '13 19:04 JacekZ

Already fixed, you can check with http://download.owncloud.com/download/nightly/owncloud-1.2.4-nightly20130418-setup.exe.

danimo avatar Apr 18 '13 19:04 danimo

But...... I have already downloaded this version. Above crash occurs in owncloud-1.2.4-nightly20130418.

JacekZ avatar Apr 18 '13 19:04 JacekZ

My apologies. Will look into it.

danimo avatar Apr 18 '13 19:04 danimo

Next one:

output of gdb debug

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1572.0x34c]
0x65d47b76 in ZN15QSslCertificateD2Ev () from C:\Program Files\ownCloud\QtNetwork4.dll
(gdb) bt
#0  0x65d47b76 in ZN15QSslCertificateD2Ev () from C:\Program Files\ownCloud\QtNetwork4.dll

#1  0x00000000 in ?? ()
(gdb) set pagination 0
(gdb) thread apply all bt

Thread 149 (Thread 1572.0xa3c):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x77594e80 in ntdll!ZwRemoveIoCompletion () from C:\Windows\system32\ntdll.dll
#2  0x752464f1 in ?? () from C:\Windows\system32\mswsock.dll
#3  0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dl
l
#4  0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#5  0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#6  0x00000000 in ?? ()

Thread 148 (Thread 1572.0x34c):
#0  0x65d47b76 in ZN15QSslCertificateD2Ev () from C:\Program Files\ownCloud\QtNetwork4.dll

#1  0x00000000 in ?? ()

Thread 11 (Thread 1572.0x16a8):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\ntdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.dll
#3  0x00000001 in ?? ()
#4  0x041bdf38 in ?? ()
#5  0x76e80f8d in USER32!GetWindowRgn () from C:\Windows\system32\user32.dll
#6  0x041bdf38 in ?? ()
#7  0x6e22c303 in ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop17ProcessE
ventsFlagEE () from C:\Program Files\ownCloud\QtCore4.dll
#8  0x041be08c in ?? ()
#9  0x6e1fa5f0 in ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE () from C
:\Program Files\ownCloud\QtCore4.dll
#10 0x00000000 in ?? ()

Thread 7 (Thread 1572.0x1578):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\ntdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.dll
#3  0x00000001 in ?? ()
#4  0x0339df38 in ?? ()
#5  0x76e80f8d in USER32!GetWindowRgn () from C:\Windows\system32\user32.dll
#6  0x0339df38 in ?? ()
#7  0x6e22c303 in ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop17ProcessE
ventsFlagEE () from C:\Program Files\ownCloud\QtCore4.dll
#8  0x0339e08c in ?? ()
#9  0x6e1fa5f0 in ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE () from C
:\Program Files\ownCloud\QtCore4.dll
#10 0x00000000 in ?? ()

Thread 6 (Thread 1572.0x1318):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\ntdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.dll
#3  0x00000002 in ?? ()
#4  0x030cfdd0 in ?? ()
#5  0x771ea8f0 in WaitForMultipleObjects () from C:\Windows\system32\kernel32.dll
#6  0x6e1d8a7a in ZN13QFSFileEngine6drivesEv () from C:\Program Files\ownCloud\QtCore4.dll

#7  0x02734cb8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 1572.0x1508):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953f0 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.dll
#2  0x771e9a84 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll
#3  0x000003ac in ?? ()
#4  0x00000000 in ?? ()

Thread 4 (Thread 1572.0x177c):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\ntdll.dll
#2  0x7757255c in ntdll!RtlSplay () from C:\Windows\system32\ntdll.dll
#3  0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dl
l
#4  0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#5  0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#6  0x00000000 in ?? ()

Thread 3 (Thread 1572.0x100c):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x77595580 in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\Windows\system32\ntdll.dl
l
#2  0x77572ae0 in ntdll!RtlSplay () from C:\Windows\system32\ntdll.dll
#3  0x771ed2e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dl
l
#4  0x775715e3 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#5  0x775715b6 in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#6  0x00000000 in ?? ()

Thread 2 (Thread 1572.0x101c):
#0  0x77595c74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x775953e0 in ntdll!ZwWaitForMultipleObjects32 () from C:\Windows\system32\ntdll.dll
#2  0x771ea7d7 in WaitForMultipleObjectsEx () from C:\Windows\system32\kernel32.dll
#3  0x00000001 in ?? ()
#4  0x01e3df38 in ?? ()
#5  0x76e80f8d in USER32!GetWindowRgn () from C:\Windows\system32\user32.dll
#6  0x01e3df38 in ?? ()
#7  0x6e22c303 in ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop17ProcessE
ventsFlagEE () from C:\Program Files\ownCloud\QtCore4.dll
#8  0x01e3e08c in ?? ()
#9  0x6e1fa5f0 in ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE () from C
:\Program Files\ownCloud\QtCore4.dll
#10 0x00000000 in ?? ()

Thread 1 (Thread 1572.0x1440):
#0  0x7757a260 in ntdll!RtlComputeCrc32 () from C:\Windows\system32\ntdll.dll
#1  0x775ab612 in ntdll!EtwpNotificationThread () from C:\Windows\system32\ntdll.dll
#2  0x7759714a in ntdll!RtlEqualLuid () from C:\Windows\system32\ntdll.dll
#3  0x77597385 in ntdll!RtlEqualLuid () from C:\Windows\system32\ntdll.dll
#4  0x775e34a1 in ntdll!RtlpNtMakeTemporaryKey () from C:\Windows\system32\ntdll.dll
#5  0x775ab9bf in ntdll!EtwpNotificationThread () from C:\Windows\system32\ntdll.dll
#6  0x77597385 in ntdll!RtlEqualLuid () from C:\Windows\system32\ntdll.dll
#7  0x771e9c26 in KERNEL32!HeapLock () from C:\Windows\system32\kernel32.dll
#8  0x76819c03 in msvcrt!free () from C:\Windows\system32\msvcrt.dll
#9  0x00990000 in ?? ()
#10 0x01e42a57 in libcrypto-10!CRYPTO_free () from C:\Program Files\ownCloud\libcrypto-10.
dll
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb)

Sometimes i think, problem accurs when I use https. With http client does not crash (or not so often). I will investigate.

JacekZ avatar Apr 18 '13 20:04 JacekZ

When did you download this one? I recreated the build during the day. Can you check with the snapshot from 19th?

danimo avatar Apr 19 '13 06:04 danimo

The good build from the 18th says "Built from Git revision 1f361b" btw

danimo avatar Apr 19 '13 06:04 danimo

Ok, I've got this version now. Test in progress....

JacekZ avatar Apr 19 '13 07:04 JacekZ

.... perfectly :) All day and night without crash (with ssl connection).

JacekZ avatar Apr 20 '13 06:04 JacekZ