Public bug reported:

Try running `colordiff -u  pulseaudio_output pulseaudio_output2`several
times and look at the end of output. You might see following:

<code>
...
-    userdata=0x6338a0) at pulsecore/pdispatch.c:241
-#6  0x00007f84fe613163 in pstream_packet_callback (p=0x63c460, 
-    packet=0x6b8410, creds=0x63c5b0, userdata=<value optimized out>)
+    userdata=0x634b40) at pulsecore/pdispatch.c:241
+#6  0x00007ff134f6f163 in pstream_packet_callback (p=0x64a720, 
     at pulsecore/protocol-native.c:3105
...
</code>
or following:
<code>
-    userdata=0x6338a0) at pulsecore/pdispatch.c:241
-#6  0x00007f84fe613163 in pstream_packet_callback (p=0x63c460, 
-    packet=0x6b8410, creds=0x63c5b0, userdata=<value optimized out>)
+    userdata=0x634b40) at pulsecore/pdispatch+#6  0x00007ff134f6f163 in 
pstream_packet_callback (p=0x64a720, 
+    packet=0x639a60, creds=0x64a870, userdata=<value optimized out>)
     at pulsecore/protocol-native.c:3105
</code>
and eventually you might see correct result:
<code>
-    userdata=0x6338a0) at pulsecore/pdispatch.c:241
-#6  0x00007f84fe613163 in pstream_packet_callback (p=0x63c460, 
-    packet=0x6b8410, creds=0x63c5b0, userdata=<value optimized out>)
+    userdata=0x634b40) at pulsecore/pdispatch.c:241
+#6  0x00007ff134f6f163 in pstream_packet_callback (p=0x64a720, 
+    packet=0x639a60, creds=0x64a870, userdata=<value optimized out>)
     at pulsecore/protocol-native.c:3105
</code>

With plain `diff -u  pulseaudio_output pulseaudio_output2` I never
experience such problems. Looks very much like there is some race
condition or memory corruption somewhere in colordiff script or perl
itself.

I use Ubuntu 8.04 x86_64.
colordiff version: 1.0.6-2
perl-base version: 5.8.8-12

** Affects: colordiff (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Colordiff misses one line of output or eats enf-of-line
https://bugs.launchpad.net/bugs/248917
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to