Bug#1032834: freecad: Segmentation fault while redoing

2024-07-25 Thread Tobias Frost
Control: tags -1 moreinfo
Control: close -1

As not additional information has been provided, closing.
(The bug can be reopened with addtional informations, if needed, of
course)



Bug#1032834: freecad: Segmentation fault while redoing

2023-07-05 Thread Petter Reinholdtsen
Is there any chance you can recreate the crash with debug symbols
installed using valgrind?  It would provide more information about
exactly why it crashes.

-- 
Happy hacking
Petter Reinholdtsen



Bug#1032834: freecad: Segmentation fault while redoing

2023-03-27 Thread Bernhard Übelacker

Why isn't there a symbol package, just for some ports?


Hello Patrick,
there are symbol packages for nearly all Debian packages nowadays.
You can add the debug component [1] to be able to install the dbgsym packages,
or if you like you can just use the DEBUGINFOD_URLS environment variable [2].

Kind regards,
Bernhard

[1] https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
[2] 
https://wiki.debian.org/HowToGetABacktrace#Automatically_loading_debugging_symbol_from_the_Internet



Bug#1032834: freecad: Segmentation fault while redoing

2023-03-12 Thread Patrik Kluba
Package: freecad
Version: 0.20.2+dfsg1-4
Severity: important
Tags: upstream
X-Debbugs-Cc: kpajk...@gmail.com

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

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

Versions of packages freecad depends on:
ii  freecad-python3  0.20.2+dfsg1-4

Versions of packages freecad recommends:
ii  calculix-ccx  2.20-1
ii  graphviz  2.42.2-7+b3

Versions of packages freecad suggests:
pn  povray  

-- no debconf information

Hi,

I've started tinkering with FreeCad this morning and hit an irritating bug at 
least 3 times,
leading to loosing my model once. The bug seems quite repeatable, so I've tried 
to prevent
it by using undo-redo less, but it's easy to accidentally doing it without 
paying attention,
like happened to me last time.

Reproduction steps:
- draw a few lines
- undo
- redo
- undo
- redo
- draw a few more lines
- undo
- redo
- ...
- join lines
- undo
- redo
- delete line
- undo
- redo
- ...

Basically it hits when adding a new line, when deleting a line, or joining 
lines. But it
happens as well for undoing-redoing more complex operations.

The same issue is reported here:
https://forum-freecad-org.translate.goog/viewtopic.php?p=585510&_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=hu&_x_tr_pto=wapp

Here's a stack trace:

#0  0x771ff210 in Gui::Document::handleChildren3D(Gui::ViewProvider*, 
bool) () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#1  0x771fb536 in Gui::Document::redo(int) () from 
/usr/lib/freecad-python3/lib/libFreeCADGui.so
#2  0x774bb1e3 in Gui::View3DInventor::onMsg(char const*, char const**) 
() from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#3  0x771b6b49 in Gui::Application::sendMsgToActiveView(char const*, 
char const**) () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#4  0x7725043f in Gui::Command::_invoke(int, bool) () from 
/usr/lib/freecad-python3/lib/libFreeCADGui.so
#5  0x772507a3 in Gui::Command::invoke(int, 
Gui::Command::TriggerSource) () from 
/usr/lib/freecad-python3/lib/libFreeCADGui.so
#6  0x74ce8f7c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x7595c782 in QAction::triggered(bool) () from 
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x7595f3ab in QAction::activate(QAction::ActionEvent) () from 
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x7595ff7d in QAction::event(QEvent*) () from 
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x75962fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x772270e8 in Gui::GUIApplication::notify(QObject*, QEvent*) () 
from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#12 0x74cb16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x7516c76b in QShortcutMap::dispatchEvent(QKeyEvent*) () from 
/lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x7516d0bb in QShortcutMap::tryShortcut(QKeyEvent*) () from 
/lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x75115376 in QWindowSystemInterface::handleShortcutEvent(QWindow*, 
unsigned long, int, QFlags, unsigned int, unsigned int, 
unsigned int, QString const&, bool, unsigned short) () from 
/lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x751390cd in 
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
 () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x75111cac in 
QWindowSystemInterface::sendWindowSystemEvents(QFlags)
 () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x7fffeea20eba in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x72dd77a9 in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x72dd7a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x72dd7acc in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x74d09836 in 
QEventDispatcherGlib::processEvents(QFlags) () 
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x74cb017b in 
QEventLoop::exec(QFlags) () from 
/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x74cb82d6 in QCoreApplication::exec() () from 
/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x771c3a42 in Gui::Application::runApplication() () from 
/usr/lib/freecad-python3/lib/libFreeCADGui.so
#26 0x8c01 in ?? ()
#27 0x7fffdc98 in ?? ()
#28 0x74816de0 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#29 0x74816d20 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#30 0x in ?? ()

(g