Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1025939: opencpn: crashes upon starting

214 views
Skip to first unread message

Laurent Savaete

unread,
Dec 12, 2022, 4:50:04 AM12/12/22
to
Package: opencpn
Version: 5.6.2+dfsg-2
Severity: important

Dear Maintainer,

Simply starting opencpn from either start menu or command line (with `opencpn`),
the program starts, sometimes displays the main window with the map for about
half a seconds, then crashes with "Segmentation fault". This is from a simple
`apt install opencpn` setup.
When I restart the app a second time, it detects a previous crash, and offers
to disable plugins and such, which I accept. The result is the same.

I have search github and flyspray issues for the error message, but found nothing.

I installed the same version of opencpn via flatpak and it works fine, so I
suspect some issue with the debian package itself.

Below a copy of the output from running `opencpn` from command line:
```
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
09:23:44: Debug: Device: 0: HDA Intel PCH: ALC293 Analog (hw:0,0)
09:23:44: Debug: Device: 1: HDA Intel PCH: BenQ PD3200U (hw:0,3)
09:23:44: Debug: Device: 2: HDA Intel PCH: HDMI 1 (hw:0,7)
09:23:44: Debug: Device: 3: HDA Intel PCH: HDMI 2 (hw:0,8)
09:23:44: Debug: Device: 4: HDA Intel PCH: HDMI 3 (hw:0,9)
09:23:44: Debug: Device: 5: HDA Intel PCH: HDMI 4 (hw:0,10)
09:23:44: Debug: Device: 6: sysdefault
09:23:44: Debug: Device: 7: front
09:23:44: Debug: Device: 8: surround40
09:23:44: Debug: Device: 9: surround51
09:23:44: Debug: Device: 10: surround71
09:23:44: Debug: Device: 11: hdmi
09:23:44: Debug: Device: 12: lavrate
09:23:44: Debug: Device: 13: samplerate
09:23:44: Debug: Device: 14: speexrate
09:23:44: Debug: Device: 15: pulse
09:23:44: Debug: Device: 16: speex
09:23:44: Debug: Device: 17: upmix
09:23:44: Debug: Device: 18: vdownmix
09:23:44: Debug: Device: 19: dmix
09:23:44: Debug: Device: 20: default
09:23:44: Debug: Device: 0: HDA Intel PCH: ALC293 Analog (hw:0,0)
09:23:44: Debug: Device: 1: HDA Intel PCH: BenQ PD3200U (hw:0,3)
09:23:44: Debug: Device: 2: HDA Intel PCH: HDMI 1 (hw:0,7)
09:23:44: Debug: Device: 3: HDA Intel PCH: HDMI 2 (hw:0,8)
09:23:44: Debug: Device: 4: HDA Intel PCH: HDMI 3 (hw:0,9)
09:23:44: Debug: Device: 5: HDA Intel PCH: HDMI 4 (hw:0,10)
09:23:44: Debug: Device: 6: sysdefault
09:23:44: Debug: Device: 7: front
09:23:44: Debug: Device: 8: surround40
09:23:44: Debug: Device: 9: surround51
09:23:44: Debug: Device: 10: surround71
09:23:44: Debug: Device: 11: hdmi
09:23:44: Debug: Device: 12: lavrate
09:23:44: Debug: Device: 13: samplerate
09:23:44: Debug: Device: 14: speexrate
09:23:44: Debug: Device: 15: pulse
09:23:44: Debug: Device: 16: speex
09:23:44: Debug: Device: 17: upmix
09:23:44: Debug: Device: 18: vdownmix
09:23:44: Debug: Device: 19: dmix
09:23:44: Debug: Device: 20: default
09:23:44: Debug: Device: 0: HDA Intel PCH: ALC293 Analog (hw:0,0)
09:23:44: Debug: Device: 1: HDA Intel PCH: BenQ PD3200U (hw:0,3)
09:23:44: Debug: Device: 2: HDA Intel PCH: HDMI 1 (hw:0,7)
09:23:44: Debug: Device: 3: HDA Intel PCH: HDMI 2 (hw:0,8)
09:23:44: Debug: Device: 4: HDA Intel PCH: HDMI 3 (hw:0,9)
09:23:44: Debug: Device: 5: HDA Intel PCH: HDMI 4 (hw:0,10)

09:23:44: Debug: Device: 6: sysdefault
09:23:44: Debug: Device: 7: front
09:23:44: Debug: Device: 8: surround40
09:23:44: Debug: Device: 9: surround51
09:23:44: Debug: Device: 10: surround71
09:23:44: Debug: Device: 11: hdmi
09:23:44: Debug: Device: 12: lavrate
09:23:44: Debug: Device: 13: samplerate
09:23:44: Debug: Device: 14: speexrate
09:23:44: Debug: Device: 15: pulse
09:23:44: Debug: Device: 16: speex
09:23:44: Debug: Device: 17: upmix
09:23:44: Debug: Device: 18: vdownmix
09:23:44: Debug: Device: 19: dmix
09:23:44: Debug: Device: 20: default
09:23:44: Debug: Device: 0: HDA Intel PCH: ALC293 Analog (hw:0,0)
09:23:44: Debug: Device: 1: HDA Intel PCH: BenQ PD3200U (hw:0,3)
09:23:44: Debug: Device: 2: HDA Intel PCH: HDMI 1 (hw:0,7)
09:23:44: Debug: Device: 3: HDA Intel PCH: HDMI 2 (hw:0,8)
09:23:44: Debug: Device: 4: HDA Intel PCH: HDMI 3 (hw:0,9)
09:23:44: Debug: Device: 5: HDA Intel PCH: HDMI 4 (hw:0,10)
09:23:44: Debug: Device: 6: sysdefault
09:23:44: Debug: Device: 7: front
09:23:44: Debug: Device: 8: surround40
09:23:44: Debug: Device: 9: surround51
09:23:44: Debug: Device: 10: surround71
09:23:44: Debug: Device: 11: hdmi
09:23:44: Debug: Device: 12: lavrate
09:23:44: Debug: Device: 13: samplerate
09:23:44: Debug: Device: 14: speexrate
09:23:44: Debug: Device: 15: pulse
09:23:44: Debug: Device: 16: speex
09:23:44: Debug: Device: 17: upmix
09:23:44: Debug: Device: 18: vdownmix
09:23:44: Debug: Device: 19: dmix
09:23:44: Debug: Device: 20: default
09:23:49: Warning: No image handler for type 15 defined.
Segmentation fault
```


-- System Information:
Debian Release: bookworm/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages opencpn depends on:
ii  bzip2                         1.0.8-5+b1
ii  libarchive13                  3.6.0-1
ii  libbz2-1.0                    1.0.8-5+b1
ii  libc6                         2.36-6
ii  libcurl3-gnutls               7.86.0-2
ii  libelf1                       0.188-1
ii  libgcc-s1                     12.2.0-9
ii  libgl1                        1.5.0-1
ii  liblz4-1                      1.9.4-1
ii  liblzma5                      5.2.9-0.0
ii  libportaudio2                 19.6.0-1.2
ii  libsqlite3-0                  3.40.0-1
ii  libstdc++6                    12.2.0-9
ii  libtinyxml2.6.2v5             2.6.2-6
ii  libudev1                      252.2-2
ii  libunarr1                     1.0.1-1.1
ii  libusb-1.0-0                  2:1.0.26-1
ii  libwxbase3.0-0v5              3.0.5.1+dfsg-5
ii  libwxgtk-webview3.0-gtk3-0v5  3.0.5.1+dfsg-5
ii  libwxgtk3.0-gtk3-0v5          3.0.5.1+dfsg-5
ii  libwxsvg3                     2:1.5.24+dfsg-1
ii  libx11-6                      2:1.8.1-2
ii  opencpn-data                  5.6.2+dfsg-2
ii  zlib1g                        1:1.2.13.dfsg-1

Versions of packages opencpn recommends:
ii  wx3.0-i18n  3.0.5.1+dfsg-5

Versions of packages opencpn suggests:
ii  binutils  2.39.50.20221208-2

-- no debconf information

Alec Leamas

unread,
Mar 5, 2023, 6:00:04 AM3/5/23
to
On Mon, 12 Dec 2022 09:40:44 +0000 Laurent Savaete <lau...@where.tf> wrote:
> Package: opencpn
> Version: 5.6.2+dfsg-2
> Severity: important
>
> Dear Maintainer,
>
> Simply starting opencpn from either start menu or command line (with
`opencpn`),
> the program starts, sometimes displays the main window with the map
for about

> half a seconds, then crashes with "Segmentation fault".


Hi,


Sorry for late reply.


> This is from a simple `apt install opencpn` setup.

Indeed.

Simply stated, I cannot reproduce this, and we have not other reports
like this one. My conclusion is that this is something related to your
specific setup.

The first test would be to move your .opencpn directory to another
location before starting opencpn. This forces a clean, default setup.

If this does not help, the next step would be to create a stack trace.
Is this something you know how to do?

Alec Leamas

unread,
Jun 19, 2023, 8:20:04 AM6/19/23
to
On Sun, 5 Mar 2023 11:55:55 +0100 Alec Leamas <leama...@gmail.com> wrote:

>
> Simply stated, I cannot reproduce this, and we have not other reports
> like this one. My conclusion is that this is something related to your
> specific setup.
>
> The first test would be to move your .opencpn directory to another
> location before starting opencpn. This forces a clean, default setup.
>
> If this does not help, the next step would be to create a stack trace.
> Is this something you know how to do?


Ping? Any news here?
0 new messages