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

Right-click may cause segmentation fault #9

Open
yayachiken opened this issue Jan 28, 2022 · 0 comments
Open

Right-click may cause segmentation fault #9

yayachiken opened this issue Jan 28, 2022 · 0 comments

Comments

@yayachiken
Copy link

The game will crash with a segmentation fault on some screens when right-clicking.

So far I have found:

  • when right-clicking while on the "Planing" home screen (after entering the Planing mode but before entering the map.)

Backtrace:

Thread 1 "derclou" received signal SIGSEGV, Segmentation fault.
0x0000555555582311 in DrawMenu (menu=menu@entry=0x55555612e000, nr=nr@entry=255 '\377', mode=mode@entry=3) at present/interac.c:77
77		m1 = NODE_NAME(GetNthNode(menu, i));
(gdb) bt
#0  0x0000555555582311 in DrawMenu (menu=menu@entry=0x55555612e000, nr=nr@entry=255 '\377', mode=mode@entry=3) at present/interac.c:77
#1  0x0000555555582e06 in Menu (menu=menu@entry=0x55555612e000, possibility=possibility@entry=255, activ=activ@entry=255 '\377', func=func@entry=0x0, waitTime=waitTime@entry=0) at present/interac.c:206
#2  0x0000555555575c7b in tcOrganisation () at organisa/organisa.c:188
#3  0x0000555555561e82 in StdHandle (choice=choice@entry=32) at gameplay/gp_app.c:461
#4  0x0000555555562bd4 in StdDone () at gameplay/gp_app.c:542
#5  0x00005555555652e4 in PlayStory () at gameplay/gp.c:246
#6  0x0000555555556ae3 in tcDo () at base/base.c:552
#7  main (argc=<optimized out>, argv=<optimized out>) at base/base.c:700
  • when right-clicking when in a scene and having the selector menu open which offers you a place to go.

Backtrace:

Thread 1 "derclou" received signal SIGSEGV, Segmentation fault.
0x000055555558bfe1 in Go (succ=0x5555561399e0) at scenes/scenes.c:116
116		succ_eventnr =
(gdb) bt
#0  0x000055555558bfe1 in Go (succ=0x5555561399e0) at scenes/scenes.c:116
#1  0x0000555555561bd9 in StdHandle (choice=choice@entry=1) at gameplay/gp_app.c:375
#2  0x0000555555562bd4 in StdDone () at gameplay/gp_app.c:542
#3  0x00005555555652e4 in PlayStory () at gameplay/gp.c:246
#4  0x0000555555556ae3 in tcDo () at base/base.c:552
#5  main (argc=<optimized out>, argv=<optimized out>) at base/base.c:700
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

1 participant