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

cgame, game, and ui modules dont work in pk3s #3

Closed
cmf028 opened this issue Feb 12, 2012 · 1 comment
Closed

cgame, game, and ui modules dont work in pk3s #3

cmf028 opened this issue Feb 12, 2012 · 1 comment

Comments

@cmf028
Copy link
Member

cmf028 commented Feb 12, 2012

Today's testing revealed that cgame, game and ui modules don't work in pk3s
This is a huge problem and needs to be fixed

@cmf028
Copy link
Member Author

cmf028 commented Mar 13, 2012

This seems to have been fixed

@cmf028 cmf028 closed this as completed Mar 13, 2012
a3s7p pushed a commit that referenced this issue Mar 21, 2012
Without this, a segfault looking like
  #0  0x0000000002046b78 in cvar_indexes ()
  #1  0x000000000044c85a in S_StopCapture ()
      at src/engine/client/snd_load.c:604
  #2  0x000000000043499f in CL_CaptureVoip ()
      at src/engine/client/cl_main.c:737
  #3  0x0000000000439b5d in CL_Frame (msec=200)
      at src/engine/client/cl_main.c:4087
  #4  0x0000000000475eb5 in Com_Frame ()
      at src/engine/qcommon/common.c:3844
  #5  0x00000000004517fa in main (argc=5, argv=0x7fffffffe0f8)
      at src/engine/sys/sys_main.c:970
will occur because se isn't properly initialised: if printed out in stack
frame 0, it's missing five pointers which would appear if printed out in
stack frame 1.
necessarily-equal added a commit to necessarily-equal/Unvanquished that referenced this issue Dec 6, 2022
This fixes an assertion error:

	]/bot fill 0
	][Detaching after fork from child process 387277]
	Warn: Assertion failure at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158 (operator->): "*this" is false
	]
	Thread 16 "daemon" received signal SIGTRAP, Trace/breakpoint trap.
	[Switching to Thread 0x7fff949ff640 (LWP 387175)]
	0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (this=<optimized out>) at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	158			ASSERT(*this);
	(gdb) ba
	#0  0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (
	    this=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	Unvanquished#1  RocketThink (self=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_weapon.cpp:712
	Unvanquished#2  0x00007fff8328fd19 in G_RunThink (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_main.cpp:2215
	Unvanquished#3  0x00007fff832a202b in G_RunMissile (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_missile.cpp:602
	Unvanquished#4  0x00007fff83291fb9 in G_RunFrame (levelTime=<optimized out>)
necessarily-equal added a commit to necessarily-equal/Unvanquished that referenced this issue Dec 6, 2022
This fixes an assertion error:

	]/bot fill 0
	][Detaching after fork from child process 387277]
	Warn: Assertion failure at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158 (operator->): "*this" is false
	]
	Thread 16 "daemon" received signal SIGTRAP, Trace/breakpoint trap.
	[Switching to Thread 0x7fff949ff640 (LWP 387175)]
	0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (this=<optimized out>) at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	158			ASSERT(*this);
	(gdb) ba
	#0  0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (
	    this=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	Unvanquished#1  RocketThink (self=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_weapon.cpp:712
	Unvanquished#2  0x00007fff8328fd19 in G_RunThink (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_main.cpp:2215
	Unvanquished#3  0x00007fff832a202b in G_RunMissile (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_missile.cpp:602
	Unvanquished#4  0x00007fff83291fb9 in G_RunFrame (levelTime=<optimized out>)
necessarily-equal added a commit to necessarily-equal/Unvanquished that referenced this issue Dec 11, 2022
This fixes an assertion error:

	]/bot fill 0
	][Detaching after fork from child process 387277]
	Warn: Assertion failure at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158 (operator->): "*this" is false
	]
	Thread 16 "daemon" received signal SIGTRAP, Trace/breakpoint trap.
	[Switching to Thread 0x7fff949ff640 (LWP 387175)]
	0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (this=<optimized out>) at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	158			ASSERT(*this);
	(gdb) ba
	#0  0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (
	    this=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	Unvanquished#1  RocketThink (self=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_weapon.cpp:712
	Unvanquished#2  0x00007fff8328fd19 in G_RunThink (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_main.cpp:2215
	Unvanquished#3  0x00007fff832a202b in G_RunMissile (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_missile.cpp:602
	Unvanquished#4  0x00007fff83291fb9 in G_RunFrame (levelTime=<optimized out>)
necessarily-equal added a commit that referenced this issue Dec 12, 2022
This fixes an assertion error:

	]/bot fill 0
	][Detaching after fork from child process 387277]
	Warn: Assertion failure at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158 (operator->): "*this" is false
	]
	Thread 16 "daemon" received signal SIGTRAP, Trace/breakpoint trap.
	[Switching to Thread 0x7fff949ff640 (LWP 387175)]
	0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (this=<optimized out>) at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	158			ASSERT(*this);
	(gdb) ba
	#0  0x00007fff832bddab in GentityRef_impl<gentity_t*>::operator-> (
	    this=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_struct.h:158
	#1  RocketThink (self=<optimized out>)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_weapon.cpp:712
	#2  0x00007fff8328fd19 in G_RunThink (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_main.cpp:2215
	#3  0x00007fff832a202b in G_RunMissile (ent=ent@entry=0x7fff777bfa40)
	    at /home/afontain/unv/Unvanquished/src/sgame/sg_missile.cpp:602
	#4  0x00007fff83291fb9 in G_RunFrame (levelTime=<optimized out>)
ghost pushed a commit that referenced this issue Apr 9, 2023
 Fix up files missing newlines at end of file
ghost pushed a commit that referenced this issue Apr 9, 2023
More verbose explanation of tile bounding box.
slipher pushed a commit to slipher/Unvanquished that referenced this issue Oct 14, 2023
slipher pushed a commit to slipher/Unvanquished that referenced this issue Oct 14, 2023
slipher pushed a commit to slipher/Unvanquished that referenced this issue Oct 16, 2023
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