Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38
  1. #1
    Join Date
    Jan 2014
    Posts
    15

    Default Segmentation fault

    OS: OpenSuse 12.3
    BC4: Version 4.0 beta (build 17451)


    Runtime error 231 at 08070C55
    Runtime error 231 at 08070C55
    Runtime error 231 at 08070C55
    /usr/bin/bcompare: line 45: 3554 Segmentation fault /bin/bash -c "exec -a $0 $EXEC $ARGS" $0

    I get this error a lot. Is this a known error?

  2. #2
    Join Date
    Oct 2009
    Posts
    116

    Default

    This is not a known error. Does it happen every time you run BC? It appears that it is happening as soon as you call BC - is that correct?

    David
    David J Scooter Software

  3. #3
    Join Date
    Jan 2014
    Posts
    15

    Default

    No, it doesn't happen every time, but most of the times I'm running it.

    I must say that most of the time it happens when running it with git difftool.
    But also without. And it wouldn't even start but crash directly after starting.
    Last edited by rfkortekasa; 22-Jan-2014 at 11:12 AM.

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,378

    Default

    Hello,

    Thanks for the info. Are you running the 32bit or 64bit version of OpenSuse 12.3? Which installer did you use to setup BC3?
    Aaron P Scooter Software

  5. #5
    Join Date
    Jan 2014
    Posts
    15

    Default

    I'm using the 64-Bit version of OpenSUSE and used the RPM package from:
    http://www.scootersoftware.com/beta.php?zz=beta4_dl

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,378

    Default

    I'm configuring this VM now.

    Our current hunch is this may have to do with having either your settings directory or program directory in a write protected area. It's certainly possible this is something our beta installer had issue with; is there anything non-standard about your current OpenSUSE configuration or where the RPM installed the application?

    When you are calling from the command line, you are using "bcompare", correct? Are you passing any other parameters commonly when you see it crash?
    Aaron P Scooter Software

  7. #7
    Join Date
    Jan 2014
    Posts
    15

    Default

    No, there is nothing special on my OpenSUSE. I Just use the OpenSuse from the installer with Gnome. When running it I mostly supply 2 files or folders to compare. And I'm using it a lot with git difftool.

    What I noticed today is that when I started it with two files it crashed a lot of times, but when just starting it with bcompare and selecting the last session from the GUI it worked fine.

    The runtime error that it returns is always the same, except that the amount is different. Most of the time it shows the error 3 times. But i have seen also 2 or 1 times showing the error.

  8. #8
    Join Date
    Jan 2014
    Posts
    3

    Default Same problem

    minde@pts/2:/opt/bcompare:
    LD_LIBRARY_PATH="$LD_LIBRARY_PATHpt/bcompare/" ./BCompare
    Runtime error 231 at 08070C55
    [1] 4054 segmentation fault

    Gdb output:

    Reading symbols from /opt/bcompare/BCompare...(no debugging symbols found)...done.
    > run
    Starting program: /opt/bcompare/BCompare
    [New Thread 0xb6bc6b40 (LWP 4105)]
    [New Thread 0xb63c5b40 (LWP 4106)]

    Program received signal SIGSEGV, Segmentation fault.
    --------------------------------------------------------------------------[regs]
    EAX: 0x08CCDC04 EBX: 0x41EE4000 ECX: 0x00000000 EDX: 0x00000001 o d I t s z A p c
    ESI: 0x08A25C98 EDI: 0x08CCDD2C EBP: 0x08CD5068 ESP: 0x08CCDA54 EIP: 0x41EBEBA7
    CS: 0073 DS: 007B ES: 007B FS: 0000 GS: 0033 SS: 007B
    [0x007B:0x08CCDA54]------------------------------------------------------[stack]
    0x08CCDAA4 : B4 0C EA 41 01 00 00 00 - 48 63 CD 08 51 E5 7C B7 ...A....Hc..Q.|.
    0x08CCDA94 : 24 0A EA 41 3B E7 FE 01 - 74 E7 DC 3F 64 FA E9 41 $..A;...t..?d..A
    0x08CCDA84 : B4 DA CC 08 CA 85 29 03 - 04 DC CC 08 01 00 00 00 ......).........
    0x08CCDA74 : E8 9C DF B6 74 74 FE B7 - E8 9C DF B6 1F 00 00 00 ....tt..........
    0x08CCDA64 : E8 9C DF B6 74 74 FE B7 - C0 F9 E9 41 16 00 00 00 ....tt.....A....
    0x08CCDA54 : 1B 40 00 00 B4 EF FF B7 - 1C F9 E9 41 16 00 00 00 .@.........A....
    [0x007B:0x08A25C98]-------------------------------------------------------[data]
    0x08A25C98 : E8 64 A1 08 18 E6 A3 08 - 50 26 A2 08 18 67 A2 08 .d......P&...g..
    0x08A25CA8 : 50 67 A2 08 A0 66 A2 08 - E8 75 A2 08 48 53 A3 08 Pg...f...u..HS..
    0x08A25CB8 : 04 00 00 00 C8 21 A2 08 - 00 67 A2 08 A0 5A A2 08 .....!...g...Z..
    0x08A25CC8 : F0 2E A2 08 68 26 A2 08 - 00 00 00 00 17 51 E2 52 ....h&.......Q.R
    0x08A25CD8 : 1E 00 00 00 01 00 00 00 - D0 CD A3 08 00 00 00 00 ................
    0x08A25CE8 : 10 00 00 00 11 00 00 00 - A0 F7 EB B6 40 57 A2 08 ............@W..
    0x08A25CF8 : 88 56 A3 08 29 00 00 00 - 49 08 00 00 29 01 00 00 .V..)...I...)...
    0x08A25D08 : 5F 4E 45 54 5F 57 4D 5F - 57 49 4E 44 4F 57 5F 54 _NET_WM_WINDOW_T
    --------------------------------------------------------------------------[code]
    => 0x41ebeba7: movaps XMMWORD PTR [esp+0xe0],xmm0
    0x41ebebaf: test cl,0x1
    0x41ebebb2: movaps XMMWORD PTR [esp+0xf0],xmm0
    0x41ebebba: movaps XMMWORD PTR [esp+0x100],xmm0
    0x41ebebc2: movaps XMMWORD PTR [esp+0x110],xmm0
    0x41ebebca: movaps XMMWORD PTR [esp+0x120],xmm0
    0x41ebebd2: movaps XMMWORD PTR [esp+0x130],xmm0
    0x41ebebda: movaps XMMWORD PTR [esp+0x140],xmm0
    --------------------------------------------------------------------------------
    0x41ebeba7 in ?? () from /usr/lib/libfontconfig.so.1
    >
    > bt full
    #0 0x41ebeba7 in ?? () from /usr/lib/libfontconfig.so.1
    No symbol table info available.
    #1 0x41ebfa84 in FcFontMatch () from /usr/lib/libfontconfig.so.1
    No symbol table info available.
    #2 0xb7239358 in loadFontConfigFont(QFontPrivate const*, QFontDef const&, QFont::Script) () from libqt-mt.so.3
    No symbol table info available.
    #3 0xb72404c8 in QFontDatabase::findFont(QFont::Script, QFontPrivate const*, QFontDef const&, int) () from libqt-mt.so.3
    No symbol table info available.
    #4 0xb71bda50 in QFontPrivate::load(QFont::Script) () from libqt-mt.so.3
    No symbol table info available.
    #5 0xb722d2ef in QFontMetrics::minRightBearing() const () from libqt-mt.so.3
    No symbol table info available.
    #6 0xb72833fc in qt_format_text(QFont const&, QRect const&, int, QString const&, int, QRect*, int, int*, int, QTextParag**, QPainter*) () from libqt-mt.so.3
    No symbol table info available.
    #7 0xb72842b0 in QPainter::drawText(QRect const&, int, QString const&, int, QRect*, QTextParag**) () from libqt-mt.so.3
    No symbol table info available.
    #8 0xb7284469 in QPainter::boundingRect(QRect const&, int, QString const&, int, QTextParag**) () from libqt-mt.so.3
    No symbol table info available.
    #9 0xb7d87330 in QPainter_boundingRect1 () from libqtc.so.1
    No symbol table info available.
    #10 0x08076cac in ?? ()
    No symbol table info available.
    ............ No symbols... (sorry about this.)
    No symbol table info available.
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)
    >

    Linux 3.12.0-gentoo using Qt 4.8.5 (without gnome KDE or any other DE.), Xcb 1.9.1, Xorg 1.14.4 libpng 1.2.50, libXft 2.3.1, freetype 2.5.0.1,
    fontconfig 2.10.93.

    I tried versions 3.3.8.16340 and 4.0.0.1745.

  9. #9
    Join Date
    Jan 2014
    Posts
    3

    Default

    Fixed.

    assertion failed on line 383 of file freetype/src/cff/cf2ft.c
    stat64("/usr/share/fonts/stix-fonts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    open("/usr/share/fonts/stix-fonts", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    fstatfs64(3, 84, {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=37811247, f_bfree=19300261, f_bavail=17373785, f_files=9617408, f_ffree=7880529, f_fsid={-219526619, 1045052614}, f_namelen=255, f_frsize=4096, f_flags=4128}) = 0
    close(3) = 0
    openat(AT_FDCWD, "/usr/share/fonts/stix-fonts", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOE XEC) = 3
    getdents64(3, /* 34 entries */, 32768) = 1360
    getdents64(3, /* 0 entries */, 32768) = 0
    stat64("/usr/share/fonts/stix-fonts/STIXGeneral.otf", {st_mode=S_IFREG|0644, st_size=414322, ...}) = 0
    open("/usr/share/fonts/stix-fonts/STIXGeneral.otf", O_RDONLY) = 4
    fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
    fstat64(4, {st_mode=S_IFREG|0644, st_size=414322, ...}) = 0
    mmap2(NULL, 414322, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb72e7000
    close(4) = 0
    brk(0x9e58000) = 0x9e58000
    mmap2(NULL, 417792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7281000
    munmap(0xb7281000, 417792) = 0
    write(2, "assertion failed on line 383 of "..., 120assertion failed on line 383 of file freetype/src/cff/cf2ft.c
    ) = 120
    exit_group(1) = ?
    +++ exited with 1 +++

    Removed stix-fonts and now BCompare starts normaly.

  10. #10
    Join Date
    Oct 2009
    Posts
    116

    Default

    Is the above a dump from strace? If not where?

    Thanks
    David J Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •