GNOME Bugzilla – Bug 751053
SwingSet2 crashes when Orca is switched off.
Last modified: 2015-07-07 19:44:44 UTC
To reproduce: 1. Run SwingSet2 2. Switch the screenreader on 3. Check out SwingSet2 4. Switch the screeenreader off Expected result: 4. SwingSet2 continues running as accessible app with screenreader off Actual result: 4. Causes SwingSet2 to crash with a SIGSEGV Trace:
+ Trace 235176
Created attachment 305473 [details] [review] patch to fix bug Tested this and "only" 1/5 tests resulted in a crash. I am not sure whether I had cleaned the libraries properly for that test which failed, so I'll leave this bug open just in case there is more to do.
This bug is present in my environment and is reproducible every time I restart orca. I am sending a trace. vilmar@jve:~/java-atk-wrapper[vilmar@jve java-atk-wrapper]$ coredumpctl gdb 19509 PID: [1;39m19509[0m (java) UID: 1000 (vilmar) GID: 1000 (vilmar) Signal: 6 (ABRT) Timestamp: Mon 2015-06-22 04:52:59 BRT (1min 40s ago) Command Line: java -jar SwingSet2.jar Executable: [1;39m/usr/lib/jvm/java-7-jdk/jre/bin/java[0m Control Group: /user.slice/user-1000.slice/session-c4.scope Unit: session-c4.scope Slice: user-1000.slice Session: c4 Owner UID: 1000 (vilmar) Boot ID: 742123671cc3474a8026a5e0a2c447a5 Machine ID: bb106a91062544e595ca975c0fb2973f Hostname: jve Coredump: /var/lib/systemd/coredump/core.java.1000.742123671cc3474a8026a5e0a2c447a5.19509.1434959579000000.lz4 Message: Process 19509 (java) of user 1000 dumped core. GNU gdb (GDB) 7.9.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/jvm/java-7-jdk/jre/bin/java...(no debugging symbols found)...done. [New LWP 19530] [New LWP 19532] [New LWP 19520] [New LWP 19511] [New LWP 19535] [New LWP 19513] [New LWP 19512] [New LWP 19515] [New LWP 19528] [New LWP 19514] [New LWP 19522] [New LWP 19517] [New LWP 19527] [New LWP 19519] [New LWP 19529] [New LWP 19521] [New LWP 19531] [New LWP 19509] [New LWP 19518] [New LWP 19524] [New LWP 19516] [New LWP 19523] [New LWP 19525] warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `java -jar SwingSet2.jar'. Program terminated with signal SIGABRT, Aborted.
+ Trace 235199
(In reply to Jose Vilmar Estacio de Souza from comment #2) > This bug is present in my environment and is reproducible every time > I restart orca. > I am sending a trace. Thanks for the update. Would you mind applying attachment 307027 [details] [review] and letting me know if this allows you to to turn orca off without the wrapper crashing? The patch for bug 751267 seems to fix this issue for me.
(In reply to Magdalen Berns (irc magpie) from comment #3) > Thanks for the update. Would you mind applying attachment 307027 [details] [review] > [review] and letting me know if this allows you to to turn orca off without > the wrapper crashing? The patch for bug 751267 seems to fix this issue for > me. After apply attachment 307027 [details] [review], I can restart orca without crashes in the wrapper. I tried to restart orca at least 10 times without a crash.
(In reply to Jose Vilmar Estacio de Souza from comment #4) > (In reply to Magdalen Berns (irc magpie) from comment #3) > > Thanks for the update. Would you mind applying attachment 307027 [details] [review] [review] > > [review] and letting me know if this allows you to to turn orca off without > > the wrapper crashing? The patch for bug 751267 seems to fix this issue for > > me. > > After apply attachment 307027 [details] [review] [review], I can restart orca > without crashes in the wrapper. > I tried to restart orca at least 10 times without a crash. Great. Thanks for confirming! I shall close this now attachment 307027 [details] [review] has been pushed to master. Thanks again!