#5 closed defect (fixed)
cut expressions trigger gfortran bug
Reported by: | ohl | Owned by: | kilian |
---|---|---|---|
Priority: | P1 | Milestone: | |
Component: | core | Version: | 2.0.0alpha |
Severity: | critical | Keywords: | |
Cc: |
Description
This
model = QED process eemm = e1, E1 -> e2, E2 compile () set sqrts = 500 GeV beams = e1, E1 cuts = all Pt > 50 GeV (outgoing e2:E2) integrate (eemm) { iterations (2, 100000) }
causes a coredump in var_entry_assign_obs2_int_ptr
when compiled with gfortran. NAG works.
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Severity: | → blocker |
---|---|
Status: | new → assigned |
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
There were two gfortran bugs which prohibited successful compilation (one with the PACK function, one with initialization of INTENT(OUT) arguments). Changeset [1179] works around those bugs, so the program compiles and runs with gfortran.
comment:4 Changed 15 years ago by
Milestone: | v2-compiles-gfortran → v2.0-beta |
---|---|
Priority: | critical → P1 |
Severity: | blocker → critical |
Note: See
TracTickets for help on using
tickets.
Here is the complete backtrace (cf. below) It seems that the error is triggered by prt_list_select_pdg_code as an external procedure of eval_node_t%en0 or so.
* glibc detected * /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/lt-whizard: double free or corruption (fasttop): 0x083369c8 * ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0x7aa053f4] /lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0x7aa07456] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(prt_lists_MOD_prt_list_select_pdg_code+0x240)[0xb7e7beb0] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(expressions_MOD_select_pdg_ca+0x44)[0xb7e86944] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(expressions_MOD_eval_node_evaluate+0xa56)[0xb7e8a2a6] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(expressions_MOD_eval_node_evaluate+0x626)[0xb7e89e76] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(expressions_MOD_eval_tree_evaluate+0x24)[0xb7e8cd54] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(processes_MOD_process_passes_cuts+0x50)[0xb7f400a0] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(processes_MOD_sample_function+0x118)[0xb7f409c8] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(vamp_rest_MOD_vamp_sample_grid0+0x100d)[0xb7fa2d6d] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(vamp_rest_MOD_vamp_sample_grids+0x658)[0xb7faa848] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(processes_MOD_process_integrate+0xfd)[0xb7f4ab8d] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(commands_MOD_cmd_integrate_execute+0xb74)[0xb7f6cf24] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(commands_MOD_command_execute+0x297)[0xb7f6ba57] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(commands_MOD_command_list_execute+0x51)[0xb7f6bad1] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(whizard_MOD_whizard_process_stream+0xaa)[0xb7f7526a] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libwhizard.so.0(whizard_MOD_whizard_process_file+0x537)[0xb7f75d07] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/whizard-core/.libs/libwhizard_main.so.0[0xb80048c6] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/whizard-core/.libs/libwhizard_main.so.0(main+0x42)[0xb8005432] /lib/tls/i686/cmov/libc.so.6(libc_start_main+0xe5)[0x7a9ac685] /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/lt-whizard[0x8048561] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 08:04 173478 /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/lt-whizard 08049000-0804a000 rw-p 00000000 08:04 173478 /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/lt-whizard 082bf000-08360000 rw-p 082bf000 00:00 0 [heap] 7a600000-7a621000 rw-p 7a600000 00:00 0 7a621000-7a700000 ---p 7a621000 00:00 0 7a774000-7a8dd000 r-xp 00000000 08:04 173471 /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libomega.so.0.0.0 7a8dd000-7a8e5000 rw-p 00168000 08:04 173471 /home/reuter/Physik/omwhiz/svn/debug/trunk/src/.libs/libomega.so.0.0.0 7a8e5000-7a952000 rw-p 7a8e5000 00:00 0 7a952000-7a992000 r-xp 00000000 08:02 194070 /usr/local/intel/Compiler/11.0/069/lib/ia32/libintlc.so.5 7a992000-7a995000 rw-p 0003f000 08:02 194070 /usr/local/intel/Compiler/11.0/069/lib/ia32/libintlc.so.5 7a995000-7a996000 rw-p 7a995000 00:00 0 7a996000-7aaee000 r-xp 00000000 08:01 146118 /lib/tls/i686/cmov/libc-2.8.90.so 7aaee000-7aaf0000 r--p 00158000 08:01 146118 /lib/tls/i686/cmov/libc-2.8.90.so 7aaf0000-7aaf1000 rw-p 0015a000 08:01 146118 /lib/tls/i686/cmov/libc-2.8.90.so 7aaf1000-7aaf4000 rw-p 7aaf1000 00:00 0 7aaf4000-7ab10000 r-xp 00000000 08:04 159923 /home/reuter/local/lib/libgcc_s.so.1 7ab10000-7ab11000 rw-p 0001b000 08:04 159923 /home/reuter/local/lib/libgcc_s.so.1 7ab11000-7ab13000 r-xp 00000000 08:01 146124 /lib/tls/i686/cmov/libdl-2.8.90.so 7ab13000-7ab14000 r--p 00001000 08:01 146124 /lib/tls/i686/cmov/libdl-2.8.90.so 7ab14000-7ab15000 rw-p 00002000 08:01 146124 /lib/tls/i686/cmov/libdl-2.8.90.so 7ab15000-7ab4e000 r-xp 00000000 08:02 9019 /usr/local/lib/libHepMC.so.3.0.0 7ab4e000-7ab4f000 r--p 00038000 08:02 9019 /usr/local/lib/libHepMC.so.3.0.0 7ab4f000-7ab50000 rw-p 00039000 08:02 9019 /usr/local/lib/libHepMC.so.3.0.0 7ab50000-7ab90000 r-xp 00000000 08:02 194068 /usr/local/intel/Compiler/11.0/069/lib/ia32/libirc.so 7ab90000-7ab93000 rw-p 0003f000 08:02 194068 /usr/local/intel/Compiler/11.0/069/lib/ia32/libirc.so 7ab93000-7ab94000 rw-p 7ab93000 00:00 0 7ab94000-7ac64000 r-xp 00000000 08:02 194101 /usr/local/intel/Compiler/11.0/069/lib/ia32/libsvml.so 7ac64000-7ac68000 rw-p 000cf000 08:02 194101 /usr/local/intel/Compiler/11.0/069/lib/ia32/libsvml.so 7ac68000-7ae84000 r-xp 00000000 08:02 194079 /usr/local/intel/Compiler/11.0/069/lib/ia32/libimf.so 7ae84000-7ae87000 rw-p 0021c000 08:02 194079 /usr/local/intel/Compiler/11.0/069/lib/ia32/libimf.so 7ae87000-7af5f000 r-xp 00000000 08:02 194047 /usr/local/intel/Compiler/11.0/069/lib/ia32/libifcore.so.5 7af5f000-7af69000 rw-p 000d8000 08:02 194047 /usr/local/intel/Compiler/11.0/069/lib/ia32/libifcore.so.5