On 16:12 Mon 25 Dec , Klemens Nanni wrote:
> On Mon, Dec 25, 2017 at 01:43:42PM +0000, Sergey Bronnikov wrote:
> > ~ $ doas pkg_add chessx
> > quirks-2.367 signed on 2017-10-03T11:21:28Z
> > chessx-1.4.6p0:quazip-qt5-0.7.3p3: ok
> > chessx-1.4.6p0:qtsvg-5.9.1p0: ok
> > chessx-1.4.6p0: ok
> > ~ $ chessx
> > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
> > '/tmp/runtime-sergeyb'
> > libpng warning: iCCP: known incorrect sRGB profile
> > PulseAudioService: pa_context_connect() failed
> > PulseAudioService: pa_context_connect() failed
> > Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at
> > pulsecore/mutex-posix.c:108, function void pa_mutex_unlock(pa_mutex
> > *)(). Aborting.
> > Abort trap (core dumped)
> > 
> > 
> > Sergey
> I cannot reproduce this:
> 
>       # pkg_add chessx
>       quirks-2.402 signed on 2017-12-23T17:21:28Z
>       chessx-1.4.6p0:quazip-qt5-0.7.3p3: ok
>       chessx-1.4.6p0: ok
>       $ chessx
>       QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
> '/tmp/runtime-kle'
>       libpng warning: iCCP: known incorrect sRGB profile
>       PulseAudioService: pa_context_connect() failed
>       [...]
> 
> where the last PA error comes up repeatedly during runtime, but I can
> click around in chessx and close it eventually.
> 
> I'm on a relatively recent snapshot and installed all available package
> updates prior to installing chessx.
> 
>        $ sysctl kern.version
>        kern.version=OpenBSD 6.2-current (GENERIC.MP) #293: Sat Dec 16 
> 23:58:07 MST 2017
>            
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> Your report is missing crucial information such as architecture,
> versions or any kind of information you could've retrieved from the
> core dump.
> 
> Please update all packages if not done so already and report whether the
> crash still persists, but with detailed information this time. See
> sendbug(1).

kern.version=OpenBSD 6.2 (GENERIC.MP) #134: Tue Oct  3 21:22:29 MDT 2017
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Packages are up to date.

GDB output:

Starting program: /usr/local/bin/chessx 
warning: Lowest section in /usr/local/lib/libicudata.so.13.0 is .hash at 
0000000000100238
[New process 48020]

Program received signal SIGABRT, Aborted.
thrkill () at -:3
3       -: No such file or directory.
        in -
Current language:  auto; currently asm
  6 thread 123756  _thread_sys_poll () at -:3
  5 thread 611935  _thread_sys_poll () at -:3
  4 thread 375611  _thread_sys_poll () at -:3
  3 thread 590921  _thread_sys_poll () at -:3
  2 process 48020  thrkill () at -:3
* 1 thread 515320  thrkill () at -:3

Thread 6 (thread 123756):
#0  _thread_sys_poll () at -:3
#1  0x00000ce845d7740f in _libc_poll_cancel (fds=Variable "fds" is not 
available.
) at /usr/src/lib/libc/sys/w_poll.c:27
#2  0x00000ce830422556 in poll_func () from /usr/local/lib/libpulse.so.6.2
#3  0x00000ce830412fef in pa_mainloop_poll () from 
/usr/local/lib/libpulse.so.6.2
#4  0x00000ce8304135de in pa_mainloop_iterate () from 
/usr/local/lib/libpulse.so.6.2
#5  0x00000ce830413680 in pa_mainloop_run () from /usr/local/lib/libpulse.so.6.2
#6  0x00000ce83042291a in thread () from /usr/local/lib/libpulse.so.6.2
#7  0x00000ce890b46527 in internal_thread_func () from 
/usr/local/lib/pulseaudio/libpulsecommon-11.1.so
#8  0x00000ce82dd85cae in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:96
#9  0x00000ce845df75db in __tfork_thread () at 
/usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#10 0x0000000000000000 in ?? ()

Thread 5 (thread 611935):
#0  _thread_sys_poll () at -:3
#1  0x00000ce845d7740f in _libc_poll_cancel (fds=Variable "fds" is not 
available.
) at /usr/src/lib/libc/sys/w_poll.c:27
#2  0x00000ce806233497 in g_main_context_iterate () at gmain.c:4271
#3  0x00000ce806233594 in g_main_context_iteration (context=0xce82c22db00, 
may_block=The value of variable 'may_block' is distributed across several
locations, and GDB cannot access its value.

) at gmain.c:4033
#4  0x00000ce7e7e80adb in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt5/libQt5Core.so.2.1
#5  0x00000ce7e7e27c6e in QEventLoop::exec () from 
/usr/local/lib/qt5/libQt5Core.so.2.1
#6  0x00000ce7e7c5ff5d in QThread::exec () from 
/usr/local/lib/qt5/libQt5Core.so.2.1
#7  0x00000ce7b2e23463 in QDBusConnectionManager::run () from 
/usr/local/lib/qt5/libQt5DBus.so.2.1
#8  0x00000ce7e7c63e24 in QThreadPrivate::start () from 
/usr/local/lib/qt5/libQt5Core.so.2.1
#9  0x00000ce82dd85cae in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:96
#10 0x00000ce845df75db in __tfork_thread () at 
/usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#11 0x0000000000000000 in ?? ()

Thread 4 (thread 375611):
#0  _thread_sys_poll () at -:3
#1  0x00000ce845d7740f in _libc_poll_cancel (fds=Variable "fds" is not 
available.
) at /usr/src/lib/libc/sys/w_poll.c:27
#2  0x00000ce806233497 in g_main_context_iterate () at gmain.c:4271
#3  0x00000ce806233594 in g_main_context_iteration (context=0xce86d96b400, 
may_block=The value of variable 'may_block' is distributed across several
locations, and GDB cannot access its value.

) at gmain.c:4033
#4  0x00000ce7e7e80adb in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/qt5/libQt5Core.so.2.1
#5  0x00000ce7e7e27c6e in QEventLoop::exec () from 
/usr/local/lib/qt5/libQt5Core.so.2.1
#6  0x00000ce7e7c5ff5d in QThread::exec () from 
/usr/local/lib/qt5/libQt5Core.so.2.1
#7  0x00000ce7e7c63e24 in QThreadPrivate::start () from 
/usr/local/lib/qt5/libQt5Core.so.2.1
#8  0x00000ce82dd85cae in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:96
#9  0x00000ce845df75db in __tfork_thread () at 
/usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#10 0x0000000000000000 in ?? ()

Thread 3 (thread 590921):
#0  _thread_sys_poll () at -:3
#1  0x00000ce845d7740f in _libc_poll_cancel (fds=Variable "fds" is not 
available.
) at /usr/src/lib/libc/sys/w_poll.c:27
#2  0x00000ce7df8bced2 in _xcb_conn_wait (c=0xce844127000, cond=Variable "cond" 
is not available.
) at /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_conn.c:479
#3  0x00000ce7df8ba1bc in xcb_wait_for_event (c=0xce844127000)
    at /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_in.c:693
#4  0x00000ce7e5957e95 in QXcbEventReader::run () from 
/usr/local/lib/qt5/libQt5XcbQpa.so.1.1
#5  0x00000ce7e7c63e24 in QThreadPrivate::start () from 
/usr/local/lib/qt5/libQt5Core.so.2.1
#6  0x00000ce82dd85cae in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:96
#7  0x00000ce845df75db in __tfork_thread () at 
/usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#8  0x0000000000000000 in ?? ()

Thread 2 (process 48020):
#0  thrkill () at -:3
#1  0x00000ce845dda09d in _libc_abort () at /usr/src/lib/libc/stdlib/abort.c:51
#2  0x00000ce890b45ed0 in pa_mutex_unlock () from 
/usr/local/lib/pulseaudio/libpulsecommon-11.1.so
#3  0x00000ce86e60ac37 in (anonymous namespace)::PulseDaemon::prepare ()
   from /usr/local/lib/qt5/libQt5Multimedia.so.2.1
#4  0x00000ce86e607418 in QSoundEffectPrivate::QSoundEffectPrivate ()
   from /usr/local/lib/qt5/libQt5Multimedia.so.2.1
#5  0x00000ce86e5ff7c6 in QSoundEffect::QSoundEffect () from 
/usr/local/lib/qt5/libQt5Multimedia.so.2.1
#6  0x00000ce86e60371c in QSound::QSound () from 
/usr/local/lib/qt5/libQt5Multimedia.so.2.1
#7  0x00000ce5ae6be03c in QHash<unsigned long long, unsigned int>::deleteNode2 
()
   from /usr/local/bin/chessx
#8  0x00000ce5ae6b9d62 in QMap<QString, QTextListFormat::Style>::~QMap () from 
/usr/local/bin/chessx
#9  0x00000ce5ae6b9551 in QMap<QString, QTextListFormat::Style>::~QMap () from 
/usr/local/bin/chessx
#10 0x00000ce5ae5e66e4 in 
QtMetaTypePrivate::QMetaTypeFunctionHelper<DatabaseInfo*, true>::Construct ()
   from /usr/local/bin/chessx
#11 0x00000ce5ae5b1b31 in QHash<int, QHashDummyValue>::duplicateNode () from 
/usr/local/bin/chessx
#12 0x00000ce5ae61212e in main () from /usr/local/bin/chessx

Thread 1 (thread 515320):
#0  thrkill () at -:3
#1  0x00000ce845dda09d in _libc_abort () at /usr/src/lib/libc/stdlib/abort.c:51
#2  0x00000ce890b45ed0 in pa_mutex_unlock () from 
/usr/local/lib/pulseaudio/libpulsecommon-11.1.so
#3  0x00000ce86e60ac37 in (anonymous namespace)::PulseDaemon::prepare ()
   from /usr/local/lib/qt5/libQt5Multimedia.so.2.1
#4  0x00000ce86e607418 in QSoundEffectPrivate::QSoundEffectPrivate ()
   from /usr/local/lib/qt5/libQt5Multimedia.so.2.1
#5  0x00000ce86e5ff7c6 in QSoundEffect::QSoundEffect () from 
/usr/local/lib/qt5/libQt5Multimedia.so.2.1
#6  0x00000ce86e60371c in QSound::QSound () from 
/usr/local/lib/qt5/libQt5Multimedia.so.2.1
#7  0x00000ce5ae6be03c in QHash<unsigned long long, unsigned int>::deleteNode2 
()
   from /usr/local/bin/chessx
#8  0x00000ce5ae6b9d62 in QMap<QString, QTextListFormat::Style>::~QMap () from 
/usr/local/bin/chessx
#9  0x00000ce5ae6b9551 in QMap<QString, QTextListFormat::Style>::~QMap () from 
/usr/local/bin/chessx
#10 0x00000ce5ae5e66e4 in 
QtMetaTypePrivate::QMetaTypeFunctionHelper<DatabaseInfo*, true>::Construct ()
   from /usr/local/bin/chessx
#11 0x00000ce5ae5b1b31 in QHash<int, QHashDummyValue>::duplicateNode () from 
/usr/local/bin/chessx
#12 0x00000ce5ae61212e in main () from /usr/local/bin/chessx
The program is running.  Exit anyway? (y or n) 

Sergey

Reply via email to