Skip Menu |
Report information
Id: 125254
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: drforr [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: rakudo VM segfault
To: Rakudobug <rakudobug [...]>
From: drforr [...]
Date: Tue, 26 May 2015 21:41:00 +0200
Download (untitled) / with headers
text/plain 2.3k
The segfault obviously occurs in history_get_time(), but it can't be invoked consistently. There are other function calls in the 02-base.t file that segfault, but those are mostly commented out. If someone wants me to golf this down, let me know, but you should be able to just run 'lives-ok { $r.history_get_time() }'. I'm attaching the full .pm and .t files, as they're far too large, along with the backtrace from perl6-gdb-m. It's likely because I'm not calling a function that sets up history_get_time(), but apparently this bug needs to be tracked down. --cut here-- Reading symbols from /home/jgoff/.rakudobrew/moar-nom/install/bin/moar...(no debugging symbols found)...done. Starting program: /home/jgoff/.rakudobrew/moar-nom/install/bin/moar --execname=/home/jgoff/.rakudobrew/bin/../moar-nom/install/bin/perl6-gdb-m --libpath=/home/jgoff/.rakudobrew/moar-nom/install/share/nqp/lib --libpath=/home/jgoff/.rakudobrew/moar-nom/install/share/perl6/lib --libpath=/home/jgoff/.rakudobrew/moar-nom/install/share/perl6/runtime /home/jgoff/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm -Ilib t/02-base.t [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/". 1..15 ok 1 - add-history lives ok 2 - using-history lives ok 3 - history-get-history-state lives ok 4 - history-set-history-state lives ok 5 - add-history-time lives ok 6 - ok 7 - free-history-entry lives ok 8 - replace-history-entry lives ok 9 - ok 1 - history-is-stifled lives ok 2 - stifle-history lives ok 3 - unstifle-history lives 1..3 ok 10 - Stifling ok 11 - where-history lives ok 12 - current-history lives ok 13 - history-get lives Program received signal SIGSEGV, Segmentation fault. 0x00007ffff46ee878 in history_get_time () from /lib/x86_64-linux-gnu/ (gdb) bt #0 0x00007ffff46ee878 in history_get_time () from /lib/x86_64-linux-gnu/ #1 0x00007ffff79d0054 in dcCall_x64_sysv () from /home/jgoff/.rakudobrew/moar-nom/install/lib/ #2 0x0000000000603700 in ?? () #3 0x00007fffffffd300 in ?? () #4 0x00007ffff79cff8f in dc_callvm_call_x64 () from /home/jgoff/.rakudobrew/moar-nom/install/lib/ Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) --cut here--
text/x-perl 101.9k

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at