• Welcome to the new forum! We upgraded our forum software with a host of new boards, capabilities and features. It is also more secure.
    Jump in and join the conversation! You can learn more about the upgrade and new features here.

reproducible linux segfault + coredump

grubextrapolate

Apprentice
Joined
Jun 7, 2013
Messages
3
Reaction score
0
greetings. I'm playing with the beersmith2 trial on linux and have an easily reproducible coredump.

beersmith2 -> continue running in trial -> ingredients tab -> hops button -> double click on hop (Ahtanum in my case) -> cancel button -> segfault

I see the following output to stdout, not sure if it's interesting:

Code:
$ beersmith2
09:06:47 AM: Debug: Failed to connect to session manager: SESSION_MANAGER environment variable not defined

(beersmith2:22343): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed

(beersmith2:22343): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed

(beersmith2:22343): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
Segmentation fault (core dumped)
$

opening the bin+core in gdb I get the following backtrace for the coredump:

Code:
$ gdb /usr/bin/beersmith2 core
GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16)
Copyright (C) 2011 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/beersmith2...(no debugging symbols found)...done.
[New LWP 22343]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `beersmith2'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000370c260 in ?? ()
Missing separate debuginfos, use: debuginfo-install beersmith2-2.1.02-2.x86_64
(gdb) bt
#0  0x000000000370c260 in ?? ()
#1  0x000000000046cb56 in ?? ()
#2  0x00000000004307ba in ?? ()
#3  0x00007f553eb074ae in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/libwx_baseu-2.9.so.3
#4  0x00007f553ed14351 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.9.so.3
#5  0x00007f553ed144b3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.9.so.3
#6  0x00007f553ed14843 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.9.so.3
#7  0x00007f553ed148a5 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.9.so.3
#8  0x00007f553ed14607 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.9.so.3
#9  0x00007f553f4c967e in gtk_frame_focus_in_callback ()
   from /usr/lib/libwx_gtk2u_core-2.9.so.3
#10 0x00000037f714ed03 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#11 0x0000003d6360ea44 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#12 0x0000003d63620ef2 in ?? () from /lib64/libgobject-2.0.so.0
#13 0x0000003d63629f33 in g_signal_emit_valist ()
   from /lib64/libgobject-2.0.so.0
#14 0x0000003d6362a302 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#15 0x00000037f7283f41 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x00000037f714cddb in gtk_main_do_event ()
   from /usr/lib64/libgtk-x11-2.0.so.0
#17 0x00000037f786207c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#18 0x0000003d62644f3d in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#19 0x0000003d62645738 in ?? () from /lib64/libglib-2.0.so.0
#20 0x0000003d62645c85 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#21 0x00000037f714bbb7 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#22 0x00007f553f4b5f1a in wxGUIEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.9.so.3
#23 0x00007f553eb0ad51 in wxAppConsoleBase::MainLoop() ()
   from /usr/lib/libwx_baseu-2.9.so.3
#24 0x00007f553ebcb65b in wxEntry(int&, wchar_t**) ()
   from /usr/lib/libwx_baseu-2.9.so.3
#25 0x000000000042f92a in ?? ()
#26 0x0000003d6062169d in __libc_start_main () from /lib64/libc.so.6
#27 0x00000000004275ad in ?? ()
#28 0x00007fffaa936618 in ?? ()
#29 0x000000000000001c in ?? ()
#30 0x0000000000000001 in ?? ()
#31 0x00007fffaa9374a1 in ?? ()
#32 0x0000000000000000 in ?? ()
(gdb)

- BeerSmith-2.1.02_amd64.deb converted to beersmith2-2.1.02-2.x86_64.rpm via alien
- fedora16, amd64 laptop

let me know if there's any other info you need. I've just done this like 4x in a row, so I can probably gather whatever other diagnostics you need. sometimes i need to click+cancel on a few hops, sometimes it happens on the first one.
 
Actually, I see the same thing with other popup windows too. Just tried to edit equipment to tweak my mash tun stats and when I hit "OK" it segfaulted with a similar assertion dumped to stdout.
 
Any update on this, or any additional debug info I can gather? This bug makes BS unusable on linux, which means I'll never buy it so long as it exists...
 
Back
Top