Package: labplot
Version: 2.12.0-1
Followup-For: Bug #1104413
X-Debbugs-Cc: [email protected]

Dear Maintainer,

LabPlot crashes on startup when the cantor package is not installed.

Steps to reproduce:
  1. Install labplot without cantor installed.
  2. Run: labplot

Actual result:
  LabPlot crashes immediately with SIGSEGV.

Expected result:
  LabPlot should start normally, or disable/hide notebook/CAS integration if 
Cantor is not installed.

Workaround:
  Installing the cantor package fixes the crash:
  sudo apt install cantor

Backtrace with debug symbols:

Thread 1 "labplot" received signal SIGSEGV, Segmentation fault.
0x00005555557d5584 in MainWin::initGUI(...) at ./src/frontend/MainWin.cpp:291

Relevant source line:
  m_tbNotebook->setDefaultAction(!m_lastUsedNotebookAction ? 
m_newNotebookMenu->actions().first() : m_lastUsedNotebookAction);

This suggests that m_newNotebookMenu->actions() can be empty, despite the 
nearby comment saying the menu always contains at least the configure CAS 
action.

The crash also happened with the official trixie/stable package before I 
rebuilt 2.12.1 locally, so this is not caused by my local backport.

-- System Information:
Debian Release: 13.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages labplot depends on:
ii  kio6                                   6.13.0-6
ii  labplot-data                           2.12.0-1
ii  libc6                                  2.41-12+deb13u3
ii  libcantorlibs28abi2                    4:25.04.2-3
ii  libcerf2                               2.4-2
ii  libcfitsio10t64                        4.6.2-2
ii  libfftw3-double3                       3.3.10-2+b1
ii  libgcc-s1                              14.2.0-19
ii  libgsl28                               2.8+dfsg-5
ii  libgslcblas0                           2.8+dfsg-5
ii  libhdf5-310                            1.14.5+repack-3
ii  libixion-0.18-0                        0.19.0-7
ii  libkf6archive6                         6.13.0-2
ii  libkf6colorscheme6                     6.13.0-1
ii  libkf6completion6                      6.13.0-1
ii  libkf6configcore6                      6.13.0-2
ii  libkf6configgui6                       6.13.0-2
ii  libkf6configwidgets6                   6.13.0-1
ii  libkf6coreaddons6                      6.13.0-1
ii  libkf6crash6                           6.13.0-1
ii  libkf6i18n6                            6.13.0-1
ii  libkf6iconthemes6                      6.13.0-2
ii  libkf6kiowidgets6                      6.13.0-6
ii  libkf6parts6                           6.13.0-1
ii  libkf6purpose-bin                      6.13.0-1
ii  libkf6purpose6                         6.13.0-1
ii  libkf6purposewidgets6                  6.13.0-1
ii  libkf6syntaxhighlighting6              6.13.0-1
ii  libkf6textwidgets6                     6.13.0-1
ii  libkf6userfeedbackcore6                6.13.0-1
ii  libkf6userfeedbackwidgets6             6.13.0-1
ii  libkf6widgetsaddons6                   6.13.0-1
ii  libkf6xmlgui6                          6.13.0-1
ii  liblz4-1                               1.10.0-4
ii  libmarkdown2                           2.2.7-2.1
ii  libmatio13                             1.5.28-2
ii  libnetcdf22                            1:4.9.3-1
ii  liborcus-0.18-0                        0.19.2-6+b1
ii  liborcus-parser-0.18-0                 0.19.2-6+b1
ii  liborcus-spreadsheet-model-0.18-0      0.19.2-6+b1
ii  libpoppler-qt6-3t64                    25.03.0-5+deb13u2
ii  libqt6core6t64 [qt6-base-private-abi]  6.8.2+dfsg-9+deb13u2
ii  libqt6gui6                             6.8.2+dfsg-9+deb13u2
ii  libqt6network6                         6.8.2+dfsg-9+deb13u2
ii  libqt6printsupport6                    6.8.2+dfsg-9+deb13u2
ii  libqt6serialport6                      6.8.2-3
ii  libqt6sql6                             6.8.2+dfsg-9+deb13u2
ii  libqt6svg6                             6.8.2-3
ii  libqt6widgets6                         6.8.2+dfsg-9+deb13u2
ii  libqt6xml6                             6.8.2+dfsg-9+deb13u2
ii  libreadstat1t64                        1.1.9-4
ii  libstdc++6                             14.2.0-19
ii  libxcb1                                1.17.0-2+b1
ii  libzstd1                               1.5.7+dfsg-1
ii  zlib1g                                 1:1.3.dfsg+really1.3.1-1+b1

labplot recommends no packages.

labplot suggests no packages.

-- no debconf information

Reply via email to