Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault on settlements #53

Open
snev42 opened this issue Mar 7, 2016 · 2 comments
Open

Segmentation Fault on settlements #53

snev42 opened this issue Mar 7, 2016 · 2 comments

Comments

@snev42
Copy link

snev42 commented Mar 7, 2016

Hi.
First of all thanks for your amazing PypPiboyApp. I love it.

I'm experiencing Crashes randomly in settlements.
I couldn't identify what caused the issue.
I thought at first that it occured while in worshop edtion mode, but it also happened while just being in a settlement.

Running on Windows 7 X64.
The issue occured both with the included PyPipBoyApp-Launcher.exe and while launching pypipboyapp.py with my installed Python 3.4.4 X64 / QT 5.5.1 X64

here's the log lines at the crashtime:
-first part is the initialization (maybe it could be useful)

F1 2016-03-06 18:33:31,287 WARNING Faulthandler is enabled
launcherpath: C:\PyPipboyApp-Win32\PyPipBoyApp-Launcher.exe
F1 2016-03-06 18:33:31,398 DEBUG Tyring to add style "akPip-Green"
F1 2016-03-06 18:33:31,398 INFO Added style "akPip-Green"
F1 2016-03-06 18:33:31,398 DEBUG Tyring to add style "qdarkstyle"
F1 2016-03-06 18:33:31,399 INFO Added style "qdarkstyle"
F1 2016-03-06 18:33:31,403 DEBUG Tyring to load widget "ammocount"
F1 2016-03-06 18:33:31,411 DEBUG Found info module
F1 2016-03-06 18:33:31,416 INFO Successfully loaded widget "ammocount"
F1 2016-03-06 18:33:31,416 DEBUG Tyring to load widget "autodoc"
F1 2016-03-06 18:33:31,420 DEBUG Found info module
F1 2016-03-06 18:33:31,424 INFO Successfully loaded widget "autodoc"
F1 2016-03-06 18:33:31,424 DEBUG Tyring to load widget "databrowser"
F1 2016-03-06 18:33:31,427 DEBUG Found info module
F1 2016-03-06 18:33:31,429 INFO Successfully loaded widget "databrowser"
F1 2016-03-06 18:33:31,430 DEBUG Tyring to load widget "dataupdatelogger"
F1 2016-03-06 18:33:31,432 DEBUG Found info module
F1 2016-03-06 18:33:31,435 INFO Successfully loaded widget "dataupdatelogger"
F1 2016-03-06 18:33:31,435 DEBUG Tyring to load widget "datetime"
F1 2016-03-06 18:33:31,438 DEBUG Found info module
F1 2016-03-06 18:33:31,446 INFO Successfully loaded widget "datetime"
F1 2016-03-06 18:33:31,446 DEBUG Tyring to load widget "doctorsbag"
F1 2016-03-06 18:33:31,449 DEBUG Found info module
F1 2016-03-06 18:33:31,453 INFO Successfully loaded widget "doctorsbag"
F1 2016-03-06 18:33:31,454 DEBUG Tyring to load widget "effects"
F1 2016-03-06 18:33:31,457 DEBUG Found info module
F1 2016-03-06 18:33:31,461 INFO Successfully loaded widget "effects"
F1 2016-03-06 18:33:31,461 DEBUG Tyring to load widget "equippedandgrenades"
F1 2016-03-06 18:33:31,463 DEBUG Found info module
F1 2016-03-06 18:33:31,468 INFO Successfully loaded widget "equippedandgrenades"
F1 2016-03-06 18:33:31,468 DEBUG Tyring to load widget "gamestats"
F1 2016-03-06 18:33:31,471 DEBUG Found info module
F1 2016-03-06 18:33:31,475 INFO Successfully loaded widget "gamestats"
F1 2016-03-06 18:33:31,475 DEBUG Tyring to load widget "hotkeys"
F1 2016-03-06 18:33:31,477 DEBUG Found info module
F1 2016-03-06 18:33:31,495 INFO Successfully loaded widget "hotkeys"
F1 2016-03-06 18:33:31,495 DEBUG Tyring to load widget "inventorybrowser"
F1 2016-03-06 18:33:31,500 DEBUG Found info module
F1 2016-03-06 18:33:31,506 INFO Successfully loaded widget "inventorybrowser"
F1 2016-03-06 18:33:31,506 DEBUG Tyring to load widget "locationbrowser"
F1 2016-03-06 18:33:31,508 DEBUG Found info module
F1 2016-03-06 18:33:31,514 INFO Successfully loaded widget "locationbrowser"
F1 2016-03-06 18:33:31,514 DEBUG Tyring to load widget "map"
F1 2016-03-06 18:33:31,534 DEBUG Found info module
F1 2016-03-06 18:33:31,546 INFO Successfully loaded widget "map"
F1 2016-03-06 18:33:31,546 DEBUG Tyring to load widget "perks"
F1 2016-03-06 18:33:31,549 DEBUG Found info module
F1 2016-03-06 18:33:31,555 INFO Successfully loaded widget "perks"
F1 2016-03-06 18:33:31,555 DEBUG Tyring to load widget "playerinfo"
F1 2016-03-06 18:33:31,559 DEBUG Found info module
F1 2016-03-06 18:33:31,581 INFO Successfully loaded widget "playerinfo"
F1 2016-03-06 18:33:31,581 DEBUG Tyring to load widget "playerstats"
F1 2016-03-06 18:33:31,587 DEBUG Found info module
F1 2016-03-06 18:33:31,615 INFO Successfully loaded widget "playerstats"
F1 2016-03-06 18:33:31,616 DEBUG Tyring to load widget "quests"
F1 2016-03-06 18:33:31,619 DEBUG Found info module
F1 2016-03-06 18:33:31,626 INFO Successfully loaded widget "quests"
F1 2016-03-06 18:33:31,626 DEBUG Tyring to load widget "quickaid"
F1 2016-03-06 18:33:31,629 DEBUG Found info module
F1 2016-03-06 18:33:31,633 INFO Successfully loaded widget "quickaid"
F1 2016-03-06 18:33:31,633 DEBUG Tyring to load widget "radio"
F1 2016-03-06 18:33:31,637 DEBUG Found info module
F1 2016-03-06 18:33:31,642 INFO Successfully loaded widget "radio"
F1 2016-03-06 18:33:31,642 DEBUG Tyring to load widget "smallplayerinfo"
F1 2016-03-06 18:33:31,645 DEBUG Found info module
F1 2016-03-06 18:33:31,654 INFO Successfully loaded widget "smallplayerinfo"
F1 2016-03-06 18:33:31,655 DEBUG Tyring to load widget "workshops"
F1 2016-03-06 18:33:31,659 DEBUG Found info module
F1 2016-03-06 18:33:31,676 INFO Successfully loaded widget "workshops"
F1 2016-03-06 18:33:31,749 INFO Loading CollectableMarkers from JSON
F1 2016-03-06 18:33:41,546 INFO Connecting to host 192.168.0.100:27000 Retry=False
F1 2016-03-06 18:33:41,552 DEBUG Connect to Host Thread started
F1 2016-03-06 18:33:41,555 INFO Successfully connected to 192.168.0.100:27000.
F1 2016-03-06 18:33:41,555 INFO Host Version: 1.4.132.0.
F1 2016-03-06 18:33:41,556 INFO Host Language: fr.
F1 2016-03-06 18:33:41,556 INFO Connection State Changed: True - 0 - 
F1 2016-03-06 18:33:41,556 DEBUG Starting receive thread.
F1 2016-03-06 18:33:41,556 DEBUG Connect to Host Thread finished
F1 2016-03-06 18:33:41,556 DEBUG Starting dispatch thread.

-second part are the loglines at the moment of the crash.

F1 2016-03-06 18:41:35,964 DEBUG Dispatching message with type 3 and size 72
Fatal Python error: Segmentation fault

Thread 0x00001ad0 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\widgets\workshops\workshopsmodel.py", line 30 in _onPipWorkshopsUpdated
  File "C:\PyPipboyApp-Win32\pypipboyapp\pypipboy\datamanager.py", line 115 in _fireValueUpdatedEvent
  File "C:\PyPipboyApp-Win32\python34\lib\logging\__init__.py", line 1493 in callHandlers
  File "C:\PyPipboyApp-Win32\python34\lib\logging\__init__.py", line 856 in handle
  File "C:\PyPipboyApp-Win32\pypipboyapp\pypipboy\datamanager.py", line 126 in _fireValueUpdatedEvent

Thread 0x00002080 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\pypipboy\network.py", line 248 in _receiveMessageLoop
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 868 in run
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 920 in _bootstrap_inner
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 888 in _bootstrap

Thread 0x000006d4 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\widgets\hotkeys\hotkeys.py", line 731 in listener
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 868 in run
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 920 in _bootstrap_inner
  File "C:\PyPipboyApp-Win32\python34\lib\threading.py", line 888 in _bootstrap

Current thread 0x00001f54 (most recent call first):
  File "C:\PyPipboyApp-Win32\pypipboyapp\widgets\workshops\workshopsmodel.py", line 39 in _slotWorkshopsUpdate
  File "pypipboyapp.py", line 235 in run
  File "pypipboyapp.py", line 817 in <module>
F1 2016-03-06 18:41:35,970 DEBUG Received message with type 3 and size 27.

Thanks.

@snev42 snev42 changed the title Segmentation Fault on Workshop edit mode Segmentation Fault on settlements Mar 7, 2016
@matzman666
Copy link
Owner

Thx for the bug report.

The crashes are most likely caused by some race conditions. I thought to have removed all of these race conditions, but apparently there are still some left.

@snev42
Copy link
Author

snev42 commented Mar 11, 2016

Thanks for the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants