PDA

View Full Version : BC3 build 456 crash when comparing Linux kernel source


Stephen
02-Jun-2008, 03:37 AM
I run BC3 build 456 on Fedora 8. It usually works fine in comparing small size projects.
But it cannot complete the comparison of Linux kernel source code. It either crashed or stopped responding after running for a while. Any idea?

$ bcompare linux-2.6.23 linux-2.6.24
Trace/breakpoint trap
$ bcompare linux-2.6.23 linux-2.6.24
Segmentation fault
$ bcompare linux-2.6.12-arm-pac30-20080108 linux-2.6.12-arm-pac30-sdio
*** glibc detected *** /usr/bin/bcompare: free(): invalid pointer: 0xb7d503e8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb2cac1]
/lib/libc.so.6(cfree+0x90)[0xb300f0]
/usr/bin/bcompare[0x805df09]
[0xa359490]
[0x20000]
======= Memory map: ========
00000000-00010000 --xp 00000000 00:00 0
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
00111000-00113000 rwxp 00111000 00:00 0
00113000-0011a000 r-xs 00000000 fd:00 15958302 /usr/lib/gconv/gconv-modules.cache
0011a000-0011f000 r-xs 00000000 fd:00 49545637 /var/cache/fontconfig/beeeeb3dfe132a8a0633a017c99ce0c0-x86.cache-2
0011f000-00122000 r-xs 00000000 fd:00 49545638 /var/cache/fontconfig/d04038e664b0033ae700a78c51f179d3-x86.cache-2
00122000-00124000 r-xs 00000000 fd:00 49545328 /var/cache/fontconfig/273572fe21058bf32b3be773088b9170-x86.cache-2
00124000-00125000 r-xs 00000000 fd:00 49545329 /var/cache/fontconfig/b4d0b56f766d89640448751fcd18ec1e-x86.cache-2
00125000-00126000 r-xs 00000000 fd:00 49545332 /var/cache/fontconfig/e61abf8156cc476151baa07d67337cae-x86.cache-2
00126000-00127000 r-xs 00000000 fd:00 49545820 /var/cache/fontconfig/2881ed3fd21ca306ddad6f9b0dd3189f-x86.cache-2
00127000-00781000 r-xp 00000000 fd:00 16351417 /usr/lib/beyondcompare/libqtc.so.1
00781000-007a2000 rwxp 0065a000 fd:00 16351417 /usr/lib/beyondcompare/libqtc.so.1
007a2000-0089a000 r-xp 00000000 fd:00 15890812 /usr/lib/libX11.so.6.2.0
0089a000-0089e000 rwxp 000f7000 fd:00 15890812 /usr/lib/libX11.so.6.2.0
0089e000-0089f000 rwxp 0089e000 00:00 0
0089f000-008ae000 r-xp 00000000 fd:00 15890823 /usr/lib/libXext.so.6.4.0
008ae000-008af000 rwxp 0000e000 fd:00 15890823 /usr/lib/libXext.so.6.4.0
008af000-008b0000 rwxp 008af000 00:00 0
008b0000-008b1000 r-xp 00000000 fd:00 15890811 /usr/lib/libxcb-xlib.so.0.0.0
008b1000-008b2000 rwxp 00000000 fd:00 15890811 /usr/lib/libxcb-xlib.so.0.0.0
008b2000-008cd000 r-xp 00000000 fd:00 15889093 /usr/lib/libxcb.so.1.0.0
008cd000-008ce000 rwxp 0001a000 fd:00 15889093 /usr/lib/libxcb.so.1.0.0
008ce000-00936000 r-xp 00000000 fd:00 15880253 /usr/lib/libmng.so.1.0.0
00936000-00939000 rwxp 00067000 fd:00 15880253 /usr/lib/libmng.so.1.0.0
00939000-0095e000 r-xp 00000000 fd:00 15867975 /usr/lib/libpng12.so.0.22.0
0095e000-0095f000 rwxp 00025000 fd:00 15867975 /usr/lib/libpng12.so.0.22.0
0095f000-00960000 rwxp 0095f000 00:00 0
00960000-00968000 r-xp 00000000 fd:00 15890825 /usr/lib/libXi.so.6.0.0
00968000-00969000 rwxp 00007000 fd:00 15890825 /usr/lib/libXi.so.6.0.0
00969000-00971000 r-xp 00000000 fd:00 15890819 /usr/lib/libXrender.so.1.3.0
00971000-00972000 rwxp 00007000 fd:00 15890819 /usr/lib/libXrender.so.1.3.0
00972000-00978000 r-xp 00000000 fd:00 15890826 /usr/lib/libXrandr.so.2.1.0
00978000-00979000 rwxp 00005000 fd:00 15890826 /usr/lib/libXrandr.so.2.1.0
00979000-00982000 r-xp 00000000 fd:00 15890828 /usr/lib/libXcursor.so.1.0.2
00982000-00983000 rwxp 00008000 fd:00 15890828 /usr/lib/libXcursor.so.1.0.2
00983000-00985000 r-xp 00000000 fd:00 15890824 /usr/lib/libXinerama.so.1.0.0
00985000-00986000 rwxp 00001000 fd:00 15890824 /usr/lib/libXinerama.so.1.0.0
00986000-00987000 rwxp 00986000 00:00 0
00987000-0099e000 r-xp 00000000 fd:00 15883185 /usr/lib/libICE.so.6.3.0
0099e000-0099f000 rwxp 00016000 fd:00 15883185 /usr/lib/libICE.so.6.3.0
0099f000-009a4000 rwxp 0099f000 00:00 0
009a4000-009a5000 r-xs 00000000 fd:00 49545816 /var/cache/fontconfig/900402270e15d763a6e008bb2d4c7686-x86.cache-2
009a5000-009a6000 r-xs 00000000 fd:00 49545815 /var/cache/fontconfig/ff627ea95a65192232277bf7c8a56f23-x86.cache-2
009a6000-009ae000 r-xp 00000000 fd:00 15889074 /usr/lib/libSM.so.6.0.0
009ae000-009af000 rwxp 00007000 fd:00 15889074 /usr/lib/libSM.so.6.0.0
009af000-009b0000 r-xs 00000000 fd:00 49545819 /var/cache/fontconfig/df893b4576ad6107f9397134092c4059-x86.cache-2
009b0000-009b1000 r-xs 00000000 fd:00 49545823 /var/cache/fontconfig/fa2b533b7056bdadb961f088bc0a978b-x86.cache-2
009b1000-009d2000 r-xp 00000000 fd:00 15875676 /usr/lib/libjpeg.so.62.0.0
009d2000-009d3000 rwxp 00020000 fd:00 15875676 /usr/lib/libjpeg.so.62.0.0
009d3000-00a5b000 r-xp 00000000 fd:00 15889046 /usr/lib/libfreetype.so.6.3.16
00a5b000-00a5f000 rwxp 00087000 fd:00 15889046 /usr/lib/libfreetype.so.6.3.16
00a5f00Aborted

Jacques
02-Jun-2008, 11:16 AM
I am unable to reproduce this, I was able to complete the comparison even when I did a rules-based comparison on every file. Could you send us your settings at support@scootersoftware.com (mailto:support@scootersoftware.com), thanks.

Stephen
04-Jul-2008, 03:13 AM
The crash is fixed in build 461. Build 461 on Fedora 8 compares even faster. Good job!

But there are some small issues,

1. My fedora always reports "SELinux is preventing BCompare (unconfined_t) "mmap_zero" to <Unknown> (unconfined_t)." when bcompare starts.
2. It takes a long time to close "Folder Compare Info" window.

Thanks!

Jacques
08-Jul-2008, 01:45 PM
I'm happy it's working for you now.

I don't have fedora 8 setup, but I do have 9. I don't get the SELinux warnings though, did you setup anything with that after installing Fedora? Do you get a similar message when opening a file with the hex compare?

The lengthy time to close the "Folder Compare Info" window also happens for me. It seems to only happen when comparing many files, such as the linux kernel though. I'll try to find out what's taking so long. Thanks.