1. Welcome to the Starbound support forums. Please check the support FAQs before posting: http://playstarbound.com/support

Closed "Not allowed to discard stack when locked" error

Discussion in 'Starbound Support' started by AntiStoned, Dec 22, 2014.

Thread Status:
Not open for further replies.
  1. AntiStoned

    AntiStoned Big Damn Hero

    Occasionally, my game crashes when I try doing stuff dealing with inventory.
    This shows up when it crashes.

    (InventoryException Not allowed to discard stack when locked.
    StarException::StarException(char*)
    PlayerInventory::discard swap()
    Player::discardSwap()
    _Function_handler<void (shared_ptr<Pane>),
    MainInterface::handleInteractAction(InteractAction)::[lambda(shared_pt
    r<Pane>)#1}>:: dismiss(shared_ptr<Pane>)
    PaneManager::sendInputEvent(shared_ptr<InputEvent>)
    MainINterface::handleInputEvent(shared_ptr<InputEvents>)
    ClientApplication::processInput(shared_ptr<InputEvent>)
    StarApplicationBase::handlePendingInput()
    StarApplicationBase::run()
    _SDL_main
    _console_main

    Are there solutions to prevent crashes such as this?
     
  2. This is an known issue and was posted in the Unstable Update post by Molly
     
  3. Dunto

    Dunto Guest

    Please describe specifically what you are doing right before this error occurs.

    Provide as much info as possible showing the error and steps you took so that someone else can reproduce it. This helps the devs narrow things down whenever they get to working on it.

    Edit: Ninja'ed :p
     
  4. AntiStoned

    AntiStoned Big Damn Hero

    I was using the inventory, I know it's inventory.
    This happened once when I was putting items in the storage, I was putting stacks of stones in the boxes.
    But then it crashed.
     
  5. Heartstrings

    Heartstrings Giant Laser Beams

    Usually this error happens during a moment of lag. If you pick up an item, lag starts to happen, you try to set the item down in a slot in a chest, then close your inventory before the lag period ends, this crash happens.
     
    Dunto and severedskullz like this.
  6. poboy

    poboy Void-Bound Voyager

    I was shift-clicking items into a chest on my ship and I got the same crash report. There wasn't any noticeable lag before or during this inventory operation.
     
  7. Romdream

    Romdream Scruffy Nerf-Herder

    Same error. Gonna contribute my log for great justice. For me this occured while just getting into the Floran party instance event. First I looted a crate and got 150 pixels. Then I looted a barrel and when I clicked the 50 pixels there I received the error.

    Start logging at: 2015-01-10 23:16:03.697
    [23:16:03.699] Info: Star::Root using bootstrap file 'C:\Games\steamapps\common\Starbound\win32\sbboot.config'
    [23:16:03.699] Info: Star::Root using storage directory 'C:\Games\steamapps\common\Starbound\storage_unstable'
    [23:16:03.699] Info: Preparing Star::Root...
    [23:16:03.700] Info: Loading Configuration with config file: 'starbound.config'
    [23:16:03.700] Info: Loading Star::Configuration from '.\../storage_unstable\starbound.config'
    [23:16:03.702] Info: Pre-loading Star::Root with 2 assets sources
    [23:16:03.703] Info: Loading Star::Assets from: '../assets/packed.pak'
    [23:16:03.712] Info: Loading Star::Assets from: '../assets/user'
    [23:16:03.943] Info: Done preparing Star::Root.
    [23:16:03.944] Info: Client version 'Beta v. Upbeat Giraffe - Update 1' Protocol: 662
    [23:16:03.944] Info: Initialized SDL
    [23:16:03.959] Info: Initialized SDL Video
    [23:16:03.969] Info: Initialized SDL Joystick
    [23:16:03.970] Info: Initialized SDL Sound
    [23:16:03.989] Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    [23:16:03.995] Info: Finishing loading Star::Root...
    [23:16:04.005] Info: Initializing SDL Window
    [23:16:04.443] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [23:16:05.045] Info: Created initial window 1920x1080
    [23:16:05.107] Info: Renderer initialized
    [23:16:05.108] Info: Renderer destroyed
    [23:16:05.108] Info: Initializing SDL Window
    [23:16:05.180] Info: Re-created window 1920x1080
    [23:16:05.198] Info: Renderer initialized
    [23:16:14.774] Info: Done loading Star::Root.
    [23:16:14.789] Info: Renderer destroyed
    [23:16:16.083] Info: Creating default Star::Configuration
    [23:16:16.098] Info: Renderer initialized
    [23:16:19.974] Info: Renderer destroyed
    [23:16:20.044] Info: Acquiring universe lock file
    [23:16:20.058] Info: UniverseServer: Loading world db for world -549582711:-246953423:-149926998:4:4
    [23:16:20.696] Info: UniverseServer: client connection made from local
    [23:16:20.731] Info: UniverseServer: Sending Handshake Challenge
    [23:16:20.736] Info: UniverseClient: Sending Handshake Response
    [23:16:20.743] Info: UniverseServer: Client 'Slicedancer' <1> (Fifo <0x109bc3c0>) connected
    [23:16:20.744] Info: UniverseServer: Loading ship world received from client <User: Slicedancer>
    [23:16:20.745] Warn: Recovering SimpleDatabase at device: <unnamed temp file>
    [23:16:20.758] Warn: Recovery finished
    [23:16:20.984] Info: Creating default Star::Configuration
    [23:16:21.213] Info: Renderer initialized
    [23:16:21.322] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png asset, using default.
    (AssetException) No such asset '/items/armors/biome/giantflowers/butterflywings/icons.png'
    [23:16:21.323] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png:back asset, using default.
    (AssetException) No associated frames file found for image '/items/armors/biome/giantflowers/butterflywings/icons.png' while resolving image frame '/items/armors/biome/giantflowers/butterflywings/icons.png:back'
    [23:16:21.855] Info: UniverseServer: Loading world db for world -549582712:-246953429:73904262:3
    [23:16:30.720] Info: UniverseServer: Shutting down world CelestialWorld:-549582711:-246953423:-149926998:4:4 due to inactivity
    [23:16:32.142] Info: UniverseServer: Shutting down world CelestialWorld:-549582712:-246953429:73904262:3 due to inactivity
    [23:16:56.275] Info: UniverseServer: Loading world db for world -549582712:-246953429:73904262:3
    [23:16:56.407] Info: Client received world stop packet, leaving: Removed
    [23:17:06.488] Info: UniverseServer: Shutting down world ClientShipWorld:398b71f797cd51ba34acaefb9fc66f1b due to inactivity
    [23:17:43.158] Error: Could not load /objects/generic/torch/default asset, using default.
    (AssetException) No such asset '/objects/generic/torch/default'
    [23:17:43.159] Error: Could not load /objects/generic/torch/default:default.off asset, using default.
    (AssetException) No associated frames file found for image '/objects/generic/torch/default' while resolving image frame '/objects/generic/torch/default:default.off'
    [23:53:43.256] Info: UniverseServer: Loading ship world received from client <User: Slicedancer>
    [23:53:43.260] Warn: Recovering SimpleDatabase at device: <unnamed temp file>
    [23:53:43.273] Warn: Recovery finished
    [23:53:43.920] Info: Client received world stop packet, leaving: Removed
    [23:53:53.969] Info: UniverseServer: Shutting down world CelestialWorld:-549582712:-246953429:73904262:3 due to inactivity
    [23:54:27.692] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [23:54:30.696] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [23:55:39.635] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png asset, using default.
    (AssetException) No such asset '/items/armors/biome/giantflowers/butterflywings/icons.png'
    [23:55:39.636] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png:back asset, using default.
    (AssetException) No associated frames file found for image '/items/armors/biome/giantflowers/butterflywings/icons.png' while resolving image frame '/items/armors/biome/giantflowers/butterflywings/icons.png:back'
    [23:59:41.717] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [00:01:10.055] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png asset, using default.
    (AssetException) No such asset '/items/armors/biome/giantflowers/butterflywings/icons.png'
    [00:01:10.055] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png:back asset, using default.
    (AssetException) No associated frames file found for image '/items/armors/biome/giantflowers/butterflywings/icons.png' while resolving image frame '/items/armors/biome/giantflowers/butterflywings/icons.png:back'
    [00:02:34.229] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [00:03:18.735] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [00:06:38.249] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [00:06:39.251] Info: Writing Star::Configuration to '.\../storage_unstable\starbound.config'
    [00:10:54.522] Error: Could not load /objects/floran/floranlight/default asset, using default.
    (AssetException) No such asset '/objects/floran/floranlight/default'
    [00:10:54.522] Error: Could not load /objects/floran/floranlight/default:default.off asset, using default.
    (AssetException) No associated frames file found for image '/objects/floran/floranlight/default' while resolving image frame '/objects/floran/floranlight/default:default.off'
    [00:11:26.438] Info: UniverseServer: Loading world db for world -549582711:-246953423:-149926998:4:4
    [00:11:26.636] Info: Client received world stop packet, leaving: Removed
    [00:11:36.702] Info: UniverseServer: Shutting down world ClientShipWorld:398b71f797cd51ba34acaefb9fc66f1b due to inactivity
    [00:12:05.022] Info: UniverseServer: Loading ship world received from client <User: Slicedancer>
    [00:12:05.026] Warn: Recovering SimpleDatabase at device: <unnamed temp file>
    [00:12:05.067] Warn: Recovery finished
    [00:12:06.169] Info: Client received world stop packet, leaving: Removed
    [00:12:16.153] Info: UniverseServer: Shutting down world CelestialWorld:-549582711:-246953423:-149926998:4:4 due to inactivity
    [00:12:22.213] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png asset, using default.
    (AssetException) No such asset '/items/armors/biome/giantflowers/butterflywings/icons.png'
    [00:12:22.214] Error: Could not load /items/armors/biome/giantflowers/butterflywings/icons.png:back asset, using default.
    (AssetException) No associated frames file found for image '/items/armors/biome/giantflowers/butterflywings/icons.png' while resolving image frame '/items/armors/biome/giantflowers/butterflywings/icons.png:back'
    [00:12:51.240] Info: UniverseServer: Creating mission world MissionWorldId:mission3-650b6f9c582c9c70102dc8f54c75989b
    [00:12:51.252] Info: Placing dungeon floranmission1
    [00:12:51.252] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.291] Info: Failed to place a dungeon at (1398, 1000)
    [00:12:51.291] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.316] Info: Failed to place a dungeon at (894, 1000)
    [00:12:51.316] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.341] Info: Failed to place a dungeon at (740, 1000)
    [00:12:51.341] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.366] Info: Failed to place a dungeon at (968, 1000)
    [00:12:51.366] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.391] Info: Failed to place a dungeon at (1859, 1000)
    [00:12:51.391] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.416] Info: Failed to place a dungeon at (774, 1000)
    [00:12:51.416] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.441] Info: Failed to place a dungeon at (1089, 1000)
    [00:12:51.441] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.466] Info: Failed to place a dungeon at (1031, 1000)
    [00:12:51.466] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.490] Info: Failed to place a dungeon at (1926, 1000)
    [00:12:51.490] Info: Generating dungeon floranmission1 (NOT FORCED)
    [00:12:51.784] Info: Placing dungeon at (79, 1000)
    [00:12:54.830] Warn: Failed to place dungeon object: plantcage3 direction: 0 position: (1051, 767)
    [00:12:55.028] Warn: Failed to place dungeon object: bonespike direction: 0 position: (518, 894)
    [00:12:55.051] Warn: Failed to place dungeon object: root5 direction: 0 position: (1041, 904)
    [00:12:55.053] Warn: Failed to place dungeon object: skulltorch direction: 0 position: (1178, 904)
    [00:12:55.056] Warn: Failed to place dungeon object: planturn1 direction: 1 position: (225, 908)
    [00:12:55.057] Warn: Failed to place dungeon object: planturn3 direction: 1 position: (241, 909)
    [00:12:55.093] Warn: Failed to place dungeon object: barrellarge direction: 0 position: (675, 919)
    [00:12:55.151] Warn: Failed to place dungeon object: root4 direction: 0 position: (768, 931)
    [00:12:55.206] Warn: Failed to place dungeon object: root3 direction: 0 position: (590, 948)
    [00:12:55.264] Warn: Failed to place dungeon object: root5 direction: 0 position: (901, 999)
    [00:12:55.293] Warn: Failed to place dungeon object: plantdoor1 direction: 0 position: (287, 1023)
    [00:12:55.482] Warn: Dungeon wire endpoint not found. (942, 866)
    [00:12:55.482] Warn: Dungeon wire endpoint not found. (942, 867)
    [00:12:55.482] Warn: Dungeon wire endpoint not found. (945, 866)
    [00:12:55.482] Warn: Dungeon wire endpoint not found. (945, 867)
    [00:12:55.482] Warn: Dungeon wire endpoint not found. (939, 866)
    [00:12:55.482] Warn: Dungeon wire endpoint not found. (939, 867)
    [00:12:55.483] Warn: Dungeon wire endpoint not found. (380, 927)
    [00:12:55.483] Warn: Dungeon wire endpoint not found. (890, 1001)
    [00:12:55.483] Warn: Dungeon wire endpoint not found. (890, 1002)
    [00:12:55.483] Warn: Dungeon wire endpoint not found. (895, 1001)
    [00:12:55.483] Warn: Dungeon wire endpoint not found. (895, 1002)
    [00:12:55.857] Info: Protected dungeonIds for world set to (0)
    [00:12:56.652] Info: Client received world stop packet, leaving: Removed
    [00:13:06.731] Info: UniverseServer: Shutting down world ClientShipWorld:398b71f797cd51ba34acaefb9fc66f1b due to inactivity
    [00:14:23.657] Info: UniverseClient: Client disconnecting...
    [00:14:23.673] Info: UniverseServer: Client 'Slicedancer' <1> (Fifo <0x109bc3c0>) disconnected
    [00:14:23.673] Info: Client received world stop packet, leaving: Removed
    [00:14:23.681] Info: NetSocket read loop shut down: (FifoClosedException) Fifo::read called on closed Fifo
    [00:14:23.681] Info: NetSocket read loop shut down: (FifoClosedException) Fifo::read called on closed Fifo
    [00:14:24.714] Info: Shutting down Star::Root
    [00:14:25.301] Error: Fatal Exception Caught: (InventoryException) Not allowed to discard stack when locked.
    StarException::StarException(char*)
    PlayerInventory::discardSwap()
    Player::discardSwap()
    _Function_handler<void (shared_ptr<Pane>), MainInterface::handleInteractAction(InteractAction)::{lambda(shared_ptr<Pane>)#1}>::(_Any_data, shared_ptr<Pane>)
    PaneManager::dismiss(shared_ptr<Pane>)
    PaneManager::sendInputEvent(shared_ptr<InputEvent>)
    MainInterface::handleInputEvent(shared_ptr<InputEvent>)
    ClientApplication::processInput(shared_ptr<InputEvent>)
    StarApplicationBase::handlePendingInput()
    StarApplicationBase::run()
    _SDL_main
    _console_main

     
    Torterenek likes this.
  8. Mr. Darkness

    Mr. Darkness Phantasmal Quasar

    I know this thread is somewhat frozen, but here is something:
    When that happens I am unable to launch the game again, it simply gives me this error again.

    EDIT: Apparently I just have to wait some time before launching again.
     
  9. Torterenek

    Torterenek Scruffy Nerf-Herder

    same situation happened to me. i thought it was fixed in the stable update...have they STILL not fixed the bug after so long?
     
  10. Riucario

    Riucario Intergalactic Tourist

    Yeah, this error happend twice to me so far. Always when shift-clicking items into boxes etc.
    The one thing tho that happend both times, I held an item with my cursor to put it into the container,
    then the game crashed and when i loaded the save up i still had that item in my "hand" (cursor) and it was in the box, aka cloning glitch.
     
  11. Alfador

    Alfador Void-Bound Voyager

    Stable branch, shift-clicking to grab a stack of pixels from a box in the "Floran Party" area, mashed Esc immediately after to close my inventory and the box, but it never closed. And I feel stupid for not screenshotting the error. >.<
     
  12. Bodenbender

    Bodenbender Space Hobo

    Sounds close to what happened to me.
    I'm still trying to figure it out, so far no luck.

    Error: Exception caught loading asset: /interface/tooltips/bow.tooltip, (AssetException) Could not read variant asset /interface/tooltips/bow.tooltip
    StarException::StarException(string, exception)
    AssetException::AssetException(string, exception)
    _Function_handler<shared_ptr<Assets::AssetData> (), Assets::loadVariant(String)::{lambda()#1}>::(_Any_data)

    And

    Error: Exception caught in client main-loop: (AssetException) Error loading asset /interface/tooltips/bow.tooltip
    AssetException::AssetException(string)
    Assets::getAsset(Assets::AssetId)
    Assets::variant(String)
    ItemTooltipBuilder::buildItemDescriptionInner(shared_ptr<Widget>, shared_ptr<Item>, String, String, String)
    ItemTooltipBuilder::buildItemTooltip(shared_ptr<Item>)
    InventoryPane::createTooltip(Vector<int, 2u>)
     
  13. Nerva

    Nerva Parsec Taste Tester

    This is a known bug.

    It occurs when attempting to close a container quickly after taking an item out or putting an item in, (usually via ESC), causing the container to close before the item is fully 'in place' inside it. Normally this is difficult to do, but in object-heavy areas where FPS drops, like decorated ships or structures on planets, it becomes more possible.

    I hear this is fixed on nightly, and will be pushed to stable on the next stable release. You can work around this in the meantime by making sure your cursor is clear and the item is in place before you hit ESC to close a container.
     
    Bodenbender likes this.
  14. Bodenbender

    Bodenbender Space Hobo

    Okay Thanks, I'll try that. I did notice my game crashed even when I just clicked once on a chest on my ship. :/
     
Thread Status:
Not open for further replies.

Share This Page