Load GTK package crash

Project:GNU Smalltalk
Component:VM
Category:bug
Priority:normal
Assigned:Unassigned
Status:fixed
Description

Loading GTK binding in master branch
produces a crash :

"Global garbage collection... done"
Loading package GLib
Loading package Cairo
Loading package GTK
/usr/local/share/smalltalk/GTK.star#VFS.ZipFile/Funcs.st:20: Aborted
Segmentation fault

and the stack trace :

  1. 0 0x00007ffff6f05ba5 in raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
  2. 1 0x00007ffff6f096b0 in abort () at abort.c:92
  3. 2 0x00007ffff7b2fb95 in oldspace_sigsegv_handler (fault_address=0x8, serious=) at oop.c:942
  4. 3 0x00007ffff6ccfe6d in sigsegv_handler (sig=, sip=, ucp=0x6) at handler-unix.c:134
  5. 4
  6. 5 alloc_new_chunk (sendSelector=, sendArgs=, receiver=0x2ba975c2dc50, method_class=) at interp-bc.inl:177
  7. 6 alloc_stack_context (sendSelector=, sendArgs=, receiver=0x2ba975c2dc50, method_class=) at interp.c:835
  8. 7 activate_new_context (sendSelector=, sendArgs=, receiver=0x2ba975c2dc50, method_class=) at interp.c:858
  9. 8 _gst_send_message_internal (sendSelector=, sendArgs=, receiver=0x2ba975c2dc50, method_class=)

   at interp-bc.inl:306

  1. 9 0x00007ffff7b6ca07 in _gst_interpret (processOOP=0x2ba975cb44e0) at vm.def:645
  2. 10 0x00007ffff7b725b8 in _gst_nvmsg_send (receiver=0x0, sendSelector=0x2ba975cb4450, args=, sendArgs=0) at interp.c:2313
  3. 11 0x00007ffff7b2363a in _gst_execute_statements (receiverOOP=, method=, undeclared=,

   quiet=) at comp.c:583

  1. 12 0x00007ffff7b128e8 in execute_doit (p=0x7fffffffd2b0, temps=0x0, stmts=0x7513f0, receiverOOP=0x0, undeclared=, quiet=true) at gst-parse.c:605
  2. 13 0x00007ffff7b12c06 in make_attribute (p=0x7fffffffd2b0, classOOP=0x0, attribute_keywords=0x750e90) at gst-parse.c:807
  3. 14 0x00007ffff7b167c0 in parse_attribute (p=0x7fffffffd2b0, prev_attrs=0x0) at gst-parse.c:1481
  4. 15 parse_attributes (p=0x7fffffffd2b0, prev_attrs=0x0) at gst-parse.c:1460
  5. 16 0x00007ffff7b16f9c in parse_method (p=0x7fffffffd2b0, at_end=33) at gst-parse.c:1332
  6. 17 0x00007ffff7b1702f in parse_method_list (p=) at gst-parse.c:1307
  7. 18 0x00007ffff7b19028 in parse_chunks (p=) at gst-parse.c:485
  8. 19 0x00007ffff7b19320 in _gst_parse_chunks (currentNamespace=) at gst-parse.c:462
  9. 20 0x00007ffff7b19823 in _gst_parse_stream (currentNamespace=0x0) at lex.c:1208
  10. 21 0x00007ffff7b5b9f2 in parse_stream_with_protection (currentNamespace=) at interp.c:2828
  11. 22 0x00007ffff7b5baec in VMpr_Stream_fileInLine (id=, numArgs=4) at prims.def:5342
  12. 23 0x00007ffff7b57cb7 in execute_primitive_operation (primitive=225, numArgs=4) at interp.c:2741
  13. 24 0x00007ffff7b662c3 in _gst_send_message_internal (sendSelector=, sendArgs=4, receiver=0x2ba975cb2d10, method_class=)

   at interp-bc.inl:276

  1. 25 0x00007ffff7b69669 in _gst_interpret (processOOP=0x2ba975bc2350) at vm.def:645
  2. 26 0x00007ffff7b725b8 in _gst_nvmsg_send (receiver=0x2ba975bb6000, sendSelector=0x2ba975bc2190, args=, sendArgs=0) at interp.c:2313
  3. 27 0x00007ffff7b2363a in _gst_execute_statements (receiverOOP=, method=, undeclared=,

   quiet=) at comp.c:583

  1. 28 0x00007ffff7b128e8 in execute_doit (p=0x7fffffffdce0, temps=0x0, stmts=0x652630, receiverOOP=0x2ba975bb6000, undeclared=, quiet=false)

   at gst-parse.c:605

  1. 29 0x00007ffff7b187d6 in parse_doit (p=0x7fffffffdce0, fail_at_eof=) at gst-parse.c:647
  2. 30 0x00007ffff7b1901c in parse_chunks (p=) at gst-parse.c:487
  3. 31 0x00007ffff7b19320 in _gst_parse_chunks (currentNamespace=) at gst-parse.c:462
  4. 32 0x00007ffff7b19823 in _gst_parse_stream (currentNamespace=0x0) at lex.c:1208
  5. 33 0x00007ffff7b478b4 in _gst_process_stdin (prompt=0x4018c5 "st> ") at input.c:818
  6. 34 0x00000000004016ec in main (argc=, argv=0x7fffffffe088) at main.c:415

Updates

#1 submitted by Paolo Bonzini on Sat, 03/19/2011 - 16:05
Status:active» fixed

Fixed in d95df14.

User login