public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112520] New: gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) on loongarch64-linux-gnu
@ 2023-11-13 20:55 xry111 at gcc dot gnu.org
  2023-11-13 20:58 ` [Bug target/112520] " xry111 at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-11-13 20:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520

            Bug ID: 112520
           Summary: gcc.dg/plugin/cpython-plugin-test-PyList_Append.c
                    -fplugin=./analyzer_cpython_plugin.so ICE
                    (segmentation fault) on loongarch64-linux-gnu
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xry111 at gcc dot gnu.org
  Target Milestone: ---

This test seems broken on loongarch64-linux-gnu since day one.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) on loongarch64-linux-gnu
  2023-11-13 20:55 [Bug target/112520] New: gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) on loongarch64-linux-gnu xry111 at gcc dot gnu.org
@ 2023-11-13 20:58 ` xry111 at gcc dot gnu.org
  2023-11-21  4:50 ` [Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+ xry111 at gcc dot gnu.org
  2023-11-21  4:52 ` xry111 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-11-13 20:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking

--- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
spawn -ignore SIGHUP /home/xry111/git-repos/gcc-build/gcc/xgcc
-B/home/xry111/git-repos/gcc-build/gcc/
/home/xry111/git-repos/gcc/gcc/testsuite/gcc.dg/plugin/cpython-plugin-test-PyList_Append.c
-fdiagnostics-plain-output -fplugin=./analyzer_cpython_plugin.so -fanalyzer
-I/usr/include/python3.12 -I/usr/include/python3.12 -S -o
cpython-plugin-test-PyList_Append.s^M
*** WARNING *** there are active plugins, do not report this as a bug unless
you can reproduce it without enabling any plugins.^M
Event                            | Plugins^M
PLUGIN_ANALYZER_INIT             | analyzer_cpython_plugin^M
during IPA pass: analyzer^M
/home/xry111/git-repos/gcc/gcc/testsuite/gcc.dg/plugin/cpython-plugin-test-PyList_Append.c:
In function 'test_PyListAppend_6':^M
/home/xry111/git-repos/gcc/gcc/testsuite/gcc.dg/plugin/cpython-plugin-test-PyList_Append.c:76:3:
internal compiler error: Segmentation fault^M
0x120be55d7 crash_signal^M
        ../../gcc/gcc/toplev.cc:316^M
0x7ffff07664b0 tree_check(tree_node*, char const*, int, char const*,
tree_code)^M
        /home/xry111/git-repos/gcc/gcc/testsuite/../../gcc/tree.h:3601^M
0x7ffff07664b0 get_field_by_name^M
       
/home/xry111/git-repos/gcc/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c:74^M
0x7ffff07666f7 ana::kf_PyList_Append::impl_call_pre(ana::call_details const&)
const^M
       
/home/xry111/git-repos/gcc/gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.c:611^M
0x121170ff7 ana::region_model::on_call_pre(gcall const*,
ana::region_model_context*)^M
        ../../gcc/gcc/analyzer/region-model.cc:1652^M
0x121176c33 ana::region_model::on_stmt_pre(gimple const*, bool*,
ana::region_model_context*)^M
        ../../gcc/gcc/analyzer/region-model.cc:1289^M
0x12112d677 ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode
const*, gimple const*, ana::program_state*, ana::uncertainty_t*,
ana::path_context*)^M
        ../../gcc/gcc/analyzer/engine.cc:1491^M
0x121130d9f ana::exploded_graph::process_node(ana::exploded_node*)^M
        ../../gcc/gcc/analyzer/engine.cc:4092^M
0x121131b4b ana::exploded_graph::process_worklist()^M
        ../../gcc/gcc/analyzer/engine.cc:3486^M
0x121134897 ana::impl_run_checkers(ana::logger*)^M
        ../../gcc/gcc/analyzer/engine.cc:6154^M
0x1211358c7 ana::run_checkers()^M
        ../../gcc/gcc/analyzer/engine.cc:6242^M
0x12111fc6b execute^M
        ../../gcc/gcc/analyzer/analyzer-pass.cc:87^M
Please submit a full bug report, with preprocessed source (by using
-freport-bug).^M
Please include the complete backtrace with any bug report.^M
See <https://gcc.gnu.org/bugs/> for instructions.^M

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+
  2023-11-13 20:55 [Bug target/112520] New: gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) on loongarch64-linux-gnu xry111 at gcc dot gnu.org
  2023-11-13 20:58 ` [Bug target/112520] " xry111 at gcc dot gnu.org
@ 2023-11-21  4:50 ` xry111 at gcc dot gnu.org
  2023-11-21  4:52 ` xry111 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-11-21  4:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at redhat dot com
            Summary|gcc.dg/plugin/cpython-plugi |gcc.dg/plugin/cpython-plugi
                   |n-test-PyList_Append.c      |n-test-PyList_Append.c
                   |-fplugin=./analyzer_cpython |-fplugin=./analyzer_cpython
                   |_plugin.so ICE              |_plugin.so ICE
                   |(segmentation fault) on     |(segmentation fault) with
                   |loongarch64-linux-gnu       |Python 3.12+
              Build|loongarch64-linux-gnu       |
               Host|loongarch64-linux-gnu       |
             Status|UNCONFIRMED                 |NEW
             Target|loongarch64-linux-gnu       |
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-11-21
          Component|target                      |plugins

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Not a target-specific issue.  Starting from
https://github.com/python/cpython/commit/ea2c0016502472aa8baa3149050ada776d17a009
where an unnamed union is added.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+
  2023-11-13 20:55 [Bug target/112520] New: gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) on loongarch64-linux-gnu xry111 at gcc dot gnu.org
  2023-11-13 20:58 ` [Bug target/112520] " xry111 at gcc dot gnu.org
  2023-11-21  4:50 ` [Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+ xry111 at gcc dot gnu.org
@ 2023-11-21  4:52 ` xry111 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-11-21  4:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520

--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Xi Ruoyao from comment #2)
> Not a target-specific issue.  Starting from
> https://github.com/python/cpython/commit/
> ea2c0016502472aa8baa3149050ada776d17a009 where an unnamed union is added.

Full URL to the line:

https://github.com/python/cpython/commit/ea2c0016502472aa8baa3149050ada776d17a009#diff-87272721a5cf1cd9915d6f503f6a7bbefa2f26c935c7ce83ca78706afd0ad05aL104

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-21  4:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 20:55 [Bug target/112520] New: gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) on loongarch64-linux-gnu xry111 at gcc dot gnu.org
2023-11-13 20:58 ` [Bug target/112520] " xry111 at gcc dot gnu.org
2023-11-21  4:50 ` [Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+ xry111 at gcc dot gnu.org
2023-11-21  4:52 ` xry111 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).