octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65312] "__run_test_suite__" ran in GUI hangs


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #65312] "__run_test_suite__" ran in GUI hangs Octave in some configurations
Date: Wed, 14 Feb 2024 11:38:05 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?65312>

                 Summary: "__run_test_suite__" ran in GUI hangs Octave in some
configurations
                   Group: GNU Octave
               Submitter: dasergatskov
               Submitted: Wed 14 Feb 2024 04:38:04 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 14 Feb 2024 04:38:04 PM UTC By: Dmitri A. Sergatskov <dasergatskov>
On current Fedora 39, "__run_test_gui__" would hang octave with 100%
reproducibility. I observed that on AMD FX-8350, i9-9880H, and on Raspberry PI
4 (aarch64). The desktop has to be GNOME, the
run completes w/o problem on GTK. The run also completes fine if I started GUI
with "--experimental-terminal-widget". 
This happens with both octave 8.4.0 (as supplied by Fedora repo) and with
self-compiled 9.0.91 (with different compilers and compilation flags including
-O0).

When octave started from Gnome terminal as "octave --gui" the octave's
CommandWindow is flooded with 


 (octave-gui:68826): GLib-GIO-CRITICAL **: 20:21:28.119: file
../gio/gfileinfo.c: line 1766 (g_file_info_get_icon): should not be reached

(octave-gui:68826): GLib-GIO-CRITICAL **: 20:21:28.120: GFileInfo created
without standard::icon

(octave-gui:68826): GLib-GIO-CRITICAL **: 20:21:28.120: file
../gio/gfileinfo.c: line 1766 (g_file_info_get_icon): should not be reached

(octave-gui:68826): GLib-GIO-CRITICAL **: 20:21:28.120: GFileInfo created
without standard::icon

(octave-gui:68826): GLib-GIO-CRITICAL **: 20:21:28.120: file
../gio/gfileinfo.c: line 1766 (g_file_info_get_icon): should not be reached

warnings. They are continue to pop-up in large numbers during the
"__run_test_suite__" execution. After a short time octave GUI becomes frozen
and non-responsive (see attached screenshot "hang2.png"). GUI hangs at/after
execution of oct-inttypes.cc-tst, yet fntests.log indicates that there are few
more test have finished (see attached fntests.log). The number of those
"extra' tests varies, whne compiled with "-O2" it finishes only one more test
(Cell.cc-tst).

I have run "strace octave --gui 2> str2.log; str2log.gz is attached. 
I have also tried to attach gdb to a frozen octave process. Here is what I see
there:

 26      __wait4_time64 (pid_t pid, int *stat_loc, int options, struct
__rusage64 *usage)
27      {
28      #ifdef __NR_wait4
29      # if __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
30        return SYSCALL_CANCEL (wait4, pid, stat_loc, options, usage);
31      # else
32        pid_t ret;
33        struct __rusage32 usage32;
34
(gdb) thread apply all bt

Thread 1 (Thread 0x7fa5ce8737c0 (LWP 319859) "octave"):
#0  0x00007fa5ce43bd27 in __GI___wait4 (pid=319860, stat_loc=0x7ffd79cd5f60,
options=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x00007fa5ce43be6b in __GI___waitpid (pid=<optimized out>,
stat_loc=<optimized out>, options=<optimized out>) at waitpid.c:38
#2  0x00000000004044e0 in octave_waitpid_wrapper (pid=<optimized out>,
statusp=<optimized out>, options=<optimized out>) at
../liboctave/wrappers/wait-wrappers.c:101
#3  0x00000000004033e8 in main (argc=2, argv=0x7ffd79cd6178) at
src/main.cc:525
(gdb)



Dmitri.
-- 







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Name: str2.log.gz  Size: 3KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55698>
-------------------------------------------------------
Name: fntests.log  Size: 2KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55699>
-------------------------------------------------------
Name: hang2.png  Size: 912KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55697>

    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-8523ddde37d79b56404205a28f13efda563b0104.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65312>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]