Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36
  1. #1
    Join Date
    Aug 2014
    Posts
    37

    Post BC4 not starting at all unter Kubuntu 12.04 (64 bit)

    Hi folks,

    Some time ago I installed BC3 under Kubuntu 12.04 (64 bit). It didn't worked. Sometimes there was a "Runtime error 230", but actually there is only a "Segmentation fault (core dumped)" error.

    On July, 29 I replied on a mail from Scooter Software:

    Hi Matth,

    I followed your guide and removed BC3 and installed BC4.0.0.18629. I used the AMD64 DEB package. After this, I removed my .config/bcompare directory and tried to start bcompare.

    Now I simply get this output "Segmentation fault (core dumped)". This time no window is opening with a crash report or something similar. I managed to
    retrieve the crash log created by Ubuntu/KDE itself and attached it.

    I hope this log can help you to find out the cause of this problem.
    Actually I am waiting for a possible solution from Scooter Software support.

    On a other machine a test version of BC3 works without any problems. I don't know the cause, but it's under the same OS as my notebook, were BC doesn't work.

    Before I got the hint to try BC4 I had the same issue with BC3.

    Today I found out, that BC4 runs without any problems if I execute it as root!

    In my intended cases of using BC it would be no problem for me to execute it as root, but nevertheless I'm curious about what causes the problems.

    I hope someone can give me some hints where to search for the cause.

    Thanks in advance!

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    Needing to be root almost sounds like we are having trouble creating or accessing the settings directory, which is normally created in your own user account's .config/beyondcompare directory (with a few BCSetting.xmls inside).

    How did you run the .deb installer?

    If you manually create a .beyondcompare/ directory in your user's home directory, does this help?

    Despite the fact you are running an older 12.04 OS, with the recent patches you should be using the i386.deb installer. BC3/4 are 32bit applications, regardless of the installer used. On older, legacy Linux 64bit systems, the package had to be named for amd64 and included a couple extra tricks to get the right-click Scripts to work.
    Aaron P Scooter Software

  3. #3
    Join Date
    Aug 2014
    Posts
    37

    Default

    Hi Aaron,

    thanks for your reply and for your mail. I think it's better to continue this thread here in the forum, maybe other users can give hints for solving this.

    I doubt it would help to create the settings directory manually because it is always created as I try to run bcompare.

    If there is a ~/.beyondcompare/ it will be used, otherwise bcompare creates a ~/.local/bcompare/ directory. Nevertheless, in every case bcompare crashes. Even if these directories already exist (with or without files within), bcompare crashes.

    I ran the .deb installer from Dolphin, the file manager. It asks for sudo password and installs without any error. It's the same way as if I would invoke "dpkg -i".

    On every attempt bcompare quits with a "Segmentation fault (core dumped)". I started bcompare on a terminal to see this message. Via mail I provided already a crash log for this.

    I tried this today with your latest BC4 beta version with the i386 .deb package.

    Does bcompare contain some kind of logging function, like "bcompare -v" for more output or something similar?

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

    Default

    Hello,

    I setup a new test environment that is Kubuntu 12.04 with all updates, and installed BC4's latest beta release.

    First thing, sorry, but while Ubuntu 12.04 works with the 32bit package, I found this did not work out of the box with Kubuntu. The same system updates are probably not in place, and it is probably easier to use the 64bit.deb installer on this legacy system.

    A fresh install seems to work, and notably creates a ~/.config/bcompare folder in my User's directory with the setting files (BCState.xml, etc). This isn't .local like you are seeing? Do you know why this might be? My .local directory does not contain the BC settings.
    Aaron P Scooter Software

  5. #5
    Join Date
    Aug 2014
    Posts
    37

    Default

    Quote Originally Posted by Aaron View Post
    Hello,
    A fresh install seems to work, and notably creates a ~/.config/bcompare folder in my User's directory with the setting files (BCState.xml, etc). This isn't .local like you are seeing? Do you know why this might be? My .local directory does not contain the BC settings.
    Sorry, it's my fault. I wrote .local/, but it's in .config/.

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

    Default

    Running as root is a good clue that somewhere user permissions aren't configured quite right. Could you verify that the files in /usr/lib/beyondcompare are executable by your user?

    Could you also use "ldd /usr/lib/beyondcompare/BCompare" to find the linked libraries, and verify they are also accessible by your user?
    Aaron P Scooter Software

  7. #7
    Join Date
    Aug 2014
    Posts
    37

    Default

    Every file in /usr/lib/beyondcompare is executable, except for the ASCII kind of files.

    I did the "ldd" command as asked, with "export LD_LIBRARY_PATH=/usr/lib/beyondcompare/" before to get all files. Additionally, I "ldd" every file given from BCompare and tested them all for accessibility.

    It's all green here.

  8. #8
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hmm, since the program runs as root, there must be some system level configuration that is causing the problem.

    How about your environment? Running "env" between your user and root, are there any noticeable differences?

    If you need help reviewing, you can email in private logs to support@scootersoftware.com, with a link back to the forum thread and a brief description in the email.
    Aaron P Scooter Software

  9. #9
    Join Date
    Aug 2014
    Posts
    37

    Default

    Quote Originally Posted by Aaron View Post
    How about your environment? Running "env" between your user and root, are there any noticeable differences?
    This is env from root:

    Code:
    DISPLAY=:0
    HOME=/home/thomas
    LANG=de_DE.UTF-8
    LANGUAGE=
    LOGNAME=root
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
    MAIL=/var/mail/root
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    SHELL=/bin/bash
    SUDO_COMMAND=/usr/bin/env
    SUDO_GID=1000
    SUDO_UID=1000
    SUDO_USER=thomas
    TERM=xterm
    USERNAME=root
    USER=root
    And this is my env:
    Code:
    COLORFGBG=15;0
    CUR_WIDTH=0
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-SB7AmvnvGg,guid=5757cb753b81755271816bd40000a408
    DEFAULTS_PATH=/usr/share/gconf/default.default.path
    DESKTOP_SESSION=default
    DISPLAY=:0
    DM_CONTROL=/var/run/xdmctl
    GPG_AGENT_INFO=/tmp/gpg-8T0zrp/S.gpg-agent:16272:1
    GS_LIB=/home/thomas/.fonts
    GTK2_RC_FILES=/home/thomas/.gtkrc-2.0-kde4
    HOME=/home/thomas
    INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH=10
    INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS=true
    INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT=100
    INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH=25
    INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE=0
    INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE=0
    INFINALITY_FT_BRIGHTNESS=0
    INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH=0
    INFINALITY_FT_CONTRAST=0
    INFINALITY_FT_FILTER_PARAMS=11 22 38 22 11
    INFINALITY_FT_FRINGE_FILTER_STRENGTH=0
    INFINALITY_FT_GAMMA_CORRECTION=0 100
    INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE=0
    INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE=0
    INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH=0
    INFINALITY_FT_STEM_ALIGNMENT_STRENGTH=25
    INFINALITY_FT_STEM_FITTING_STRENGTH=25
    INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE=40
    INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS=true
    INFINALITY_FT_USE_VARIOUS_TWEAKS=true
    INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH=5
    KDED_STARTED_BY_KDEINIT=1
    KDE_FULL_SESSION=true
    KDE_SESSION_UID=1000
    KDE_SESSION_VERSION=4
    KONSOLE_DBUS_SERVICE=:1.623
    KONSOLE_DBUS_SESSION=/Sessions/1
    KONSOLE_DBUS_WINDOW=/Windows/1
    KONSOLE_PROFILE_NAME=Shell
    LANG=de_DE.UTF-8
    LANGUAGE=
    LESSCLOSE=/usr/bin/lesspipe %s %s
    LESSOPEN=| /usr/bin/lesspipe %s
    LOGNAME=thomas
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
    MANDATORY_PATH=/usr/share/gconf/default.mandatory.path
    OLDPWD=/home/thomas/tmp
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    PROFILEHOME=/home/thomas/
    PWD=/home/thomas/tmp/env-vergleich-bc
    QT_PLUGIN_PATH=/home/thomas/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
    SESSION_MANAGER=local/prometheus:@/tmp/.ICE-unix/16352,unix/prometheus:/tmp/.ICE-unix/16352
    SHELL=/bin/bash
    SHELL_SESSION_ID=984f2c1e846d40009cb39dbcb248a3a6
    SHLVL=1
    SSH_AGENT_PID=16271
    SSH_AUTH_SOCK=/tmp/ssh-UvdweDx16213/agent.16213
    TERM=xterm
    UBUNTU_MENUPROXY=libappmenu.so
    USER=thomas
    _=/usr/bin/env
    WINDOWID=115343434
    WINDOWPATH=8
    XCURSOR_SIZE=0
    XCURSOR_THEME=Descartes_Breeze
    XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg
    XDG_CURRENT_DESKTOP=KDE
    XDG_DATA_DIRS=/usr/share:/usr/share/default:/usr/local/share/:/usr/share/
    XDG_SESSION_COOKIE=b974456b7efc7610eb4c5eb400000009-1408092849.465773-1755958160
    XDM_MANAGED=method=classic
    I sorted these lines for better comparison purposes. Unfortunately I can't see anything strange which could cause problems.

    As a side note: If I do this command from a terminal "kdesudo bcompare", everything runs fine. If I invoke "sudo bash", I become root and after running "bcompare", I get this, maybe it helps:

    Code:
    Beyond Compare Version 4.0 beta (build 18629)
    Exception occurred at: 0806F6ED
    EAccessViolation: Access violation at address F6FE1675, accessing address 00000000
      $0806F6ED   bcompare ($08048000)   RaiseSignalException,  SysUtils line 10718.
    
    BackTrace:
      $081172D7   bcompare ($08048000)   backtrace,  KylExcept line 192
      $081174A3   bcompare ($08048000)   MyRaiseException,  KylExcept line 255
      $0805DE7A   bcompare ($08048000)   SysRaiseException,  System line 2740
      $0806F6ED   bcompare ($08048000)   RaiseSignalException,  SysUtils line 10718
      $F6FE1676   libc.so.6 ($F6EAE000)     + -151120266
      $F64ACC08   
    <THIS LINE REPEATS SERVERAL TIMES, I SHORTENED THIS FOR 10000 CHARACTERS LIMIT HERE>
    
    12555 (Main Thread LWP - Failed - see top trace)
    12558 (Child Thread LWP):
    
      $082C6A07   bcompare ($08048000)   TVfsCacheDeleteThread.Execute,  VfsFileCache line 648
      $08090C3A   bcompare ($08048000)   ThreadProc,  Classes line 9192
      $08060B3E   bcompare ($08048000)   ThreadWrapper,  System line 11727
      $08117878   bcompare ($08048000)   ThreadFuncWrapper,  KylExcept line 369
      $F7065D4C   libpthread.so.0 ($F705F000)     + -150577844
      $F6F9DDDE   libc.so.6 ($F6EAE000)    clone + 94
    
    
    Beyond Compare Version 4.0 beta (build 18629)
    Exception occurred at: 0806F6ED
    EAccessViolation: Access violation at address F6FE1675, accessing address 00000000
      $0806F6ED   bcompare ($08048000)   RaiseSignalException,  SysUtils line 10718.
    
    BackTrace:
      $081172D7   bcompare ($08048000)   backtrace,  KylExcept line 192
      $081174A3   bcompare ($08048000)   MyRaiseException,  KylExcept line 255
      $0805DE7A   bcompare ($08048000)   SysRaiseException,  System line 2740
      $0819E466   bcompare ($08048000)   TBcApplication.FiberMessageLoop,  BcForms line 2146
      $0818D185   bcompare ($08048000)   ContextStartProc,  cMicroThreads line 1004
      $F6EEDF1B   libc.so.6 ($F6EAE000)    makecontext + 75
      $090E6D70   
    
    12555 (Main Thread LWP - Failed - see top trace)
    12558 (Child Thread LWP):
    
      $082C6A07   bcompare ($08048000)   TVfsCacheDeleteThread.Execute,  VfsFileCache line 648
      $08090C3A   bcompare ($08048000)   ThreadProc,  Classes line 9192
      $08060B3E   bcompare ($08048000)   ThreadWrapper,  System line 11727
      $08117878   bcompare ($08048000)   ThreadFuncWrapper,  KylExcept line 369
      $F7065D4C   libpthread.so.0 ($F705F000)     + -150577844
      $F6F9DDDE   libc.so.6 ($F6EAE000)    clone + 94
    
    
    Runtime error 231 at 0806F6ED

  10. #10
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Thanks for all of that info.

    Our Linux developer looked this over and thinks it might be the QT_PLUGIN_PATH variable, which would override our own included plug-in (QT3) potentially. Would it be possible to remove this, restart, and see if this helps?

    The stack trace itself is also not particularly helpful, but if you can reproduce the crash, you could generate a much more detailed report using gdb. To do so:

    export LD_LIBRARY_PATH=/usr/lib/beyondcompare
    gdb /usr/lib/beyondcompare/BCompare
    run

    (wait for beyond compare to crash)

    thread apply all bt

    This should display a stack trace for all running threads after a crash.

    Please send us whatever output gdb generates and we'll keep trying to figure out what is causing the crash on your system. You can email us at support@scootersoftware.com with a link back to this forum thread for our reference.
    Aaron P 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
  •