Segmentation fault at random times

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

Segmentation fault at random times

by ADFENO » Tue Oct 08, 2013 01:58

Hi all,

First, I want to apologize for being inactive for so long.

Actually, this issue is getting me crazy since May, I just got time to work on, or to report it, now.

It's actually simple, but yet very annoying. The game just has a segmentation fault at random times, and closes.

Question: Is the problem reproducible?
Answer: I don't know exactly, my best bet so far is that it tends to give a segmentation fault at random times. Sometimes, it takes hours. Perhaps this issue has something related to the water, see third addendum.

Question: What is your operating system:
Answer: GNU+Linux Trisquel 6.0 (Toutatis) 32-bit, a free distribution (accepted by the FSF) based on Ubuntu 12.04 (Precise Pangolin).

Question: What is your version of Minetest?
Answer: 0.4.7.

Question: What game do you use? (e.g. minetest_game, MiniTest, dwarves)
Answer: minetest_game.

OK, so here they are, the debug log (with a verbosity level of 4), plus some logs and outputs from useful commands.

Ah! I almost forgot to tell you about the installation method used:

To install it, I downloaded the file from Launchpad [1] and used GDebi to install it. According to GDebi, all dependencies were satisfied.

Best regards, ADFENO.
Have a nice day.

First addendum:
I already tried the game by compiling it from source (I think it was between May and July), I don't remember if the compiling dependencies were all satisfied, but it gave me some warnings (without stopping the compilation from being made), and the resulting build (compiled to run in place at that time) also had a segmentation fault at random times.
End of the first addendum.

Second addendum:
Please don't tell me to change module parameters or to add repositories to my sources list. My operating system is stable enough nowadays just with its default sources list, and I prefer it this way.
End of the second addendum.

Third addendum:
Last time it gave me a segmentation fault, I was near a cave flooded by water, walking above some blocks of gravel. The water level wasn't so high (at least in the sections I explored) but perhaps this issue has something related to it (I'm just guessing, not affirming).
End of the third addendum.

Fourth addendum: Sorry, but due to the limitations of the message length, I couldn't post the contents of the debug file, the outputs of the promissed commands, and the content of the Xorg.0.log file, but if you want some, just ask, and I'll send by e-mail. This is what I have so far:
- debug.txt (with a verbosity level of 4).
- HardInfo report (HTML).
- Output of dmesg (until the time of this topic).
- Output of glxinfo.
- Output of lspci.
- Output of lsusb.
- Output of sudo lshw.
- Output of uname -a.
- Xorg.0.log.
End of the fourth addendum.

[1] https://code.launchpad.net/~minetestdevs/+archive/stable/+build/4648168
Last edited by ADFENO on Tue Oct 08, 2013 02:43, edited 1 time in total.
Automatic signature:
– User page at LibrePlanet.org wiki: https://libreplanet.org/wiki/User:Adfeno
– Please do not send me Microsoft Office or Apple iWork documents. Instead, send OpenDocument documents! http://fsf.org/campaigns/opendocument/
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Oct 08, 2013 08:01

Dont you know? This is a design feature, not a bug!
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

by paramat » Tue Oct 08, 2013 09:31

I used to get this very often in 0.4.3 and 0.4.4, no error message just seg fault and game shuts down, sometimes every few minutes. When i upgraded to 0.4.7 it disappeared. It happened in the 0ppa1-i386.deb installed packages on my Ubuntu system.
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Oct 08, 2013 11:53

ADFENO wrote:just ask, and I'll send by e-mail.

Heard of pastebins?
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Oct 08, 2013 14:58

sfan5 wrote:
ADFENO wrote:just ask, and I'll send by e-mail.

Heard of pastebins?

Or post them here in the code tags (see BBCode help).
 

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

by ADFENO » Tue Oct 08, 2013 15:04

sfan5 wrote:
ADFENO wrote:just ask, and I'll send by e-mail.

Heard of pastebins?


I tried to use Pastebin, but I run into another size limitation, so I decided to use WOOF (Web Offer One File) [1], a script written in Python which has the simple purpose of serving a file through the Internet.

As long as my connection lives with the same address, you all can download the files.

Short address: 201.34.175.22:8080

Full address: 201.34.175.22:8080/Minetest%20segmentation%20fault%20-%20useful%20outputs%20and%20files.zip

Real file name: Minetest%20segmentation%20fault%20-%20useful%20outputs%20and%20files.zip

Friendly file name: Minetest segmentation fault - useful outputs and files.zip

SHA512 of the file: 03a5df1b197469a7355bfe1bb2c4c7eba7ff41d189c985d61eb48e45ec9bb6d2ba21119b4e4430e86817c364dbda663ccdc8e3b8eec95e5876d60de3b105e34e

I believe that people around here are polite enough not to attempt an attack against a single user's computer. And I'd be very grateful if you all collaborate.

Best regards, ADFENO.
Have a nice day.

Addendum: For those worried about the security of the Tor network, I'm not using it with this connection (but that doesn't mean I am not using it to other connections).

[1] http://directory.fsf.org/wiki/Woof_%28Web_Offer_One_File%29
Automatic signature:
– User page at LibrePlanet.org wiki: https://libreplanet.org/wiki/User:Adfeno
– Please do not send me Microsoft Office or Apple iWork documents. Instead, send OpenDocument documents! http://fsf.org/campaigns/opendocument/
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Oct 08, 2013 15:09

ADFENO wrote:For those worried about the security of the Tor network

????

Oh, you can also just use an upload service

Edit:
You may want to check your libc

[199679.002666] minetest[12647]: segfault at a2b00000 ip b71e306c sp bfef3118 error 4 in libc-2.15.so[b70a9000+1a3000]
Last edited by sfan5 on Tue Oct 08, 2013 15:10, edited 1 time in total.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Oct 08, 2013 15:10

I just looked through debug.txt and dont find anything suspicious.
gdb and a debug build would probably help.
 

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

by ADFENO » Tue Oct 08, 2013 18:41

PilzAdam wrote:I just looked through debug.txt and dont find anything suspicious.
gdb and a debug build would probably help.


So now we I brought some news.

I compiled the latest release of Minetest as a debug run-in-place build, and before someone asks, all compiling dependencies were satisfied.

I added output from Cmake, Make, and GDB (see first addendum) to the ZIP file containing the other command outputs and file contents. I also organized the files a little more.

You just have to download the ZIP file again.

Short address: 201.67.209.231:8080

Full address: 201.67.209.231:8080/Minetest%20segmentation%20fault%20-%20useful%20outputs%20and%20files.zip

Real file name: Minetest%20segmentation%20fault%20-%20useful%20outputs%20and%20files.zip

Friendly file name: Minetest segmentation fault - useful outputs and files.zip

SHA512 of the file: 27b2b78925a8da7d208e4087ab76498189fef90ed0d4fb7b7fdb864aa2cd076d53d90fc04b7b340194eff516b7576b905aeee6519150e087c7c423d3b88a8cba

Best regards, ADFENO.
Have a nice day.

First addendum: While using the debug build, I only ran the run command to run Minetest; and after it gave me the segmentation fault, I ran the where command. Sorry if I did something wrong, I'm new to debugging.
End of first addendum.

Second addendum: Sorry, I forgot to set the debug log level to 4 in the configuration file of the debug build, but I personally think this is not need because I already used GDB.
End of second addendum.
Automatic signature:
– User page at LibrePlanet.org wiki: https://libreplanet.org/wiki/User:Adfeno
– Please do not send me Microsoft Office or Apple iWork documents. Instead, send OpenDocument documents! http://fsf.org/campaigns/opendocument/
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Oct 08, 2013 18:51

Hmmm.... have you tried changing the drivers (e.g. use the proprietary ones)?
 

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

by ADFENO » Tue Oct 08, 2013 19:43

PilzAdam wrote:Hmmm.... have you tried changing the drivers (e.g. use the proprietary ones)?


If possible, I would like to leave it as a last bet. Sorry.

Best regards, ADFENO.
Have a nice day.
Automatic signature:
– User page at LibrePlanet.org wiki: https://libreplanet.org/wiki/User:Adfeno
– Please do not send me Microsoft Office or Apple iWork documents. Instead, send OpenDocument documents! http://fsf.org/campaigns/opendocument/
 

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

by ADFENO » Wed Oct 09, 2013 12:43

Sorry, I had to turn off the Internet. The public organization responsible for generating and maintaining the electricity of the city which I live had to fix some streetlights.

Short address: 201.67.202.9:8080

Full address: 201.67.202.9:8080/Minetest%20segmentation%20fault%20-%20useful%20outputs%20and%20files.zip

Real file name: Minetest%20segmentation%20fault%20-%20useful%20outputs%20and%20files.zip

Friendly file name: Minetest segmentation fault - useful outputs and files.zip

SHA512 of the file: 27b2b78925a8da7d208e4087ab76498189fef90ed0d4fb7b7fdb864aa2cd076d53d90fc04b7b340194eff516b7576b905aeee6519150e087c7c423d3b88a8cba

Best regards, ADFENO.
Have a nice day.
Automatic signature:
– User page at LibrePlanet.org wiki: https://libreplanet.org/wiki/User:Adfeno
– Please do not send me Microsoft Office or Apple iWork documents. Instead, send OpenDocument documents! http://fsf.org/campaigns/opendocument/
 

User avatar
ADFENO
New member
 
Posts: 9
Joined: Wed Jan 02, 2013 14:58
IRC: ADFENO
In-game: AdonayFN

by ADFENO » Sun Oct 20, 2013 14:28

Sorry for the delay, I had to close the temporary file server.

Since there's no more activity around, I think the temporary file server isn't needed anymore (also because I deleted the logs and stuff some days ago, but I can get new ones if you wish. :D).

Sorry for sounding so rude, PilzAdam, but I really don't want to mess with my stable system (and I don't want to deviate from the free software enthusiasm which I have in my personal computer. :D).

Best regards, ADFENO.
Have a nice day.
Automatic signature:
– User page at LibrePlanet.org wiki: https://libreplanet.org/wiki/User:Adfeno
– Please do not send me Microsoft Office or Apple iWork documents. Instead, send OpenDocument documents! http://fsf.org/campaigns/opendocument/
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 7 guests

cron