Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947369 - Segfault in games-strategy/vcmi involving boost and gcc
Summary: Segfault in games-strategy/vcmi involving boost and gcc
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vadim A. Misbakh-Soloviov (mva) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 06:37 UTC by Michał Dec
Modified: 2025-01-06 03:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dec 2025-01-03 06:37:17 UTC
After installing games-strategy/vcmi-1.5.7::gamerlay I tried to launch it, but was met with a segfault. Reinstalling boost and its dependencies has not helped.

Reproducible: Always

Steps to Reproduce:
1. Install games-strategy/vcmi::gamerlay.
2. Configure the game. In my case, I'm using gamedata from Complete Edition from GoG.
3. Run the game.
Actual Results:  
Segmentation fault.

Expected Results:  
The game should start playing.

gdb backtrace:
Starting client of 'VCMI 1.5.7'
Creating console and configuring logger: 0 ms                                                                                                                                                                                                
The log file will be saved to "/home/mdec/.cache/vcmi/VCMI_Client_log.txt"                                                                                                                                                                   
        Initialization: 9 ms                                                                                                                                                                                                                 
        Data loading: 78 ms                                                                                                                                                                                                                  
        Mod handler: 3 ms                                                                                                                                                                                                                    
        Mod filesystems: 28 ms                                                                                                                                                                                                               
Initialized logging system based on settings successfully.                                                                                                                                                                                   
[log level] ai => not set                                                                                                                                                                                                                    
[log level] animation => not set                                                                                                                                                                                                             
[log level] bonus => not set                                                                                                                                                                                                                 
[log level] global => trace                                                                                                                                                                                                                  
[log level] mod => not set                                                                                                                                                                                                                   
[log level] network => not set                                                                                                                                                                                                               
[New Thread 0x7fffed29b6c0 (LWP 1916)]                                                                                                                                                                                                       
[New Thread 0x7fffe7fff6c0 (LWP 1917)]
[New Thread 0x7fffeca9a6c0 (LWP 1918)]
Found 4 render drivers
        opengl (active)                                                                                                                                                                                                                      
        opengles2                                                                                                                                                                                                                            
        opengles                                                                                                                                                                                                                             
        software                                                                                                                                                                                                                             
[New Thread 0x7fffe21ff6c0 (LWP 1939)]                                                                                                                                                                                                       
[New Thread 0x7fffe19fe6c0 (LWP 1940)]
[New Thread 0x7fffe11fd6c0 (LWP 1941)]
[New Thread 0x7fffe09fc6c0 (LWP 1942)]
[New Thread 0x7fffb3dff6c0 (LWP 1943)]
[New Thread 0x7fffb35fe6c0 (LWP 1944)]
[New Thread 0x7fffb2dfd6c0 (LWP 1945)]
[New Thread 0x7fffb25fc6c0 (LWP 1946)]
[New Thread 0x7fffb1dfb6c0 (LWP 1947)]
[Thread 0x7fffb1dfb6c0 (LWP 1947) exited]
[Thread 0x7fffb25fc6c0 (LWP 1946) exited]
[Thread 0x7fffb2dfd6c0 (LWP 1945) exited]
[New Thread 0x7fffb2dfd6c0 (LWP 1948)]
[New Thread 0x7fffb25fc6c0 (LWP 1949)]
[New Thread 0x7fffb1dfb6c0 (LWP 1950)]
Created renderer opengl
[New Thread 0x7fff9bfff6c0 (LWP 1951)]                                                                                                                                                                                                       
Starting network thread
        Initializing video: 367 ms                                                                                                                                                                                                           
[New Thread 0x7fff9b7fe6c0 (LWP 1952)]                                                                                                                                                                                                       
Initializing screen and sound handling: 3 ms
[New Thread 0x7fff9affd6c0 (LWP 1954)]                                                                                                                                                                                                       
                 Game Settings handler: 0 ms
                 General text handler: 10 ms                                                                                                                                                                                                 
                 Bonus type handler: 1 ms                                                                                                                                                                                                    
                 Road handler: 0 ms                                                                                                                                                                                                          
                 River handler: 0 ms                                                                                                                                                                                                         
                 Terrain handler: 0 ms                                                                                                                                                                                                       
                 Hero handler: 0 ms                                                                                                                                                                                                          
                 Hero classes handler: 0 ms                                                                                                                                                                                                  
                 Artifact handler: 0 ms                                                                                                                                                                                                      
                 Creature handler: 0 ms                                                                                                                                                                                                      
                 Town handler: 0 ms                                                                                                                                                                                                          
                 Obstacle set handler: 0 ms                                                                                                                                                                                                  
                 Object handler: 0 ms                                                                                                                                                                                                        
                 Object types information handler: 0 ms                                                                                                                                                                                      
                 Spell handler: 0 ms                                                                                                                                                                                                         
                 Skill handler: 0 ms                                                                                                                                                                                                         
                 Terrain view pattern handler: 1 ms                                                                                                                                                                                          
                 Template handler: 0 ms                                                                                                                                                                                                      
                 Battlefields handler: 0 ms                                                                                                                                                                                                  
                 Obstacles handler: 0 ms                                                                                                                                                                                                     
        Initializing handlers: 14 ms                                                                                                                                                                                                         
        Initializing content handler: 0 ms                                                                                                                                                                                                   
                                                                                                                                                                                                                                             
Thread 20 "initialize" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9affd6c0 (LWP 1954)]
0x00007ffff7630dd4 in __gnu_cxx::operator!=<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (__lhs=..., __rhs=...)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/stl_iterator.h:1235
1235        { return __lhs.base() != __rhs.base(); }
(gdb) bt
#0  0x00007ffff7630dd4 in __gnu_cxx::operator!=<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (__lhs=<optimized out>, __rhs=<optimized out>)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/stl_iterator.h:1235
#1  boost::io::detail::str2int<int, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::ctype<char> >
    (start=<optimized out>, last=<optimized out>, res=<optimized out>, fac=<optimized out>) at /usr/include/boost/format/parsing.hpp:77
#2  boost::io::detail::parse_printf_directive<char, std::char_traits<char>, std::allocator<char>, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::ctype<char> > (start=non-dereferenceable iterator for std::vector, last=80 'P', fpar=0x300, fac=..., offset=140735793840960, exceptions=136 '\210') at /usr/include/boost/format/parsing.hpp:141                                                      
#3  0x00007fff9affc220 in ??? ()
#4  0x00007fff9affc23e in ??? ()
#5  0x00007ffff5a57f0e in iconv_close (cd=<optimized out>) at iconv_close.c:34
#6  0x00007fff00000000 in ??? ()
#7  0x0000000000000000 in ??? ()