[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/26162] New: crash while running pretty-printer
From: |
jose.marchesi at oracle dot com |
Subject: |
[Bug default/26162] New: crash while running pretty-printer |
Date: |
Tue, 23 Jun 2020 19:56:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26162
Bug ID: 26162
Summary: crash while running pretty-printer
Product: poke
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: default
Assignee: unassigned at sourceware dot org
Reporter: jose.marchesi at oracle dot com
CC: poke-devel at gnu dot org
Target Milestone: ---
Created attachment 12654
--> https://sourceware.org/bugzilla/attachment.cgi?id=12654&action=edit
gmo.pk
Report from Bruno Haible:
Hi,
poke crashes after executing a pretty-printing method that I defined.
Test case is attached.
How to reproduce:
* Either configure normally, and run
./libtool --mode=execute ./run gdb poke/poke
* Or configure with CFLAGS="-O0 -ggdb" CXXFLAGS="-O0 -ggdb" --disable-shared
and run
gdb poke/poke
Then
(gdb) run
...
Type ".exit" to leave the program.
(poke) .load gmo.pk
(poke) .file de.mo
(poke) the_gmo
gmo {magic=0x950412deU,le_variant=gmo_le_body {header=gmo_le_header
{revision=0x0U,nstrings=0x3U,orig_tab_offset=0x1cU,trans_tab_offset=0x34U,hash_tab_size=0x5U,hash_tab_offset=0x4cU},orig_tab=[gmo_le_string
{length=0x0U,offset=0x60U},gmo_le_string
{length=0xdU,offset=0x61U},gmo_le_string
{length=0x2dU,offset=0x6fU}],trans_tab=[gmo_le_string
{length=0x1d4U,offset=0x9dU},gmo_le_string
{length=0xbU,offset=0x272U},gmo_le_string
{length=0x31U,offset=0x27eU}],hash_tab=[gmo_le_uint32
{0x1U},gmo_le_uint32 {0x0U},gmo_le_uint32 {0x3U},gmo_le_uint32
{0x0U},gmo_le_uint32 {0x2U}]}}
(poke) .set pretty-print yes
(poke) the_gmo
{
"" -> "Project-Id-Version: hello-c 0.19.4.73\nReport-Msgid-Bugs-To:
bug-gettext@gnu.org\nPO-Revision-Date: 2015-06-26
13:05+0200\nLast-Translator: Philipp Thomas
<pth@suse.de>\nLanguage-Team: German
<translation-team-de@lists.sourceforge.net>\nLanguage:
de\nMIME-Version: 1.0\nContent-Type: text/plain;
charset=UTF-8\nContent-Transfer-Encoding: 8bit\nX-Bugs: Report
translation errors to the Language-Team address.\nPlural-Forms:
nplurals=2; plural=(n != 1);\nX-Generator: Poedit 1.5.4\n",
"Hello, world!" -> "Hallo Welt!",
"This program is running as process number %d." -> "Dieses Programm
läuft mit der Prozess-Nummer %d."
}
Thread 1 "poke" received signal SIGSEGV, Segmentation fault.
0x000000f5be600000 in ?? ()
(gdb) where
#0 0x000000f5be600000 in ?? ()
#1 0x00000001f7da57e0 in ?? ()
#2 0x00000000006f9310 in ?? ()
#3 0x0000000000a30e10 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000000000f55000 in ?? ()
#6 0x0000000000000004 in ?? ()
#7 0x00007f0000000100 in ?? ()
#8 0x0000000001000020 in ?? ()
#9 0x0000000000000001 in ?? ()
#10 0x00007fff00000000 in ?? ()
#11 0x00007fffffff8be0 in ?? ()
#12 0x3ce8c119a439f600 in ?? ()
#13 0x0000000000000004 in ?? ()
#14 0x00007ffff7b7f9a9 in GC_clear_stack () from
/usr/lib/x86_64-linux-gnu/libgc.so.1
#15 0x00007ffff7b7c039 in GC_generic_malloc_many () from
/usr/lib/x86_64-linux-gnu/libgc.so.1
#16 0x00007ffff7b845db in GC_malloc () from
/usr/lib/x86_64-linux-gnu/libgc.so.1
#17 0x00000020f7b845db in ?? ()
#18 0x0000000000000006 in ?? ()
#19 0x00007fffffff8cf0 in ?? ()
#20 0x0000000000404020 in ?? ()
#21 0x00007fffffffd810 in ?? ()
#22 0x0000000000000000 in ?? ()
Can you reproduce it?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug default/26162] New: crash while running pretty-printer,
jose.marchesi at oracle dot com <=