Author Topic: Segmentation fault (core dumped) on starting  (Read 23104 times)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #15 on: June 10, 2016, 03:38:53 pm »
I guess someone should delete/replace that readme-folder in the archive as well as change this wiki page to remove all those instructions if they are not correct. It is very tempting to believe they are!

I just don't feel qualified to do the instructions... I probably could do instructions for Kubuntu 14 (which is what I have installed on my PC since a few months), but if someone is using a different distribution, the instructions might not work...

We provide "foolproof" instructions for Windows users, and hope that Linux users know what they are doing...

Offline buenaventura

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #16 on: June 10, 2016, 03:55:58 pm »
After compiling as above, I copied over the OpenXcom/bin/openxcom executable (that I just make'd) to the piratez-folder from the archive, and that ran as far as showing the intro movie and playing music, but then hung HARD, I couldn't even switch to virtual console or nothing, had to do hard reset. So I guess that was not the right thing to do ^__^'

Edit: If I get this to work, I will make sure to write something about it, that you can put there. Poor linux people! Anyway, instructions for Kubuntu would be fine, all the *ubuntu flavours work the same at that level I should think. And that is the most popular distribution.

Edit2: reading along in that thread you mentioned, I seem to have gotten the right executable after all. So why does it hang so badly on me :( This is what I've done:

1. extract archive with 0.99 piratez
2. add GEODATA etc. into UFO (patched and all)
3. compile Meridians OpenXCom to get the openxcom executable
4. put it in the piratez-folder (it has the right permissions set).

Shouldn't that work?

Edit3:
AH! Log file:

Spoiler:
6-2016_14-48-59]   [INFO]   Data folder is:
[10-06-2016_14-48-59]   [INFO]   Data search is:
[10-06-2016_14-48-59]   [INFO]   - /home/simon/.local/share/openxcom/
[10-06-2016_14-48-59]   [INFO]   - /usr/share/xubuntu/openxcom/
[10-06-2016_14-48-59]   [INFO]   - /usr/share/xfce4/openxcom/
[10-06-2016_14-48-59]   [INFO]   - /usr/local/sharehttps://openxcom/
[10-06-2016_14-48-59]   [INFO]   - /usr/sharehttps://openxcom/
[10-06-2016_14-48-59]   [INFO]   - /usr/share/openxcom/
[10-06-2016_14-48-59]   [INFO]   - /usr/local/share/openxcom/
[10-06-2016_14-48-59]   [INFO]   - /usr/share/openxcom/
[10-06-2016_14-48-59]   [INFO]   - ./
[10-06-2016_14-48-59]   [INFO]   User folder is: ./user/
[10-06-2016_14-48-59]   [INFO]   Config folder is: /home/simon/.config/openxcom/
[10-06-2016_14-48-59]   [INFO]   Options loaded successfully.
[10-06-2016_14-48-59]   [INFO]   SDL initialized successfully.
[10-06-2016_14-48-59]   [INFO]   SDL_mixer initialized successfully.
[10-06-2016_14-48-59]   [INFO]   requested file not found: openxcom.png
[10-06-2016_14-48-59]   [INFO]   Attempting to set display to 1280x720x32...
[10-06-2016_14-49-00]   [INFO]   Display set to 1280x720x32.
[10-06-2016_14-49-00]   [INFO]   requested file not found: Shaders/raw.opengl.shader
[10-06-2016_14-49-00]   [ERROR]   Shaders/raw.opengl.shader: bad file
[10-06-2016_14-49-00]   [INFO]   requested file not found: Shaders/raw.opengl.shader
[10-06-2016_14-49-00]   [ERROR]   Shaders/raw.opengl.shader: bad file
[10-06-2016_14-49-00]   [INFO]   Loading data...
[10-06-2016_14-49-00]   [INFO]   Scanning standard mods in 'standard'...
[10-06-2016_14-49-00]   [INFO]   Scanning user mods in './user/mods'...
[10-06-2016_14-49-00]   [INFO]   removing references to missing mod: OpenXCom_Unlimited_Waypoints
[10-06-2016_14-49-00]   [INFO]   removing references to missing mod: TFTD_Damage
[10-06-2016_14-49-00]   [INFO]   removing references to missing mod: XCOM_Damage
[10-06-2016_14-49-00]   [INFO]   Mapping resource files...
[10-06-2016_14-49-00]   [INFO]   Resources files mapped successfully.
[10-06-2016_14-49-02]   [INFO]   Loading fonts... Font.dat
[10-06-2016_14-49-02]   [INFO]   Loading extra resources from ruleset...
[10-06-2016_14-49-02]   [INFO]   Data loaded successfully.
[10-06-2016_14-49-02]   [INFO]   Loading language...
[10-06-2016_14-49-02]   [INFO]   Language loaded successfully.
[10-06-2016_14-49-02]   [INFO]   OpenXcom started successfully!
[10-06-2016_14-49-02]   [INFO]   Playing flx, 320x200, 890 frames
[10-06-2016_14-49-03]   [INFO]   SDL_mixer initialized successfully.
[10-06-2016_14-49-03]   [INFO]   SDL_mixer initialized successfully.
[10-06-2016_14-49-04]   [FATAL]   A fatal error has occurred: signal 11
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x838fba5]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x83915ea]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x8057c47]
[10-06-2016_14-49-04]   [FATAL]   [0xb7754bc4]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x83b0206]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x844d0ed]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x81a9de6]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x81aa152]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x83879f5]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom(main+0x16b) [0x8054dbb]
[10-06-2016_14-49-04]   [FATAL]   /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xde) [0xb715a7ae]
[10-06-2016_14-49-04]   [FATAL]   /home/simon/games/OpenXcom_XPiratez/openxcom() [0x8056f93]
Huh?

Edit4:
AHA! I tried removing my config folder (.config/openxcom), and got just fatal error 11 :/ See here:
Spoiler:
[10-06-2016_15-12-40]   [INFO]   Data folder is:
[10-06-2016_15-12-40]   [INFO]   Data search is:
[10-06-2016_15-12-40]   [INFO]   - /home/simon/.local/share/openxcom/
[10-06-2016_15-12-40]   [INFO]   - /usr/share/xubuntu/openxcom/
[10-06-2016_15-12-40]   [INFO]   - /usr/share/xfce4/openxcom/
[10-06-2016_15-12-40]   [INFO]   - /usr/local/sharehttps://openxcom/
[10-06-2016_15-12-40]   [INFO]   - /usr/sharehttps://openxcom/
[10-06-2016_15-12-40]   [INFO]   - /usr/share/openxcom/
[10-06-2016_15-12-40]   [INFO]   - /usr/local/share/openxcom/
[10-06-2016_15-12-40]   [INFO]   - /usr/share/openxcom/
[10-06-2016_15-12-40]   [INFO]   - ./
[10-06-2016_15-12-40]   [INFO]   User folder is: ./user/
[10-06-2016_15-12-40]   [INFO]   Config folder is: /home/simon/.config/openxcom/
[10-06-2016_15-12-40]   [INFO]   Options loaded successfully.
[10-06-2016_15-12-40]   [INFO]   SDL initialized successfully.
[10-06-2016_15-12-40]   [INFO]   SDL_mixer initialized successfully.
[10-06-2016_15-12-40]   [INFO]   requested file not found: openxcom.png
[10-06-2016_15-12-40]   [INFO]   Attempting to set display to 640x400x8...
[10-06-2016_15-12-40]   [INFO]   Display set to 640x400x8.
[10-06-2016_15-12-40]   [INFO]   Loading data...
[10-06-2016_15-12-40]   [INFO]   Scanning standard mods in 'standard'...
[10-06-2016_15-12-40]   [INFO]   Scanning user mods in './user/mods'...
[10-06-2016_15-12-40]   [INFO]   Mapping resource files...
[10-06-2016_15-12-40]   [INFO]   Resources files mapped successfully.
[10-06-2016_15-12-42]   [INFO]   Loading fonts... Font.dat
[10-06-2016_15-12-42]   [INFO]   Loading extra resources from ruleset...
[10-06-2016_15-12-42]   [INFO]   Data loaded successfully.
[10-06-2016_15-12-42]   [INFO]   Loading language...
[10-06-2016_15-12-42]   [INFO]   Language loaded successfully.
[10-06-2016_15-12-42]   [INFO]   OpenXcom started successfully!
[10-06-2016_15-12-42]   [INFO]   Playing flx, 320x200, 890 frames
[10-06-2016_15-12-42]   [INFO]   Using software scaling routine. For best results, try an OpenGL filter.
[10-06-2016_15-12-43]   [INFO]   SDL_mixer initialized successfully.
[10-06-2016_15-12-44]   [INFO]   SDL_mixer initialized successfully.
[10-06-2016_15-12-45]   [FATAL]   A fatal error has occurred: signal 11
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x838fba5]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x83915ea]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x8057c47]
[10-06-2016_15-12-45]   [FATAL]   [0xb775ebc4]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x83b0206]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x844d0ed]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x81a9de6]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x81aa152]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x83879f5]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom(main+0x16b) [0x8054dbb]
[10-06-2016_15-12-45]   [FATAL]   /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xde) [0xb71647ae]
[10-06-2016_15-12-45]   [FATAL]   ./openxcom() [0x8056f93]
[10-06-2016_15-12-50]   [FATAL]   OpenXcom has crashed: signal 11
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.
« Last Edit: June 10, 2016, 04:15:25 pm by buenaventura »

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #17 on: June 10, 2016, 04:18:47 pm »
I don't know if it'll help for you, but I've had some success by using command line parameters to make sure I'm using the user and config files supplied by Dioxine.  Try running the executable with

Code: [Select]
./OpenXcomEx -user "./user" -config "./user"
Replace ./OpenXcomEx with the executable name if it's something different for you, and make sure the OpenXcom_XPiratez folder you downloaded has options.cfg in the OpenXcom_XPiratez/user folder.

Edit:  I generally create a bash script to run those command line parameters, placed in the same folder as the executable, just so I don't have to type the parameters every time.

Offline buenaventura

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #18 on: June 10, 2016, 04:40:28 pm »
Well, it was promising - it started up properly with your suggestion to include the paths, and the initial "Loading openxcom 1.0 dev", but it got stuck there. Mega stuck again, had to hard reset and no log was written  :'(

Perhaps there is something wrong with the config I have in the ./user folder? :

Spoiler:
mods:
  - id: piratez
    active: true
  - id: xcom1
    active: false
  - id: Aliens_Pick_Up_Weapons
    active: false
  - id: Limit_Craft_Item_Capacities
    active: false
  - id: PSX_Static_Cydonia_Map
    active: false
  - id: UFOextender_Gun_Melee
    active: false
  - id: UFOextender_Psionic_Line_Of_Fire
    active: false
  - id: UFOextender_Starting_Avalanches
    active: false
  - active: false
    id: XcomUtil_Always_Daytime
  - id: XcomUtil_Always_Nighttime
    active: false
  - id: XcomUtil_Fighter_Transports
    active: false
  - id: XcomUtil_High_Explosive_Damage
    active: false
  - id: XcomUtil_Improved_Ground_Tanks
    active: false
  - id: XcomUtil_Improved_Heavy_Laser
    active: false
  - id: XcomUtil_No_Psionics
    active: false
  - id: XcomUtil_Pistol_Auto_Shot
    active: false
  - id: XcomUtil_Skyranger_Weapon_Slot
    active: false
  - active: false
    id: XcomUtil_Starting_Defensive_Base
  - id: XcomUtil_Starting_Defensive_Improved_Base
    active: false
  - id: XcomUtil_Starting_Improved_Base
    active: false
  - id: XcomUtil_Statstrings
    active: false
  - id: altSmokeOps
    active: true
  - id: altTacArmor
    active: true
  - active: false
    id: altSGC
  - id: Aliens_Pick_Up_Weapons_TFTD
    active: false
  - id: Limit_Craft_Item_Capacities_TFTD
    active: false
  - id: StrategyCore_Swap_Small_USOs_TFTD
    active: false
  - id: UFOextender_Gun_Melee_TFTD
    active: false
  - id: UFOextender_Psionic_Line_Of_Fire_TFTD
    active: false
  - id: XcomUtil_Always_Daytime_TFTD
    active: false
  - id: XcomUtil_Always_Nighttime_TFTD
    active: false
  - id: XcomUtil_High_Explosive_Damage_TFTD
    active: false
  - id: XcomUtil_Improved_Gauss
    active: false
  - id: XcomUtil_Infinite_Gauss
    active: false
  - id: XcomUtil_No_Psionics_TFTD
    active: false
  - id: XcomUtil_Pistol_Auto_Shot_TFTD
    active: false
  - id: XcomUtil_Starting_Defensive_Base_TFTD
    active: false
  - id: XcomUtil_Starting_Defensive_Improved_Base_TFTD
    active: false
  - id: XcomUtil_Starting_Improved_Base_TFTD
    active: false
  - active: true
    id: piratezNaughtyMod
  - id: altCorpses
    active: false
options:
  strafe: true
  mousewheelSpeed: 3
  changeValueByMouseWheel: 10
  storageLimitsEnforced: true
  displayWidth: 640
  aggressiveRetaliation: false
  asyncBlit: true
  geoDragScrollButton: 2
  useScaleFilter: false
  useHQXFilter: false
  useXBRZFilter: false
  preferredMusic: 0
  maximizeInfoScreens: true
  vSyncForOpenGL: true
  useOpenGLSmoothing: true
  debug: true
  useOpenGL: false
  debugUi: false
  preferredSound: 0
  canSellLiveAliens: true
  musicVolume: 0
  language: en-US
  canManufactureMoreItemsPerHour: true
  battleScrollSpeed: 8
  allowPsiStrengthImprovement: false
  craftLaunchAlways: true
  checkOpenGLErrors: false
  useOpenGLShader: Shaders/5xbr_squared.opengl.shader
  battleEdgeScroll: 2
  battleDragScrollButton: 2
  dragScrollPixelTolerance: 10
  preferredVideo: 0
  dragScrollTimeTolerance: 300
  battleXcomSpeed: 23
  battleAlienSpeed: 30
  battleNewPreviewPath: 3
  globeDetail: true
  fpsCounter: false
  geoDragScrollInvert: false
  geoScrollSpeed: 28
  globeRadarLines: true
  musicAlwaysLoop: false
  globeAllRadarsOnBaseBuild: true
  soundVolume: 98
  audioBitDepth: 16
  pauseMode: 0
  globeFlightPaths: false
  playIntro: false
  battleNotifyDeath: true
  showFundsOnGeoscape: true
  battleFireSpeed: 6
  allowResize: false
  windowedModePositionX: -1
  windowedModePositionY: -1
  borderless: false
  captureMouse: true
  autosave: true
  keepAspectRatio: true
  battleTooltips: true
  nonSquarePixelRatio: false
  audioSampleRate: 22050
  cursorInBlackBandsInFullscreen: false
  autosaveFrequency: 4
  cursorInBlackBandsInWindow: true
  cursorInBlackBandsInBorderlessWindow: false
  saveOrder: 3
  geoClockSpeed: 139
  dogfightSpeed: 50
  newSeedOnLoad: true
  psiStrengthEval: false
  uiVolume: 79
  anytimePsiTraining: true
  canTransferCraftsWhileAirborne: true
  globeSeasons: true
  allowBuildingQueue: true
  displayHeight: 400
  customInitialBase: false
  geoscapeScale: 0
  maxFrameSkip: 0
  traceAI: false
  keyboardMode: 1
  battlescapeScale: 1
  fullscreen: true
  verboseLogging: false
  StereoSound: true
  battleHairBleach: true
  keyScreenshot: 293
  includePrimeStateInSavedLayout: true
  battleConfirmFireMode: false
  weaponSelfDestruction: false
  allowPsionicCapture: true
  alienBleeding: true
  executeUnconsciousEnemies: true
  twoHandedIndicator: true
  minimapBorderIndicator: false
  keyCancel: 27
  keyGeoZoomIn: 43
  keyGeoSpeed2: 50
  keyGeoSpeed1: 49
  everyoneFightsNobodyQuits: false
  addVehiclesToMemorial: false
  skipNextTurnScreen: true
  TFTDDamage: false
  noAlienPanicMessages: false
  fieldPromotions: true
  battleDragScrollInvert: false
  sneakyAI: false
  battleUFOExtenderAccuracy: true
  showMoreStatsInInventoryView: true
  battleSmoothCamera: false
  keyQuickSave: 286
  keyQuickLoad: 290
  keyFps: 288
  disableAutoEquip: false
  keyBattleCenterEnemy7: 55
  keyBattleCenterEnemy8: 56
  keyBattleCenterEnemy9: 57
  keyBattleCenterEnemy10: 48
  keyBattleVoxelView: 291
  keyInvCreateTemplate: 99
  keyBattleActionItem3: 51
  keyBattleActionItem2: 50
  keyBattleActionItem1: 49
  keyInvClear: 98
  keyBattlePersonalLighting: 108
  keyBattleReserveNone: 282
  keyBattleZeroTUs: 127
  keyBattleCenterEnemy3: 51
  keyBattleActionItem5: 53
  FPSInactive: 30
  keyInvApplyTemplate: 118
  FPS: 60
  keyBattleCenterEnemy4: 52
  keyBattleCenterEnemy6: 54
  keyBattleCenterEnemy5: 53
  keyBattleActionItem4: 52
  keyToggleQuickSearch: 113
  battleExplosionHeight: 2
  battleAutoEnd: true
  forceFire: true
  spendResearchedItems: true
  battleInstantGrenade: false
  bleedingIndicator: true
  statisticalBulletConservation: true
  keyBaseSelect7: 55
  keyGeoSpeed4: 52
  keyGeoSpeed3: 51
  showItemNameAndWeightInInventory: false
  showGunMeleeOnTop: false
  showQuickSearch: true
  keyOk: 13
  keyGeoLeft: 276
  keyBaseSelect1: 49
  keyBaseSelect2: 50
  keyGeoToggleRadar: 114
  keyGeoRight: 275
  keyGeoUp: 273
  keyGeoDown: 274
  keyGeoZoomOut: 45
  keyBattleLeft: 276
  keyGeoSpeed5: 53
  keyBattleUp: 273
  keyBaseSelect8: 56
  keyGeoSpeed6: 54
  keyGeoIntercept: 105
  keyGeoBases: 98
  keyGeoGraphs: 103
  keyBattleLevelUp: 280
  keyBattleDown: 274
  keyGeoUfopedia: 117
  keyGeoOptions: 27
  keyGeoFunding: 102
  keyGeoToggleDetail: 9
  keyBaseSelect3: 51
  keyBaseSelect4: 52
  keyBattleAbort: 97
  keyBattleEndTurn: 8
  keyBaseSelect5: 53
  keyBaseSelect6: 54
  keyBattleRight: 275
  keyBattleLevelDown: 281
  keyBattleReserveSnap: 283
  keyBattleReserveAuto: 285
  keyBattleReserveKneel: 106
  keyBattleMap: 109
  keyBattleReserveAimed: 284
  keyBattleCenterUnit: 278
  keyBattlePrevUnit: 122
  keyBattleNextUnit: 120
  keyBattleDeselectUnit: 32
  keyBattleUseLeftHand: 113
  keyBattleCenterEnemy2: 50
  keyBattleCenterEnemy1: 49
  keyBattleUseRightHand: 101
  keyBattleInventory: 105
  keyBattleOptions: 27
  keyBattleStats: 115
  keyBattleKneel: 107
  keyBattleReload: 114

Perhaps ohartenstein23 can post his executable, and I could try it out?

Perhaps I should work on the one supplied by Meridian instead, I get this error with it:

Spoiler:
simon@simon-Aspire-E5-521G:~/games/OpenXcom_XPiratez$ ./OpenXcomExPlusElf -user "./user" -config "./user"
./OpenXcomExPlusElf: symbol lookup error: ./OpenXcomExPlusElf: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarE

Any suggestions?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #19 on: June 10, 2016, 04:49:30 pm »
The config looks a little strange on a few lines under mods:, where the id: and active: tags seem to be reversed.  Try switching the following lines

Code: [Select]
  - active: false
    id: XcomUtil_Always_Daytime

  - active: false
    id: XcomUtil_Starting_Defensive_Base

  - active: false
    id: altSGC

  - active: true
    id: piratezNaughtyMod

with

Code: [Select]
  - id: XcomUtil_Always_Daytime
    active: false

  - id: XcomUtil_Starting_Defensive_Base
    active: false

  - id: altSGC
    active: false

  - id: piratezNaughtyMod
    active: true

Here's a link to my executable:
https://drive.google.com/file/d/0BzdM3YhNg14pc0VmakR2bUxqQ2c/view?usp=sharing

Offline buenaventura

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #20 on: June 10, 2016, 05:10:25 pm »
I did the replacements as you suggested, to no avail, no difference. It says "Loading OpenXCom 1.0 Dev ..." with a blinking cursor, then the cursor stops blinking, and then BAM, totally dead. Hard reset. Thank you for the executable - its compiled for 64-bit, so no go there (I am on 32-bit). Perhaps that is the problem? Any other suggestions? Is there a checksum for the archive of piratez that I could check, in case it was corrupted?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #21 on: June 10, 2016, 05:53:29 pm »
Do you even have the correct source code?
Can you please locate the "version.h" file and copy-paste the whole file here please? So that I can check if it's the right version...

EDIT:
You should not see "Loading OpenXcom 1.0 Dev ...", it should be "Loading OpenXcom Extended 2.9+ ..." ... see screenshot.
After loaded, it should look something like attached.
« Last Edit: June 10, 2016, 06:57:03 pm by Meridian »

Offline Yankes

  • Commander
  • *****
  • Posts: 3210
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #22 on: June 10, 2016, 09:02:25 pm »
Perhaps I should work on the one supplied by Meridian instead, I get this error with it:

Spoiler:
simon@simon-Aspire-E5-521G:~/games/OpenXcom_XPiratez$ ./OpenXcomExPlusElf -user "./user" -config "./user"
./OpenXcomExPlusElf: symbol lookup error: ./OpenXcomExPlusElf: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarE

Any suggestions?
This probably mean that you lack correct yaml lib used by Meridian binary. If you have already installed `yaml-cpp` (e.g. something like `apt-get install libyaml-cpp0.5`) then you have incompatible version.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #23 on: June 10, 2016, 09:24:00 pm »
Hey Meridian, do you know offhand what version of the yaml library you're using?  Or, could you post the output from listing the package in an Ubuntu terminal, using a command like

Code: [Select]
dpkg -l | grep libyaml

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #24 on: June 10, 2016, 09:40:52 pm »
Version I use to compile the Windows binary is the one from the master branch (definitely after v0.5.3, already without boost), checked out from github on March 28th 2016.
Commit ID: 178c8d1f276afeec006e2c4e1dfa979c1f9d2a3c

As for the output of the command you provided, see attached screenshot.
« Last Edit: June 10, 2016, 09:49:28 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #25 on: June 10, 2016, 10:11:34 pm »
Hmm, I just clicked on that system update message you see above... tried to update the system... and the system didn't survive it.
I get until login screen and after that just blackness and mouse cursor... can't do anything at all.
Any ideas?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #26 on: June 10, 2016, 11:15:40 pm »
Those are the same version of the yaml library that I have, although you have the 32-bit ones (i386).  @buenaventura, what do you get as output from the same command?  Did you install the dev version before compiling (libyaml-cpp-dev)?

As for the system update, I haven't ever run a linux system as a virtual machine, and I don't have any experience with Kubuntu, so... somebody else got an idea?

Edit:  @Meridian, wait, try pressing Ctl+Alt+F1 when you get to the mouse cursor?  That should bring up terminal-style input/output without the graphical desktop environment, it may help you troubleshoot from there.  After that, google's knowledge is better than mine at fixing this one.
« Last Edit: June 10, 2016, 11:18:31 pm by ohartenstein23 »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8631
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #27 on: June 10, 2016, 11:22:29 pm »
Yeah, no need for ideas anymore I think... I tried to repair it, but now I get just a few hexadecimal octets at start without command prompt, login screen or anything interactive. It's dead. RIP.

This means I won't be releasing new versions for a few weeks (unless I ask someone else to compile), until I will have time and nerves to reinstall everything again.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #28 on: June 10, 2016, 11:26:10 pm »
Ouch, time to add Meridian's Kubuntu virtual box to the memorial wall.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Segmentation fault (core dumped) on starting
« Reply #29 on: June 11, 2016, 12:41:34 am »
If you'd like, I could compile for 64-bit Ubuntu distribution, but you'd probably have to find somebody else for 32-bit... @buenaventura, have you got it to work yet on your system?