[vlc-devel] 4.6.0-tp1 segfault on exit and endless loop

xxcv xxcv07 at gmail.com
Sat Sep 12 02:21:44 CEST 2009


Hi
I'm testing qt-4.6.0-tp1 on windows.
It segfaults on app exit only if when style is windowsvista and only if 
app is running inside the GNU Debugger.

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4420.0x17c]
0x000000000c676b58 in ?? ()
(gdb) bt
#0  0x000000000c676b58 in ?? ()
#1  0x000000000f2ef770 in ?? ()
#2  0x000000000beb1f09 in ?? ()
#3  0xfeeefeeefeeefef6 in ?? ()
#4  0x0000000000000000 in ?? ()
(gdb) disass $pc-30 $pc+30
Dump of assembler code from 0xc676b3a to 0xc676b76:
0x000000000c676b3a:     mov    %esp,%ebp
0x000000000c676b3c:     mov    %rcx,0x10(%rbp)
0x000000000c676b40:     mov    0x10(%rbp),%rax
0x000000000c676b44:     mov    (%rax),%rax
0x000000000c676b47:     leaveq
0x000000000c676b48:     retq   0x000000000c676b49:     nop    
0x000000000c676b4a:     nop    0x000000000c676b4b:     nop    
0x000000000c676b4c:     push   %rbp
0x000000000c676b4d:     mov    %rsp,%rbp
0x000000000c676b50:     mov    %rcx,0x10(%rbp)
0x000000000c676b54:     mov    0x10(%rbp),%rax
0x000000000c676b58:     mov    (%rax),%rax
0x000000000c676b5b:     leaveq
0x000000000c676b5c:     retq   0x000000000c676b5d:     nop    
0x000000000c676b5e:     nop    0x000000000c676b5f:     nop    
0x000000000c676b60:     push   %rbp
0x000000000c676b61:     mov    %rsp,%rbp
0x000000000c676b64:     sub    $0x20,%rsp
0x000000000c676b68:     mov    %rcx,0x10(%rbp)
0x000000000c676b6c:     mov    0x10(%rbp),%rax
0x000000000c676b70:     mov    (%rax),%rax
0x000000000c676b73:     test   %rax,%rax
End of assembler dump.
(gdb) print $pc
$1 = (void (*)()) 0xc676b58
(gdb) info registers
rax            0xfeeefeeefeeefef6       -76843841185972490
rcx            0xfeeefeeefeeefef6       -76843841185972490
rdx            0xe692880        241772672
rbx            0xc468cec        205950188
rsp            0xf2ef740        254736192
rbp            0xf2ef740        254736192
rsi            0xf2efde0        254737888
rdi            0xf2efcc0        254737600
r8             0x0      0
r9             0x0      0
r10            0x45     69
r11            0xe554960        240470368
r12            0x0      0
r13            0x0      0
r14            0x0      0
r15            0x0      0
rip            0xc676b58        0xc676b58
eflags         0x10206  [ PF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x53     83
gs             0x2b     43

It does not segfault outside of GDB however it will just endless loop.
Here I can provide some info on the same thread which got stuck while 
quitting.

ntoskrnl.exe!IoAcquireRemoveLockEx+0xe7
ntoskrnl.exe!memset+0x22a
ntoskrnl.exe!KeWaitForSingleObject+0x2cb
ntoskrnl.exe!KeDetachProcess+0x120d
ntoskrnl.exe!PsReturnProcessNonPagedPoolQuota+0x3a3
ntoskrnl.exe!CcSetDirtyPinnedData+0x433
ntdll.dll!RtlRestoreContext+0x160

ntoskrnl.exe!IoAcquireRemoveLockEx+0xe7
ntoskrnl.exe!memset+0x22a
ntoskrnl.exe!KeWaitForSingleObject+0x2cb
ntoskrnl.exe!KeDetachProcess+0x120d
ntoskrnl.exe!PsReturnProcessNonPagedPoolQuota+0x3a3
ntoskrnl.exe!CcSetDirtyPinnedData+0x433
ntdll.dll!RtlGetProcessHeaps+0x136
ntdll.dll!LdrGetProcedureAddress+0x18694
ntdll.dll!_C_specific_handler+0x33b
ntdll.dll!KiUserExceptionDispatcher+0x2e
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d56cf
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d6908

ntoskrnl.exe!IoAcquireRemoveLockEx+0xe7
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d56cf
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d6908

ntoskrnl.exe!IoAcquireRemoveLockEx+0xe7
ntoskrnl.exe!memset+0x22a
ntoskrnl.exe!KeWaitForSingleObject+0x2cb
ntoskrnl.exe!KeDetachProcess+0x120d
ntoskrnl.exe!PsReturnProcessNonPagedPoolQuota+0x3a3
ntoskrnl.exe!CcSetDirtyPinnedData+0x433
ntoskrnl.exe!memmove+0x5a
ntoskrnl.exe!KeSaveFloatingPointState+0x1ed
ntoskrnl.exe!ZwUnloadKeyEx+0x2489
ntoskrnl.exe!ZwUnloadKeyEx+0x1285
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d56cf
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d6908

ntoskrnl.exe!IoAcquireRemoveLockEx+0xe7
ntoskrnl.exe!memset+0x22a
ntoskrnl.exe!KeWaitForSingleObject+0x2cb
ntoskrnl.exe!KeDetachProcess+0x120d
ntoskrnl.exe!PsReturnProcessNonPagedPoolQuota+0x3a3
ntoskrnl.exe!CcSetDirtyPinnedData+0x433
ntdll.dll!RtlVirtualUnwind+0x467
ntdll.dll!_C_specific_handler+0x2c9
ntdll.dll!KiUserExceptionDispatcher+0x2e
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d56cf
libqt4_plugin.dll!vlc_entry_license__1_1_0b+0x6d6908

Thanks
Regards


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090912/fabea596/attachment.html>


More information about the vlc-devel mailing list