Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • solarus solarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Solarus Games
  • solarussolarus
  • Issues
  • #26

Closed
Open
Created Apr 16, 2012 by Christopho@christophoOwner

Segfaults with dialogs

Created by: christopho

(Bug report from Julien.)

I'm running on Arch64.

I have encountered some segmentation faults which crashed the game. Here is what I got with gdb :

(gdb) run Starting program: /usr/bin/solarus [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [New Thread 0x7ffff1a00700 (LWP 1509)] [Thread 0x7ffff1a00700 (LWP 1509) exited] [New Thread 0x7ffff1a00700 (LWP 1510)] [New Thread 0x7fffed1fe700 (LWP 1511)]

Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6736bd8 in std::basic_string<char, std::char_traits, std::allocator >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6 (gdb) bt #0 0x00007ffff6736bd8 in std::basic_string<char, std::char_traits, std::allocator >::basic_string(std::string const&) ()

from /usr/lib/libstdc++.so.6 #1 0x00000000004c78f9 in TextSurface::add_char(char) () #2 0x0000000000507bc8 in DialogBox::add_character() () #3 0x000000000050823c in DialogBox::show_all_now() () #4 0x000000000050af2a in GameControls::key_pressed(InputEvent::KeyboardKey) () #5 0x0000000000511d5f in GameControls::notify_event(InputEvent&) () #6 0x0000000000450c0e in Solarus::main_loop() () #7 0x000000000044d78e in main ()

It happened only during dialogs but it randomly appears (at the beginning, or inside the cave... only when there is dialogs)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking