#91 seg fault when capturing in suse x86_64

open
nobody
capture (20)
5
2015-03-01
2008-08-24
DJ Burgie
No

To duplicate:

SUSE Linux Enterprise Desktop (SLED) SP2 x86_64 setup.

install xvidcap and launch from command line (to get more data out.... how you launch really doesn't matter).

Capture in video mode.

After a short time (minute or two at most) a Segmentation Fault appears. In subsequent testing I found that minimizing the active window would crash xvidcap with a seg fault. I have both a core and the video taken during the core to attach if desired (compressed file is 2.7 MB so I cannot attach currently).

The following output is from gdb for the relevant crash:

<quote>
This GDB was configured as "x86_64-suse-linux"...
(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from /opt/gnome/lib64/libglade-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libglade-2.0.so.0
Reading symbols from /opt/gnome/lib64/libgtk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib64/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /opt/gnome/lib64/libgdk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libgdk-x11-2.0.so.0
Reading symbols from /opt/gnome/lib64/libatk-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libatk-1.0.so.0
Reading symbols from /opt/gnome/lib64/libgdk_pixbuf-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libgdk_pixbuf-2.0.so.0
Reading symbols from /opt/gnome/lib64/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libpangocairo-1.0.so.0
Reading symbols from /opt/gnome/lib64/libpango-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libpango-1.0.so.0
Reading symbols from /usr/lib64/libcairo.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcairo.so.2
Reading symbols from /opt/gnome/lib64/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libgobject-2.0.so.0
Reading symbols from /opt/gnome/lib64/libgmodule-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libgmodule-2.0.so.0
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /opt/gnome/lib64/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libgthread-2.0.so.0
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /opt/gnome/lib64/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libglib-2.0.so.0
Reading symbols from /usr/lib64/libmp3lame.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libmp3lame.so.0
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/X11R6/lib64/libXdamage.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXdamage.so.1
Reading symbols from /usr/X11R6/lib64/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXfixes.so.3
Reading symbols from /usr/X11R6/lib64/libXmu.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXmu.so.6
Reading symbols from /lib64/libpthread.so.0...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /usr/X11R6/lib64/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libX11.so.6
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /usr/X11R6/lib64/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXext.so.6
Reading symbols from /usr/lib64/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfreetype.so.6
Reading symbols from /usr/lib64/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/X11R6/lib64/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXrender.so.1
Reading symbols from /usr/lib64/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/libglitz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libglitz.so.1
Reading symbols from /usr/X11R6/lib64/libXrandr.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXrandr.so.2
Reading symbols from /usr/X11R6/lib64/libXi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXi.so.6
Reading symbols from /usr/X11R6/lib64/libXinerama.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXinerama.so.1
Reading symbols from /usr/X11R6/lib64/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXcursor.so.1
Reading symbols from /opt/gnome/lib64/libpangoft2-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/libpangoft2-1.0.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/X11R6/lib64/libXt.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libXt.so.6
Reading symbols from /usr/X11R6/lib64/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libSM.so.6
Reading symbols from /usr/X11R6/lib64/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib64/libICE.so.6
Reading symbols from /usr/lib64/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libexpat.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib64/common/xlcUTF8Load.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib64/common/xlcUTF8Load.so.2
Reading symbols from /usr/lib64/gconv/ISO8859-1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/gconv/ISO8859-1.so
Reading symbols from /opt/gnome/lib64/gtk-2.0/2.4.0/engines/libclearlooks.so...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/gtk-2.0/2.4.0/engines/libclearlooks.so
Reading symbols from /opt/gnome/lib64/gtk-2.0/2.4.0/engines/libpixmap.so...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/gtk-2.0/2.4.0/engines/libpixmap.so
Reading symbols from /opt/gnome/lib64/pango/1.4.0/modules/pango-basic-fc.so...(no debugging symbols found)...done.
Loaded symbols for /opt/gnome/lib64/pango/1.4.0/modules/pango-basic-fc.so

Core was generated by `xvidcap'.
Program terminated with signal 11, Segmentation fault.
#0 0x00002ad024ff40b5 in memcpy () from /lib64/libc.so.6

(gdb) bt
#0 0x00002ad024ff40b5 in memcpy () from /lib64/libc.so.6
#1 0x00002aaaaaaa84b0 in ?? ()
#2 0x00000000004289b4 in ?? ()
#3 0x000000000042ea86 in do_record_thread ()
#4 0x00002ad024e6b143 in start_thread () from /lib64/libpthread.so.0
#5 0x00002ad02503f8cd in clone () from /lib64/libc.so.6
#6 0x0000000000000000 in ?? ()

(gdb) info r
rax 0xff000000ff0000 71776119077928960
rbx 0x2aaaaaaa932c 46912496112428
rcx 0x0 0
rdx 0xc 12
rsi 0x2aaaaacff000 46912498561024
rdi 0x2aaaaaaa84b0 46912496108720
rbp 0xe70 0xe70
rsp 0x40800060 0x40800060
r8 0xe70 3696
r9 0x0 0
r10 0x2aaaaacfe8c0 46912498559168
r11 0x294 660
r12 0x2aaaaaaa84b0 46912496108720
r13 0x0 0
r14 0x2aaaaacff000 46912498561024
r15 0xc 12
rip 0x2ad024ff40b5 0x2ad024ff40b5 <memcpy+85>
eflags 0x210247 [ CF PF ZF IF RF ID ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x63 99
gs 0x0 0
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x2ad0 10960
fioff 0x2489580b 612980747
foseg 0x0 0
fooff 0x407ffa84 1082129028
fop 0x15c 348
mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ]

(gdb) disas
Dump of assembler code for function memcpy:
0x00002ad024ff4060 <memcpy+0>: cmp $0x8,%rdx
0x00002ad024ff4064 <memcpy+4>: mov %rdi,%rax
0x00002ad024ff4067 <memcpy+7>: jae 0x2ad024ff40a0 <memcpy+64>
0x00002ad024ff4069 <memcpy+9>: test $0x4,%dl
0x00002ad024ff406c <memcpy+12>: je 0x2ad024ff407a <memcpy+26>
0x00002ad024ff406e <memcpy+14>: mov (%rsi),%ecx
0x00002ad024ff4070 <memcpy+16>: mov %ecx,(%rdi)
0x00002ad024ff4072 <memcpy+18>: add $0x4,%rsi
0x00002ad024ff4076 <memcpy+22>: add $0x4,%rdi
0x00002ad024ff407a <memcpy+26>: test $0x2,%dl
0x00002ad024ff407d <memcpy+29>: je 0x2ad024ff408d <memcpy+45>
0x00002ad024ff407f <memcpy+31>: mov (%rsi),%cx
0x00002ad024ff4082 <memcpy+34>: mov %cx,(%rdi)
0x00002ad024ff4085 <memcpy+37>: add $0x2,%rsi
0x00002ad024ff4089 <memcpy+41>: add $0x2,%rdi
0x00002ad024ff408d <memcpy+45>: test $0x1,%dl
0x00002ad024ff4090 <memcpy+48>: je 0x2ad024ff4096 <memcpy+54>
0x00002ad024ff4092 <memcpy+50>: mov (%rsi),%cl
0x00002ad024ff4094 <memcpy+52>: mov %cl,(%rdi)
0x00002ad024ff4096 <memcpy+54>: repz retq
0x00002ad024ff4098 <memcpy+56>: xchg %ax,%ax
0x00002ad024ff409c <memcpy+60>: xchg %ax,%ax
0x00002ad024ff40a0 <memcpy+64>: push %rax
0x00002ad024ff40a1 <memcpy+65>: cmp $0x20,%rdx
0x00002ad024ff40a5 <memcpy+69>: jae 0x2ad024ff40d0 <memcpy+112>
0x00002ad024ff40a7 <memcpy+71>: mov %edx,%ecx
0x00002ad024ff40a9 <memcpy+73>: shr $0x3,%ecx
0x00002ad024ff40ac <memcpy+76>: je 0x2ad024ff40c2 <memcpy+98>
0x00002ad024ff40ae <memcpy+78>: xchg %ax,%ax
0x00002ad024ff40b0 <memcpy+80>: dec %ecx
0x00002ad024ff40b2 <memcpy+82>: mov (%rsi),%rax
0x00002ad024ff40b5 <memcpy+85>: mov %rax,(%rdi)
0x00002ad024ff40b8 <memcpy+88>: lea 0x8(%rsi),%rsi
0x00002ad024ff40bc <memcpy+92>: lea 0x8(%rdi),%rdi
0x00002ad024ff40c0 <memcpy+96>: jne 0x2ad024ff40b0 <memcpy+80>
0x00002ad024ff40c2 <memcpy+98>: and $0x7,%edx
0x00002ad024ff40c5 <memcpy+101>: pop %rax
0x00002ad024ff40c6 <memcpy+102>: jne 0x2ad024ff4069 <memcpy+9>
0x00002ad024ff40c8 <memcpy+104>: repz retq
0x00002ad024ff40ca <memcpy+106>: xchg %ax,%ax
0x00002ad024ff40cd <memcpy+109>: xchg %ax,%ax
0x00002ad024ff40d0 <memcpy+112>: mov $0x200,%r8d
0x00002ad024ff40d6 <memcpy+118>: mov $0x1000,%r9d
0x00002ad024ff40dc <memcpy+124>: test $0x7,%esi
0x00002ad024ff40e2 <memcpy+130>: cmove %r9,%r8
0x00002ad024ff40e6 <memcpy+134>: test $0x7,%edi
0x00002ad024ff40ec <memcpy+140>: cmove %r9,%r8
0x00002ad024ff40f0 <memcpy+144>: cmp %r8,%rdx
0x00002ad024ff40f3 <memcpy+147>: ja 0x2ad024ff4170 <memcpy+272>
---Type <return> to continue, or q <return> to quit---
0x00002ad024ff40f5 <memcpy+149>: mov %edx,%ecx
0x00002ad024ff40f7 <memcpy+151>: shr $0x5,%ecx
0x00002ad024ff40fa <memcpy+154>: je 0x2ad024ff4160 <memcpy+256>
0x00002ad024ff40fc <memcpy+156>: xchg %ax,%ax
0x00002ad024ff4100 <memcpy+160>: dec %ecx
0x00002ad024ff4102 <memcpy+162>: mov (%rsi),%rax
0x00002ad024ff4105 <memcpy+165>: mov 0x8(%rsi),%r8
0x00002ad024ff4109 <memcpy+169>: mov 0x10(%rsi),%r9
0x00002ad024ff410d <memcpy+173>: mov 0x18(%rsi),%r10
0x00002ad024ff4111 <memcpy+177>: mov %rax,(%rdi)
0x00002ad024ff4114 <memcpy+180>: mov %r8,0x8(%rdi)
0x00002ad024ff4118 <memcpy+184>: mov %r9,0x10(%rdi)
0x00002ad024ff411c <memcpy+188>: mov %r10,0x18(%rdi)
0x00002ad024ff4120 <memcpy+192>: lea 0x20(%rsi),%rsi
0x00002ad024ff4124 <memcpy+196>: lea 0x20(%rdi),%rdi
0x00002ad024ff4128 <memcpy+200>: je 0x2ad024ff4160 <memcpy+256>
0x00002ad024ff412a <memcpy+202>: dec %ecx
0x00002ad024ff412c <memcpy+204>: mov (%rsi),%rax
0x00002ad024ff412f <memcpy+207>: mov 0x8(%rsi),%r8
0x00002ad024ff4133 <memcpy+211>: mov 0x10(%rsi),%r9
0x00002ad024ff4137 <memcpy+215>: mov 0x18(%rsi),%r10
0x00002ad024ff413b <memcpy+219>: mov %rax,(%rdi)
0x00002ad024ff413e <memcpy+222>: mov %r8,0x8(%rdi)
0x00002ad024ff4142 <memcpy+226>: mov %r9,0x10(%rdi)
0x00002ad024ff4146 <memcpy+230>: mov %r10,0x18(%rdi)
0x00002ad024ff414a <memcpy+234>: lea 0x20(%rsi),%rsi
0x00002ad024ff414e <memcpy+238>: lea 0x20(%rdi),%rdi
0x00002ad024ff4152 <memcpy+242>: jne 0x2ad024ff4100 <memcpy+160>
0x00002ad024ff4154 <memcpy+244>: xchg %ax,%ax
0x00002ad024ff4158 <memcpy+248>: xchg %ax,%ax
0x00002ad024ff415c <memcpy+252>: xchg %ax,%ax
0x00002ad024ff4160 <memcpy+256>: and $0x1f,%edx
0x00002ad024ff4163 <memcpy+259>: jne 0x2ad024ff40a7 <memcpy+71>
0x00002ad024ff4169 <memcpy+265>: pop %rax
0x00002ad024ff416a <memcpy+266>: retq
0x00002ad024ff416b <memcpy+267>: xchg %ax,%ax
0x00002ad024ff416e <memcpy+270>: xchg %ax,%ax
0x00002ad024ff4170 <memcpy+272>: mov 1854585(%rip),%r8 # 0x2ad0251b8df0 <_fini+13488856>
0x00002ad024ff4177 <memcpy+279>: mov 0x70(%r8),%r9
0x00002ad024ff417b <memcpy+283>: prefetcht0 (%r9)
0x00002ad024ff417f <memcpy+287>: mov %edi,%r8d
0x00002ad024ff4182 <memcpy+290>: and $0x7,%r8d
0x00002ad024ff4186 <memcpy+294>: je 0x2ad024ff41c0 <memcpy+352>
0x00002ad024ff4188 <memcpy+296>: lea 0xfffffffffffffff8(%r8,%rdx,1),%rdx
0x00002ad024ff418d <memcpy+301>: sub $0x8,%r8d
0x00002ad024ff4191 <memcpy+305>: xchg %ax,%ax
0x00002ad024ff4195 <memcpy+309>: xchg %ax,%ax
0x00002ad024ff4199 <memcpy+313>: xchg %ax,%ax
0x00002ad024ff419d <memcpy+317>: xchg %ax,%ax
0x00002ad024ff41a0 <memcpy+320>: inc %r8d
---Type <return> to continue, or q <return> to quit---
0x00002ad024ff41a3 <memcpy+323>: mov (%rsi),%al
0x00002ad024ff41a5 <memcpy+325>: mov %al,(%rdi)
0x00002ad024ff41a7 <memcpy+327>: lea 0x1(%rsi),%rsi
0x00002ad024ff41ab <memcpy+331>: lea 0x1(%rdi),%rdi
0x00002ad024ff41af <memcpy+335>: jne 0x2ad024ff41a0 <memcpy+320>
0x00002ad024ff41b1 <memcpy+337>: xchg %ax,%ax
0x00002ad024ff41b5 <memcpy+341>: xchg %ax,%ax
0x00002ad024ff41b9 <memcpy+345>: xchg %ax,%ax
0x00002ad024ff41bd <memcpy+349>: xchg %ax,%ax
0x00002ad024ff41c0 <memcpy+352>: mov 1854505(%rip),%r9 # 0x2ad0251b8df0 <_fini+13488856>
0x00002ad024ff41c7 <memcpy+359>: mov 0x78(%r9),%r11
0x00002ad024ff41cb <memcpy+363>: cmp %rdx,%r11
0x00002ad024ff41ce <memcpy+366>: cmova %rdx,%r11
0x00002ad024ff41d2 <memcpy+370>: mov %r11,%rcx
0x00002ad024ff41d5 <memcpy+373>: and $0xfffffffffffffff8,%r11
0x00002ad024ff41d9 <memcpy+377>: shr $0x3,%rcx
0x00002ad024ff41dd <memcpy+381>: je 0x2ad024ff41e2 <memcpy+386>
0x00002ad024ff41df <memcpy+383>: rep movsq %ds:(%rsi),%es:(%rdi)
0x00002ad024ff41e2 <memcpy+386>: sub %r11,%rdx
0x00002ad024ff41e5 <memcpy+389>: test $0xfffffffffffffff8,%rdx
0x00002ad024ff41ec <memcpy+396>: jne 0x2ad024ff42e0 <memcpy+640>
0x00002ad024ff41f2 <memcpy+402>: and $0x7,%edx
0x00002ad024ff41f5 <memcpy+405>: pop %rax
0x00002ad024ff41f6 <memcpy+406>: jne 0x2ad024ff4069 <memcpy+9>
0x00002ad024ff41fc <memcpy+412>: repz retq
0x00002ad024ff41fe <memcpy+414>: xchg %ax,%ax
0x00002ad024ff4200 <memcpy+416>: mov %r11,%rcx
0x00002ad024ff4203 <memcpy+419>: and $0xffffffffffffffc0,%r11
0x00002ad024ff4207 <memcpy+423>: shr $0x6,%rcx
0x00002ad024ff420b <memcpy+427>: je 0x2ad024ff42c0 <memcpy+608>
0x00002ad024ff4211 <memcpy+433>: xchg %ax,%ax
0x00002ad024ff4215 <memcpy+437>: xchg %ax,%ax
0x00002ad024ff4219 <memcpy+441>: xchg %ax,%ax
0x00002ad024ff421d <memcpy+445>: xchg %ax,%ax
0x00002ad024ff4220 <memcpy+448>: dec %ecx
0x00002ad024ff4222 <memcpy+450>: mov (%rsi),%rax
0x00002ad024ff4225 <memcpy+453>: mov 0x8(%rsi),%r8
0x00002ad024ff4229 <memcpy+457>: mov 0x10(%rsi),%r9
0x00002ad024ff422d <memcpy+461>: mov 0x18(%rsi),%r10
0x00002ad024ff4231 <memcpy+465>: mov %rax,(%rdi)
0x00002ad024ff4234 <memcpy+468>: mov %r8,0x8(%rdi)
0x00002ad024ff4238 <memcpy+472>: mov %r9,0x10(%rdi)
0x00002ad024ff423c <memcpy+476>: mov %r10,0x18(%rdi)
0x00002ad024ff4240 <memcpy+480>: mov 0x20(%rsi),%rax
0x00002ad024ff4244 <memcpy+484>: mov 0x28(%rsi),%r8
0x00002ad024ff4248 <memcpy+488>: mov 0x30(%rsi),%r9
0x00002ad024ff424c <memcpy+492>: mov 0x38(%rsi),%r10
0x00002ad024ff4250 <memcpy+496>: mov %rax,0x20(%rdi)
0x00002ad024ff4254 <memcpy+500>: mov %r8,0x28(%rdi)
0x00002ad024ff4258 <memcpy+504>: mov %r9,0x30(%rdi)
---Type <return> to continue, or q <return> to quit---
0x00002ad024ff425c <memcpy+508>: mov %r10,0x38(%rdi)
0x00002ad024ff4260 <memcpy+512>: lea 0x40(%rsi),%rsi
0x00002ad024ff4264 <memcpy+516>: lea 0x40(%rdi),%rdi
0x00002ad024ff4268 <memcpy+520>: je 0x2ad024ff42c0 <memcpy+608>
0x00002ad024ff426a <memcpy+522>: dec %ecx
0x00002ad024ff426c <memcpy+524>: mov (%rsi),%rax
0x00002ad024ff426f <memcpy+527>: mov 0x8(%rsi),%r8
0x00002ad024ff4273 <memcpy+531>: mov 0x10(%rsi),%r9
0x00002ad024ff4277 <memcpy+535>: mov 0x18(%rsi),%r10
0x00002ad024ff427b <memcpy+539>: mov %rax,(%rdi)
0x00002ad024ff427e <memcpy+542>: mov %r8,0x8(%rdi)
0x00002ad024ff4282 <memcpy+546>: mov %r9,0x10(%rdi)
0x00002ad024ff4286 <memcpy+550>: mov %r10,0x18(%rdi)
0x00002ad024ff428a <memcpy+554>: mov 0x20(%rsi),%rax
0x00002ad024ff428e <memcpy+558>: mov 0x28(%rsi),%r8
0x00002ad024ff4292 <memcpy+562>: mov 0x30(%rsi),%r9
0x00002ad024ff4296 <memcpy+566>: mov 0x38(%rsi),%r10
0x00002ad024ff429a <memcpy+570>: mov %rax,0x20(%rdi)
0x00002ad024ff429e <memcpy+574>: mov %r8,0x28(%rdi)
0x00002ad024ff42a2 <memcpy+578>: mov %r9,0x30(%rdi)
0x00002ad024ff42a6 <memcpy+582>: mov %r10,0x38(%rdi)
0x00002ad024ff42aa <memcpy+586>: lea 0x40(%rsi),%rsi
0x00002ad024ff42ae <memcpy+590>: lea 0x40(%rdi),%rdi
0x00002ad024ff42b2 <memcpy+594>: jne 0x2ad024ff4220 <memcpy+448>
0x00002ad024ff42b8 <memcpy+600>: xchg %ax,%ax
0x00002ad024ff42bc <memcpy+604>: xchg %ax,%ax
0x00002ad024ff42c0 <memcpy+608>: sub %r11,%rdx
0x00002ad024ff42c3 <memcpy+611>: test $0xffffffffffffffc0,%rdx
0x00002ad024ff42ca <memcpy+618>: jne 0x2ad024ff42e0 <memcpy+640>
0x00002ad024ff42cc <memcpy+620>: and $0x3f,%edx
0x00002ad024ff42cf <memcpy+623>: jne 0x2ad024ff40f5 <memcpy+149>
0x00002ad024ff42d5 <memcpy+629>: pop %rax
0x00002ad024ff42d6 <memcpy+630>: retq
0x00002ad024ff42d7 <memcpy+631>: xchg %ax,%ax
0x00002ad024ff42da <memcpy+634>: xchg %ax,%ax
0x00002ad024ff42dd <memcpy+637>: xchg %ax,%ax
0x00002ad024ff42e0 <memcpy+640>: mov 1854217(%rip),%r11 # 0x2ad0251b8df0 <_fini+13488856>
0x00002ad024ff42e7 <memcpy+647>: mov 0x88(%r11),%r8
0x00002ad024ff42ee <memcpy+654>: cmp %rdx,%r8
0x00002ad024ff42f1 <memcpy+657>: cmova %rdx,%r8
0x00002ad024ff42f5 <memcpy+661>: mov %r8,%rcx
0x00002ad024ff42f8 <memcpy+664>: and $0xffffffffffffffc0,%r8
0x00002ad024ff42fc <memcpy+668>: shr $0x6,%rcx
0x00002ad024ff4300 <memcpy+672>: je 0x2ad024ff43d9 <memcpy+889>
0x00002ad024ff4306 <memcpy+678>: push %r15
0x00002ad024ff4308 <memcpy+680>: push %r14
0x00002ad024ff430a <memcpy+682>: push %r13
0x00002ad024ff430c <memcpy+684>: push %r12
0x00002ad024ff430e <memcpy+686>: push %rbx
0x00002ad024ff430f <memcpy+687>: mov $0x380,%r15
---Type <return> to continue, or q <return> to quit---
0x00002ad024ff4316 <memcpy+694>: xchg %ax,%ax
0x00002ad024ff431a <memcpy+698>: xchg %ax,%ax
0x00002ad024ff431d <memcpy+701>: xchg %ax,%ax
0x00002ad024ff4320 <memcpy+704>: dec %rcx
0x00002ad024ff4323 <memcpy+707>: mov (%rsi),%rax
0x00002ad024ff4326 <memcpy+710>: mov 0x8(%rsi),%rbx
0x00002ad024ff432a <memcpy+714>: mov 0x10(%rsi),%r9
0x00002ad024ff432e <memcpy+718>: mov 0x18(%rsi),%r10
0x00002ad024ff4332 <memcpy+722>: mov 0x20(%rsi),%r11
0x00002ad024ff4336 <memcpy+726>: mov 0x28(%rsi),%r12
0x00002ad024ff433a <memcpy+730>: mov 0x30(%rsi),%r13
0x00002ad024ff433e <memcpy+734>: mov 0x38(%rsi),%r14
0x00002ad024ff4342 <memcpy+738>: prefetcht0 (%rsi,%r15,1)
0x00002ad024ff4347 <memcpy+743>: prefetcht0 0x40(%rsi,%r15,1)
0x00002ad024ff434d <memcpy+749>: mov %rax,(%rdi)
0x00002ad024ff4350 <memcpy+752>: mov %rbx,0x8(%rdi)
0x00002ad024ff4354 <memcpy+756>: mov %r9,0x10(%rdi)
0x00002ad024ff4358 <memcpy+760>: mov %r10,0x18(%rdi)
0x00002ad024ff435c <memcpy+764>: mov %r11,0x20(%rdi)
0x00002ad024ff4360 <memcpy+768>: mov %r12,0x28(%rdi)
0x00002ad024ff4364 <memcpy+772>: mov %r13,0x30(%rdi)
0x00002ad024ff4368 <memcpy+776>: mov %r14,0x38(%rdi)
0x00002ad024ff436c <memcpy+780>: lea 0x40(%rsi),%rsi
0x00002ad024ff4370 <memcpy+784>: lea 0x40(%rdi),%rdi
0x00002ad024ff4374 <memcpy+788>: je 0x2ad024ff43d0 <memcpy+880>
0x00002ad024ff4376 <memcpy+790>: dec %rcx
0x00002ad024ff4379 <memcpy+793>: mov (%rsi),%rax
0x00002ad024ff437c <memcpy+796>: mov 0x8(%rsi),%rbx
0x00002ad024ff4380 <memcpy+800>: mov 0x10(%rsi),%r9
0x00002ad024ff4384 <memcpy+804>: mov 0x18(%rsi),%r10
0x00002ad024ff4388 <memcpy+808>: mov 0x20(%rsi),%r11
0x00002ad024ff438c <memcpy+812>: mov 0x28(%rsi),%r12
0x00002ad024ff4390 <memcpy+816>: mov 0x30(%rsi),%r13
0x00002ad024ff4394 <memcpy+820>: mov 0x38(%rsi),%r14
0x00002ad024ff4398 <memcpy+824>: mov %rax,(%rdi)
0x00002ad024ff439b <memcpy+827>: mov %rbx,0x8(%rdi)
0x00002ad024ff439f <memcpy+831>: mov %r9,0x10(%rdi)
0x00002ad024ff43a3 <memcpy+835>: mov %r10,0x18(%rdi)
0x00002ad024ff43a7 <memcpy+839>: mov %r11,0x20(%rdi)
0x00002ad024ff43ab <memcpy+843>: mov %r12,0x28(%rdi)
0x00002ad024ff43af <memcpy+847>: mov %r13,0x30(%rdi)
0x00002ad024ff43b3 <memcpy+851>: mov %r14,0x38(%rdi)
0x00002ad024ff43b7 <memcpy+855>: prefetcht0 0xffffffffffffffc0(%rdi,%r15,1)
0x00002ad024ff43bd <memcpy+861>: prefetcht0 (%rdi,%r15,1)
0x00002ad024ff43c2 <memcpy+866>: lea 0x40(%rsi),%rsi
0x00002ad024ff43c6 <memcpy+870>: lea 0x40(%rdi),%rdi
0x00002ad024ff43ca <memcpy+874>: jne 0x2ad024ff4320 <memcpy+704>
0x00002ad024ff43d0 <memcpy+880>: pop %rbx
0x00002ad024ff43d1 <memcpy+881>: pop %r12
0x00002ad024ff43d3 <memcpy+883>: pop %r13
---Type <return> to continue, or q <return> to quit---
0x00002ad024ff43d5 <memcpy+885>: pop %r14
0x00002ad024ff43d7 <memcpy+887>: pop %r15
0x00002ad024ff43d9 <memcpy+889>: sub %r8,%rdx
0x00002ad024ff43dc <memcpy+892>: test $0xffffffffffffffc0,%rdx
0x00002ad024ff43e3 <memcpy+899>: jne 0x2ad024ff43f0 <memcpy+912>
0x00002ad024ff43e5 <memcpy+901>: and $0x3f,%edx
0x00002ad024ff43e8 <memcpy+904>: jne 0x2ad024ff40f5 <memcpy+149>
0x00002ad024ff43ee <memcpy+910>: pop %rax
0x00002ad024ff43ef <memcpy+911>: retq
0x00002ad024ff43f0 <memcpy+912>: mov %rdx,%rcx
0x00002ad024ff43f3 <memcpy+915>: shr $0x7,%rcx
0x00002ad024ff43f7 <memcpy+919>: je 0x2ad024ff44cc <memcpy+1132>
0x00002ad024ff43fd <memcpy+925>: push %r14
0x00002ad024ff43ff <memcpy+927>: push %r13
0x00002ad024ff4401 <memcpy+929>: push %r12
0x00002ad024ff4403 <memcpy+931>: xchg %ax,%ax
0x00002ad024ff4407 <memcpy+935>: xchg %ax,%ax
0x00002ad024ff440a <memcpy+938>: xchg %ax,%ax
0x00002ad024ff440d <memcpy+941>: xchg %ax,%ax
0x00002ad024ff4410 <memcpy+944>: prefetchnta 0x300(%rsi)
0x00002ad024ff4417 <memcpy+951>: prefetchnta 0x340(%rsi)
0x00002ad024ff441e <memcpy+958>: dec %rcx
0x00002ad024ff4421 <memcpy+961>: mov (%rsi),%rax
0x00002ad024ff4424 <memcpy+964>: mov 0x8(%rsi),%r8
0x00002ad024ff4428 <memcpy+968>: mov 0x10(%rsi),%r9
0x00002ad024ff442c <memcpy+972>: mov 0x18(%rsi),%r10
0x00002ad024ff4430 <memcpy+976>: mov 0x20(%rsi),%r11
0x00002ad024ff4434 <memcpy+980>: mov 0x28(%rsi),%r12
0x00002ad024ff4438 <memcpy+984>: mov 0x30(%rsi),%r13
0x00002ad024ff443c <memcpy+988>: mov 0x38(%rsi),%r14
0x00002ad024ff4440 <memcpy+992>: movnti %rax,(%rdi)
0x00002ad024ff4444 <memcpy+996>: movnti %r8,0x8(%rdi)
0x00002ad024ff4449 <memcpy+1001>: movnti %r9,0x10(%rdi)
0x00002ad024ff444e <memcpy+1006>: movnti %r10,0x18(%rdi)
0x00002ad024ff4453 <memcpy+1011>: movnti %r11,0x20(%rdi)
0x00002ad024ff4458 <memcpy+1016>: movnti %r12,0x28(%rdi)
0x00002ad024ff445d <memcpy+1021>: movnti %r13,0x30(%rdi)
0x00002ad024ff4462 <memcpy+1026>: movnti %r14,0x38(%rdi)
0x00002ad024ff4467 <memcpy+1031>: mov 0x40(%rsi),%rax
0x00002ad024ff446b <memcpy+1035>: mov 0x48(%rsi),%r8
0x00002ad024ff446f <memcpy+1039>: mov 0x50(%rsi),%r9
0x00002ad024ff4473 <memcpy+1043>: mov 0x58(%rsi),%r10
0x00002ad024ff4477 <memcpy+1047>: mov 0x60(%rsi),%r11
0x00002ad024ff447b <memcpy+1051>: mov 0x68(%rsi),%r12
0x00002ad024ff447f <memcpy+1055>: mov 0x70(%rsi),%r13
0x00002ad024ff4483 <memcpy+1059>: mov 0x78(%rsi),%r14
0x00002ad024ff4487 <memcpy+1063>: movnti %rax,0x40(%rdi)
0x00002ad024ff448c <memcpy+1068>: movnti %r8,0x48(%rdi)
0x00002ad024ff4491 <memcpy+1073>: movnti %r9,0x50(%rdi)
0x00002ad024ff4496 <memcpy+1078>: movnti %r10,0x58(%rdi)
---Type <return> to continue, or q <return> to quit---
0x00002ad024ff449b <memcpy+1083>: movnti %r11,0x60(%rdi)
0x00002ad024ff44a0 <memcpy+1088>: movnti %r12,0x68(%rdi)
0x00002ad024ff44a5 <memcpy+1093>: movnti %r13,0x70(%rdi)
0x00002ad024ff44aa <memcpy+1098>: movnti %r14,0x78(%rdi)
0x00002ad024ff44af <memcpy+1103>: lea 0x80(%rsi),%rsi
0x00002ad024ff44b6 <memcpy+1110>: lea 0x80(%rdi),%rdi
0x00002ad024ff44bd <memcpy+1117>: jne 0x2ad024ff4410 <memcpy+944>
0x00002ad024ff44c3 <memcpy+1123>: sfence
0x00002ad024ff44c6 <memcpy+1126>: pop %r12
0x00002ad024ff44c8 <memcpy+1128>: pop %r13
0x00002ad024ff44ca <memcpy+1130>: pop %r14
0x00002ad024ff44cc <memcpy+1132>: and $0x7f,%edx
0x00002ad024ff44cf <memcpy+1135>: jne 0x2ad024ff40f5 <memcpy+149>
0x00002ad024ff44d5 <memcpy+1141>: pop %rax
0x00002ad024ff44d6 <memcpy+1142>: retq
End of assembler dump.

</quote>

As a note in this case the window that was minimized was 'konsole'. I have KDE installed though use Gnome primarily (except for 'konsole'). I have tried with other applications (minimizing them while capturing) and it doesn't seem to matter what I use.... another test with Firefox 2.0.0.14 also crashed, though I didn't look at gdb output to compare.

Discussion

  • Karl H. Beckers

    Karl H. Beckers - 2008-08-24

    Logged In: YES
    user_id=782084
    Originator: NO

    Can you try and compare with Xdamage explicitly disabled?

     
  • Karl H. Beckers

    Karl H. Beckers - 2008-08-24

    Logged In: YES
    user_id=782084
    Originator: NO

    Also,
    since I cannot seem to reproduce this, could you elaborate your system config:
    What window manager (compiz,metacity,or ...) what xvidcap config (store settings and attach .xvidcaprc).
    Your gdb seems to suggest you are not using xcb, can you still provide the output of "ldd /home/kb87850/xvidcap/bin/xvidcap"?
    And when debugging the core, can you do:
    info threads

    and for each thread do:
    thread <num>
    bt

    Thanks,
    Karl.

     

Log in to post a comment.