Skip to content

Instantly share code, notes, and snippets.

@larsfu
Created June 20, 2010 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsfu/446043 to your computer and use it in GitHub Desktop.
Save larsfu/446043 to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
0x00369dd1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff
) at vfprintf.c:1593
1593 process_string_arg (((struct printf_spec *) NULL));
(gdb) bt
#0 0x00369dd1 in _IO_vfprintf_internal (s=Cannot access memory at address 0xffffffff
) at vfprintf.c:1593
#1 0x0038ede0 in _IO_vsnprintf (string=0xbfffe244 "ERROR: couldn't register interface 'n", maxlen=<value optimized out>, format=0x80d2c00 "ERROR: couldn't register interface '%s'. interface already exists",
args=0xbffff258 "@") at vsnprintf.c:120
#2 0x0808ff82 in dbg_msg (sys=0x80d2bf7 "kernel", fmt=0x80d2c00 "ERROR: couldn't register interface '%s'. interface already exists") at src/base/system.c:100
#3 0x08081b1a in CKernel::RegisterInterfaceImpl (this=0x84312f8, pName=0x80cf0ea "demoplayer", pInterface=0x822370c) at src/engine/shared/kernel.cpp:57
#4 0x0809b121 in IKernel::RegisterInterface<IDemoPlayer> (this=0x84312f8, pInterface=0x822370c) at src/engine/kernel.h:50
#5 0x08099129 in CClient::RegisterInterfaces (this=0x821e8a0) at src/engine/client/client.cpp:1542
#6 0x0809a83c in main (argc=1, argv=0xbffff3b4) at src/engine/client/client.cpp:1972
@devi-alllipilli
Copy link

devi-alllipilli commented Aug 3, 2021

Hi, may i know the reason of segsegv at process_string_arg (((struct printf_spec *) NULL)); and the solution for it.. Thanks in advance

@larsfu
Copy link
Author

larsfu commented Aug 3, 2021

Hi! You do realize that this is an 11-year-old gist, right? I have absolutely no idea, what the problem was here, sorry...

@devi-alllipilli
Copy link

No problem..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment