DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
Old 23rd December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

I'm doing some production on my machine. I think I should stick to the -stable branch.
Reply With Quote
Old 23rd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

notooth: a private message was sent to you 12 hours ago. When you have an opportunity, please download and install the transmission package. You do not need to trust it and run it, but it can be used with your saved .core file: addresses will be converted to source code line numbers, and we can learn the value of any variable or any data structure stored in memory at the time of the abort.

The only variables we would not be able to discern would be variables that were stored in CPU registers through compiler optimization. If needed, I can build transmission with optimization disabled, but in that case you would need to run the non-optimized application and obtain a new .core file.

Last edited by jggimi; 23rd December 2015 at 12:06 PM. Reason: clarity
Reply With Quote
Old 23rd December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Hi jggimi,

I have installed and run the transmission-gtk from you without crashing. At the moment I installed the new transmission-gtk, firefox still crashed. I've just removed and reinstalled firefox, and it is currently running smoothly. The firefox-esr which is not reinstalled still crashes.
Reply With Quote
Old 23rd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

If you still have your transmission-gtk.core file, you should be able to obtain a backtrace with symbols: transmission-gtk source code line numbers.

With that information, we can examine the source code, then through gdb request the value of variables or other applicable data structures, and determine what transmission was requesting of GTK and why. We can then follow the stack trace forward, function by function, and perhaps determine the problem source.

Or not. But we won't know until you've been able to apply the symbols to your .core file successfully.

Last edited by jggimi; 23rd December 2015 at 02:18 PM. Reason: typo
Reply With Quote
Old 23rd December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

Here is the backtrace that I've just made:
Code:
$ gdb /usr/local/bin/transmission-gtk /home/notooth/transmission-gtk.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...
Core was generated by `transmission-gtk'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libpthread.so.19.0...done.
Loaded symbols for /usr/lib/libpthread.so.19.0
Loaded symbols for /usr/local/bin/transmission-gtk
Reading symbols from /usr/local/lib/libminiupnpc.so.2.0...done.
Loaded symbols for /usr/local/lib/libminiupnpc.so.2.0
Reading symbols from /usr/local/lib/libnatpmp.so.0.0...done.
Loaded symbols for /usr/local/lib/libnatpmp.so.0.0
Reading symbols from /usr/local/lib/libgtk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgtk-3.so.1600.0
Reading symbols from /usr/local/lib/libgdk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgdk-3.so.1600.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3600.0
Reading symbols from /usr/local/lib/libpango-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3600.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.1
Reading symbols from /usr/local/lib/libglib-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4200.1
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libpcre.so.3.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.3.0
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libffi.so.1.1...done.
Loaded symbols for /usr/local/lib/libffi.so.1.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.1
Reading symbols from /usr/local/lib/libgthread-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.4200.1
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/local/lib/libcairo.so.12.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.3
Symbols already loaded for /usr/lib/libpthread.so.19.0
Reading symbols from /usr/X11R6/lib/libpixman-1.so.32.6...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.32.6
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.24.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.24.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/local/lib/libpng.so.17.2...done.
Loaded symbols for /usr/local/lib/libpng.so.17.2
Reading symbols from /usr/X11R6/lib/libxcb-shm.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shm.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.1
Reading symbols from /usr/X11R6/lib/libxcb-render.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-render.so.1.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3600.0
Reading symbols from /usr/local/lib/libharfbuzz.so.5.1...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.5.1
Reading symbols from /usr/local/lib/libgraphite2.so.0.0...done.
Loaded symbols for /usr/local/lib/libgraphite2.so.0.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.1
Reading symbols from /usr/local/lib/libcairo-gobject.so.1.1...done.
Loaded symbols for /usr/local/lib/libcairo-gobject.so.1.1
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libepoxy.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libepoxy.so.1.0
Reading symbols from /usr/local/lib/libatk-1.0.so.21609.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21609.1
Reading symbols from /usr/local/lib/libatk-bridge-2.0.so.0.0...done.
Loaded symbols for /usr/local/lib/libatk-bridge-2.0.so.0.0
Reading symbols from /usr/local/lib/libdbus-1.so.11.0...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.11.0
Reading symbols from /usr/local/lib/libatspi.so.0.1...done.
Loaded symbols for /usr/local/lib/libatspi.so.0.1
Reading symbols from /usr/X11R6/lib/libSM.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.9.0
Reading symbols from /usr/X11R6/lib/libICE.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.10.0
Reading symbols from /usr/local/lib/libevent_extra.so.0.1...done.
Loaded symbols for /usr/local/lib/libevent_extra.so.0.1
Reading symbols from /usr/local/lib/libevent_core.so.1.1...done.
Loaded symbols for /usr/local/lib/libevent_core.so.1.1
Reading symbols from /usr/local/lib/libcurl.so.24.9...done.
Loaded symbols for /usr/local/lib/libcurl.so.24.9
Reading symbols from /usr/local/lib/libidn.so.17.2...done.
Loaded symbols for /usr/local/lib/libidn.so.17.2
Reading symbols from /usr/lib/libssl.so.35.0...done.
Loaded symbols for /usr/lib/libssl.so.35.0
Reading symbols from /usr/lib/libcrypto.so.35.0...done.
Loaded symbols for /usr/lib/libcrypto.so.35.0
Reading symbols from /usr/lib/libc.so.80.1...done.
Loaded symbols for /usr/lib/libc.so.80.1
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/gio/modules/libgvfsdbus.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/local/lib/gvfs/libgvfscommon.so...done.
Loaded symbols for /usr/local/lib/gvfs/libgvfscommon.so
Reading symbols from /usr/lib/libutil.so.12.1...done.
Loaded symbols for /usr/lib/libutil.so.12.1
Reading symbols from /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Reading symbols from /usr/local/lib/librsvg-2.so.38.2...done.
Loaded symbols for /usr/local/lib/librsvg-2.so.38.2
Reading symbols from /usr/local/lib/libcroco-0.6.so.4.0...done.
Loaded symbols for /usr/local/lib/libcroco-0.6.so.4.0
Reading symbols from /usr/local/lib/libxml2.so.15.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.15.1
Reading symbols from /usr/local/lib/liblzma.so.2.1...done.
Loaded symbols for /usr/local/lib/liblzma.so.2.1
Reading symbols from /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so...done.
Loaded symbols for /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so
Reading symbols from /usr/local/lib/gio/modules/libgioremote-volume-monitor.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so
#0  0x00000eb2e13cd945 in _atomic_lock (lock=0xdfdfdfdfdfdfdfdf)
    at /usr/src/lib/librthread/arch/amd64/_atomic_lock.c:21
21      /usr/src/lib/librthread/arch/amd64/_atomic_lock.c: No such file or directory.
        in /usr/src/lib/librthread/arch/amd64/_atomic_lock.c
(gdb) bt
#0  0x00000eb2e13cd945 in _atomic_lock (lock=0xdfdfdfdfdfdfdfdf)
    at /usr/src/lib/librthread/arch/amd64/_atomic_lock.c:21
#1  0x00000eb2e13cca4d in _spinlock (lock=0xdfdfdfdfdfdfdfdf)
    at /usr/src/lib/librthread/rthread.c:81
#2  0x00000eb2e13d0018 in _rthread_mutex_lock (mutexp=0xeb24cc353c0, 
    trywait=0, abstime=0x0) at /usr/src/lib/librthread/rthread_sync.c:108
#3  0x00000eb269aa51e1 in g_mutex_lock ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#4  0x00000eb23f3c5b6a in emit_cb () from /usr/local/lib/libgio-2.0.so.4200.1
#5  0x00000eb269a5f0a2 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#6  0x00000eb269a6122b in g_main_context_iterate ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#7  0x00000eb269a612f7 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#8  0x00000eb269a61335 in glib_worker_main ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#9  0x00000eb269a86669 in g_thread_proxy ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#10 0x00000eb2e13cd90e in _rthread_start (v=Variable "v" is not available.
)
    at /usr/src/lib/librthread/rthread.c:145
#11 0x00000eb24e0e849b in __tfork_thread ()
    at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
---Type <return> to continue, or q <return> to quit---
#12 0x0000000000000000 in ?? ()
(gdb) q

Last edited by notooth; 23rd December 2015 at 03:14 PM.
Reply With Quote
Old 23rd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

This particular core file does not have a complete stack trace available. Frame #12 was overlaid with zeros, and the backtrace ends prematurely, before reaching the transmission application.

This appears to be the first time a problem has repeated. To me, it appears to be the same problem reported 3 days ago here, with the same lock pointer, overlaid with the same invalid data: 0xDF repeated.

The repetitive nature of this problem is actually good news. It means it is less likely to be hardware, and more likely to be software.
Reply With Quote
Old 23rd December 2015
notooth notooth is offline
Shell Scout
 
Join Date: Jul 2015
Posts: 125
Default

There is a new crash:
Code:
$ gdb /usr/local/bin/transmission-gtk /home/notooth/transmission-gtk.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...
Core was generated by `transmission-gtk'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libpthread.so.19.0...done.
Loaded symbols for /usr/lib/libpthread.so.19.0
Loaded symbols for /usr/local/bin/transmission-gtk
Reading symbols from /usr/local/lib/libminiupnpc.so.2.0...done.
Loaded symbols for /usr/local/lib/libminiupnpc.so.2.0
Reading symbols from /usr/local/lib/libnatpmp.so.0.0...done.
Loaded symbols for /usr/local/lib/libnatpmp.so.0.0
Reading symbols from /usr/local/lib/libgtk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgtk-3.so.1600.0
Reading symbols from /usr/local/lib/libgdk-3.so.1600.0...done.
Loaded symbols for /usr/local/lib/libgdk-3.so.1600.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3600.0
Reading symbols from /usr/local/lib/libpango-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3600.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.1
Reading symbols from /usr/local/lib/libglib-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4200.1
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libpcre.so.3.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.3.0
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libffi.so.1.1...done.
Loaded symbols for /usr/local/lib/libffi.so.1.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.1
Reading symbols from /usr/local/lib/libgthread-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.4200.1
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/local/lib/libcairo.so.12.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.3
Symbols already loaded for /usr/lib/libpthread.so.19.0
Reading symbols from /usr/X11R6/lib/libpixman-1.so.32.6...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.32.6
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.2.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.9.1...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.9.1
Reading symbols from /usr/X11R6/lib/libfreetype.so.24.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.24.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/lib/libexpat.so.11.0...done.
Loaded symbols for /usr/lib/libexpat.so.11.0
Reading symbols from /usr/local/lib/libpng.so.17.2...done.
Loaded symbols for /usr/local/lib/libpng.so.17.2
Reading symbols from /usr/X11R6/lib/libxcb-shm.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shm.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.3.1
Reading symbols from /usr/X11R6/lib/libxcb-render.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-render.so.1.0
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3600.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3600.0
Reading symbols from /usr/local/lib/libharfbuzz.so.5.1...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.5.1
Reading symbols from /usr/local/lib/libgraphite2.so.0.0...done.
Loaded symbols for /usr/local/lib/libgraphite2.so.0.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3000.0
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.1...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.1
Reading symbols from /usr/local/lib/libcairo-gobject.so.1.1...done.
Loaded symbols for /usr/local/lib/libcairo-gobject.so.1.1
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.0
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libepoxy.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libepoxy.so.1.0
Reading symbols from /usr/local/lib/libatk-1.0.so.21609.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21609.1
Reading symbols from /usr/local/lib/libatk-bridge-2.0.so.0.0...done.
Loaded symbols for /usr/local/lib/libatk-bridge-2.0.so.0.0
Reading symbols from /usr/local/lib/libdbus-1.so.11.0...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.11.0
Reading symbols from /usr/local/lib/libatspi.so.0.1...done.
Loaded symbols for /usr/local/lib/libatspi.so.0.1
Reading symbols from /usr/X11R6/lib/libSM.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.9.0
Reading symbols from /usr/X11R6/lib/libICE.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.10.0
Reading symbols from /usr/local/lib/libevent_extra.so.0.1...done.
Loaded symbols for /usr/local/lib/libevent_extra.so.0.1
Reading symbols from /usr/local/lib/libevent_core.so.1.1...done.
Loaded symbols for /usr/local/lib/libevent_core.so.1.1
Reading symbols from /usr/local/lib/libcurl.so.24.9...done.
Loaded symbols for /usr/local/lib/libcurl.so.24.9
Reading symbols from /usr/local/lib/libidn.so.17.2...done.
Loaded symbols for /usr/local/lib/libidn.so.17.2
Reading symbols from /usr/lib/libssl.so.35.0...done.
Loaded symbols for /usr/lib/libssl.so.35.0
Reading symbols from /usr/lib/libcrypto.so.35.0...done.
Loaded symbols for /usr/lib/libcrypto.so.35.0
Reading symbols from /usr/lib/libc.so.80.1...done.
Loaded symbols for /usr/lib/libc.so.80.1
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/gio/modules/libgvfsdbus.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/local/lib/gvfs/libgvfscommon.so...done.
Loaded symbols for /usr/local/lib/gvfs/libgvfscommon.so
Reading symbols from /usr/lib/libutil.so.12.1...done.
Loaded symbols for /usr/lib/libutil.so.12.1
Reading symbols from /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Reading symbols from /usr/local/lib/librsvg-2.so.38.2...done.
Loaded symbols for /usr/local/lib/librsvg-2.so.38.2
Reading symbols from /usr/local/lib/libcroco-0.6.so.4.0...done.
Loaded symbols for /usr/local/lib/libcroco-0.6.so.4.0
Reading symbols from /usr/local/lib/libxml2.so.15.1...done.
Loaded symbols for /usr/local/lib/libxml2.so.15.1
Reading symbols from /usr/local/lib/liblzma.so.2.1...done.
Loaded symbols for /usr/local/lib/liblzma.so.2.1
Reading symbols from /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so...done.
Loaded symbols for /usr/local/lib/gtk-3.0/3.0.0/immodules/im-xim.so
Reading symbols from /usr/local/lib/gio/modules/libgioremote-volume-monitor.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so
#0  0x000003de8c006ed0 in dl_shallow_copy ()
   from /usr/local/lib/libgio-2.0.so.4200.1
(gdb) bt
#0  0x000003de8c006ed0 in dl_shallow_copy ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#1  0x000003de8c006f69 in dl_calculate ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#2  0x000003de8c005900 in _kh_dir_diff ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#3  0x000003de8c005ad9 in process_kqueue_notifications ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#4  0x000003ddf4eb60a2 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#5  0x000003ddf4eb822b in g_main_context_iterate ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#6  0x000003ddf4eb82f7 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#7  0x000003de8bfac912 in g_application_run ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#8  0x000003dbe62347d1 in main (argc=1, argv=0x7f7ffffebdb8) at main.c:689
(gdb) bt
#0  0x000003de8c006ed0 in dl_shallow_copy ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#1  0x000003de8c006f69 in dl_calculate ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#2  0x000003de8c005900 in _kh_dir_diff ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#3  0x000003de8c005ad9 in process_kqueue_notifications ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#4  0x000003ddf4eb60a2 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#5  0x000003ddf4eb822b in g_main_context_iterate ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#6  0x000003ddf4eb82f7 in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.4200.1
#7  0x000003de8bfac912 in g_application_run ()
   from /usr/local/lib/libgio-2.0.so.4200.1
#8  0x000003dbe62347d1 in main (argc=1, argv=0x7f7ffffebdb8) at main.c:689
(gdb)

Last edited by notooth; 23rd December 2015 at 03:23 PM.
Reply With Quote
Old 23rd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Code:
#8  0x000003dbe62347d1 in main (argc=1, argv=0x7f7ffffebdb8) at main.c:689
Excellent! We're in main.c, initializing the application. Let me go through the source code once I'm done with $DAYJOB, and we'll see if we can figure out what is happening.
Reply With Quote
Old 23rd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

In transmission 2.84 source code, the main() function starts at line 613 of gtk/main.c, so we are only in the initialization routines of the application when transmission makes the GTK library call in frame #8. Line 689 of the file states:
Code:
ret = g_application_run (G_APPLICATION (app), argc, argv);
This runs a GTK application, and is documented here. The argument management variables argc and argv are standard command line argument count and argument array, and if transmission-gtk is started without arguments on the command line, argc will be the value 1 and argv[0] will be the executable path name.

From that point onward, the stack trace leaves transmission and does not return.

I'll try stepping through the application here, on a -release system, and see if I can determine where the stack path diverges.
Reply With Quote
Old 23rd December 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Due to GTK thread management, I'm having a difficult time with live application analysis via gdb. I'm going to recommend sending me the .core file for analysis, if you'd like additional debugging.

My assumption is that since the application failed early in use, there is no personal or private information in process memory, but I'll leave that to your decision.

If you decide to send a .core file, I'll create an account for you that you can use to transfer the file to me via sftp(1), without having to use passwords. You'll create a public/private key pair, and send the public key to me. Only someone with the private key will be able to log in.

I'll send details via private message.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstall OpenBSD 5.7 automatically (vps without KVM) wesley Guides 0 1st June 2015 11:07 AM
Can't exit suspend mode IdOp OpenBSD General 3 31st May 2013 05:26 PM
Xorg hangs on exit gpatrick OpenBSD General 7 27th November 2009 09:24 PM
Login automatically map7 FreeBSD General 1 12th October 2008 11:09 PM
Warning error every exit of X aleunix OpenBSD Packages and Ports 2 6th June 2008 08:46 PM


All times are GMT. The time now is 06:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick