Skip to content

Segmentation Fault when running on Manjaro with glibc 2.25-7 #15

@recyclojunk

Description

@recyclojunk

Firstly to get it to compile I had to remove the -Werror flag and remove the space in
(pthread_t)NULL; on line 216.

When I compile:

Usage: ./compile.sh [i386]
Add the i386 option to compile for 32-bit (i386) architectures on a 64-bit machine
Using sdl-config.
Converting built-in images to XPM format with imagemagick's 'mogrify' tool...
Converting other built-in files to .h file format with the xxd tool...
GNU/Linux detected.
Compiling...media.c: In function ‘get_image_from_file’:
media.c:292:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   g_print("Failed to pause the file\n");
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
media.c:294:2: note: here
  case GST_STATE_CHANGE_NO_PREROLL:
  ^~~~
done.
Now run the 3D File System Browser with ./3dfsb

When I run it however, I get a segmentation fault:

Reading /home/josh/.3dfsb ...                                                                                                                                                                                                                                                                                                
 * Read "20" for BallDetail                                                                                                                                                                                                                                                                                                  
 * Read "/" for StartDir                                                                                                                                                                                                                                                                                                     
 * Read "0" for MaxTexSize                                                                                                                                                                                                                                                                                                   
 * Read "1024" for WindowWidth                                                                                                                                                                                                                                                                                               
 * Read "768" for WindowHeight                                                                                                                                                                                                                                                                                               
 * Read "1024" for FullscreenWidth                                                                                                                                                                                                                                                                                           
 * Read "768" for FullscreenHeight                                                                                                                                                                                                                                                                                           
 * Read "0" for FullscreenDepth                                                                                                                                                                                                                                                                                              
 * Read "0.200000" for GridRed                                                                                                                                                                                                                                                                                               
 * Read "0.200000" for GridGreen                                                                                                                                                                                                                                                                                             
 * Read "0.600000" for GridBlue                                                                                                                                                                                                                                                                                              
 * Read "1" for ImageBricks                                                                                                                                                                                                                                                                                                  
 * Read "0" for ShowDotFiles                                                                                                                                                                                                                                                                                                 
 * Read "1" for AlphaSort                                                                                                                                                                                                                                                                                                    
 * Read "0.000000" for BGRed                                                                                                                                                                                                                                                                                                 
 * Read "0.000000" for BGGreen                                                                                                                                                                                                                                                                                               
 * Read "0.000000" for BGBlue                                                                                                                                                                                                                                                                                                
 * Read "1" for FullScreen                                                                                                                                                                                                                                                                                                   
 * Read "1" for ShowCrossHair                                                                                                                                                                                                                                                                                                
 * Read "0" for ShowGroundCross                                                                                                                                                                                                                                                                                              
 * Read "0" for ClassicNavigation                                                                                                                                                                                                                                                                                            
 * Read "1" for FlyingMode                                                                                                                                                                                                                                                                                                   
 * Read "0" for MaxFPS                                                                                                                                                                                                                                                                                                       
 * Read "2.000000" for MoveVelocity                                                                                                                                                                                                                                                                                          
 * Read "1.300000" for LookVelocity                                                                                                                                                                                                                                                                                          
 * Read "1.000000" for NameRed                                                                                                                                                                                                                                                                                               
 * Read "1.000000" for NameGreen                                                                                                                                                                                                                                                                                             
 * Read "1.000000" for NameBlue                                                                                                                                                                                                                                                                                              
 * Read "1" for LiftSteps                                                                                                                                                                                                                                                                                                    
 * Read "cd "%%s"; x-terminal-emulator &" for CustomExecuteString                                                                                                                                                                                                                                                            
 * Read "h" for KeyHelp                                                                                                                                                                                                                                                                                                      
 * Read "0" for KeyJumpHome                                                                                                                                                                                                                                                                                                  
 * Read "f" for KeyFullScreen                                                                                                                                                                                                                                                                                                
 * Read "." for KeyDotFilter                                                                                                                                                                                                                                                                                                 
 * Read "r" for KeyMouseRelease                                                                                                                                                                                                                                                                                              
 * Read "l" for KeyReload                                                                                                                                                                                                                                                                                                    
 * Read "u" for KeyCDup                                                                                                                                                                                                                                                                                                      
 * Read "b" for KeyImageBricks                                                                                                                                                                                                                                                                                               
 * Read "i" for KeyGLInfo                                                                                                                                                                                                                                                                                                    
 * Read "y" for KeyDisplay                                                                                                                                                                                                                                                                                                   
 * Read "c" for KeyCrossHair                                                                                                                                                                                                                                                                                                 
 * Read "p" for KeyFPS                                                                                                                                                                                                                                                                                                       
 * Read "g" for KeyGrndCross                                                                                                                                                                                                                                                                                                 
 * Read "m" for KeyShadeMode                                                                                                                                                                                                                                                                                                 
 * Read "t" for KeyFileNames                                                                                                                                                                                                                                                                                                 
 * Read "n" for KeyAlphaSort                                                                                                                                                                                                                                                                                                 
 * Read "o" for KeyClassicNav                                                                                                                                                                                                                                                                                                
 * Read "w" for KeyForward
 * Read "s" for KeyBackward
 * Read "1" for KeyUp
 * Read "3" for KeyDown
 * Read "a" for KeyLeft
 * Read "d" for KeyRight
 * Read "x" for KeySaveConfig
 * some values may be truncated later if out of range
------------------DIRECTORY /

(3dfsb:25764): GLib-CRITICAL **: g_async_queue_unref: assertion 'queue' failed
sh: line 0: kill: (996) - Operation not permitted
Sorting...
Loading: .. No match of /..
Loading: bin LINK: /bin -> usr/bin  mode: 0x21 No match of /usr/bin
Loading: boot No match of /boot
Loading: boot_backup2 No match of /boot_backup2
Loading: boot_backup3 No match of /boot_backup3
Loading: dev No match of /dev
Loading: etc No match of /etc
Loading: home No match of /home
Loading: kde-image-pkgs.txt Loading: kdeinit5__0 Loading: lib LINK: /lib -> usr/lib  mode: 0x21 No match of /usr/lib
Loading: lib64 LINK: /lib64 -> usr/lib  mode: 0x21 No match of /usr/lib
Loading: lost+found No match of /lost+found
Loading: media No match of /media
Loading: mnt No match of /mnt
Loading: opt No match of /opt
Loading: proc No match of /proc
Loading: root No match of /root
Loading: root-image-pkgs.txt Loading: run No match of /run
Loading: sbin LINK: /sbin -> usr/bin  mode: 0x21 No match of /usr/bin
Loading: srv No match of /srv
Loading: sys No match of /sys
Loading: tmp No match of /tmp
Loading: usr No match of /usr
Loading: var No match of /var
GRIDCELLSIZE: 2.946484|2.578106
Segmentation fault (core dumped)

Any ideas of what I might be able to try to get it to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions