From: Andrew Walrond Date: 2005-04-24T18:46:32+09:00 Subject: Re: Illegal regexp causes segfault On Sunday 24 April 2005 03:59, H.Yamamoto wrote: > > Andrew, can you see us a backtrace? > > I don't have 64 bit machine, so it's a little hope for debuging. (gdb) set args -d -e 'a = /\[([^]]*)\]/' (gdb) run Starting program: /bin/ruby -d -e 'a = /\[([^]]*)\]/' [Thread debugging using libthread_db enabled] [New Thread 182902554640 (LWP 11073)] Program received signal SIGILL, Illegal instruction. [Switching to Thread 182902554640 (LWP 11073)] 0x0000000000488560 in warn_print () (gdb) bt #0 0x0000000000488560 in warn_print () #1 0x0000002a95d73620 in __malloc_initialize_hook () from /pkg/glibc.1/lib/libc.so.6 #2 0x0000000000000000 in ?? () #3 0x0000000000000000 in ?? () #4 0x0000000000000b91 in ?? () #5 0x0000002a95d73620 in __malloc_initialize_hook () from /pkg/glibc.1/lib/libc.so.6 #6 0x0000000000000000 in ?? () #7 0x0000000000636f2b in ?? () #8 0x00000000006370f0 in ?? () #9 0x0000002a95d73620 in __malloc_initialize_hook () from /pkg/glibc.1/lib/libc.so.6 #10 0x000000000000005b in ?? () #11 0xffffffffffffffe0 in ?? () #12 0x0000000000000050 in ?? () #13 0x0000002a95bac177 in realloc () from /pkg/glibc.1/lib/libc.so.6 #14 0x000000000042b442 in ruby_xrealloc () #15 0x00000000004603eb in ruby_re_compile_pattern () #16 0x000000000045ac3f in rb_reg_initialize () #17 0x000000000045af21 in rb_reg_new () #18 0x0000000000452a85 in ruby_yyparse () #19 0x000000000045469e in yycompile () #20 0x0000000000468e29 in proc_options () #21 0x0000000000469662 in ruby_process_options () #22 0x000000000041ca7e in ruby_options () #23 0x000000000040cf64 in main () (gdb)