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

Exceptions make the REPL segfault #1778

Closed
p6rt opened this issue May 23, 2010 · 2 comments
Closed

Exceptions make the REPL segfault #1778

p6rt opened this issue May 23, 2010 · 2 comments

Comments

@p6rt
Copy link

p6rt commented May 23, 2010

Migrated from rt.perl.org#75292 (status was 'resolved')

Searchable as RT75292$

@p6rt
Copy link
Author

p6rt commented May 23, 2010

From @moritz

Everything that produces an exception (doesn't matter if compile time or
run time) makes the REPL segfault

For example​:

foo
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f9c06b7f6f0 (LWP 499)]
0x00007f9c06607b62 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x3122720) at src/gc/api.c​:181
181 VTABLE_mark(interp, obj);

backtrace​:

#​0 0x00007f9c06607b62 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x3122720) at src/gc/api.c​:181
#​1 0x00007f9c066524f8 in Parrot_Exception_mark (interp=0x2c93010,
  _self=<value optimized out>) at ./src/pmc/exception.pmc​:160
#​2 0x00007f9c06607b68 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x31227e0) at src/gc/api.c​:181
#​3 0x00007f9c0668b4d7 in Parrot_CallContext_mark (interp=0x2c93010,
  _self=0x3122040) at ./src/pmc/callcontext.pmc​:349
#​4 0x00007f9c06607b68 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x3122040) at src/gc/api.c​:181
#​5 0x00007f9c06607b68 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x3121b60) at src/gc/api.c​:181
#​6 0x00007f9c0668b4d7 in Parrot_CallContext_mark (interp=0x2c93010,
  _self=0x3120f40) at ./src/pmc/callcontext.pmc​:349
#​7 0x00007f9c06607b68 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x3120f40) at src/gc/api.c​:181
#​8 0x00007f9c06607b68 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x3120ac0) at src/gc/api.c​:181
#​9 0x00007f9c0668b4d7 in Parrot_CallContext_mark (interp=0x2c93010,
  _self=0x311ff40) at ./src/pmc/callcontext.pmc​:349
#​10 0x00007f9c06607b68 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,
  obj=0x311ff40) at src/gc/api.c​:181
#​11 0x00007f9c06607b68 in Parrot_gc_mark_PMC_alive_fun (interp=0x2c93010,

and so on, recursively

Cheers,
Mooritz

@p6rt
Copy link
Author

p6rt commented Jun 10, 2010

@moritz - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jun 10, 2010
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