https://bugs.kde.org/show_bug.cgi?id=469367
Bug ID: 469367 Summary: Segmentation fault when trying to open an Origin file. Classification: Applications Product: LabPlot2 Version: 2.10.0 Platform: Archlinux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: backend Assignee: alexander.se...@web.de Reporter: acast2...@gmail.com Target Milestone: --- SUMMARY The program drops a segmentation fault when trying to open an OriginLab file. STEPS TO REPRODUCE 1. Open labplot2 from Terminal 2. Open the "Open" dialog from the menu, locate the file 3. Click open OBSERVED RESULT Segmentation fault EXPECTED RESULT File should open SOFTWARE/OS VERSIONS Linux: Arch Linux Labplot2 and its dependencies installed from the official repositories. ADDITIONAL INFORMATION Backtrace (&possibly some more info): [New Thread 0x7fffbbfff6c0 (LWP 18937)] [Thread 0x7fffbbfff6c0 (LWP 18937) exited] QItemSelectionModel: Selecting when no model has been set will result in a no-op. QItemSelectionModel: Selecting when no model has been set will result in a no-op. sitems ASPECT = Project(0x55555676ce80) items ASPECT = Project(0x55555676ce80) void MainWin::handleCurrentAspectChanged(AbstractAspect*) void ProjectParser::importTo(Folder*, const QStringList&), starting import of /home/aleksandar/Downloads/UI karakteristika.opj void ProjectParser::importTo(Folder*, const QStringList&) , selected pathes: () virtual bool OriginProjectParser::load(Project*, bool) virtual bool OriginProjectParser::load(Project*, bool), project tree found bool OriginProjectParser::loadFolder(Folder*, tree<Origin::ProjectNode>::iterator, bool) * folder item name = Folder1 bool OriginProjectParser::loadFolder(Folder*, tree<Origin::ProjectNode>::iterator, bool), top level FOLDER bool OriginProjectParser::loadFolder(Folder*, tree<Origin::ProjectNode>::iterator, bool) * folder item name = Book1 bool OriginProjectParser::loadFolder(Folder*, tree<Origin::ProjectNode>::iterator, bool), top level SPREADSHEET bool OriginProjectParser::loadSpreadsheet(Spreadsheet*, bool, const QString&, int), own/workbook name = Book1, sheetIndex = -1 bool OriginProjectParser::loadSpreadsheet(Spreadsheet*, bool, const QString&, int), cols/maxRows = 2/32 bool OriginProjectParser::loadSpreadsheet(Spreadsheet*, bool, const QString&, int), column 0, name = A bool OriginProjectParser::loadSpreadsheet(Spreadsheet*, bool, const QString&, int), column 1, name = B * folder item name = Graph1 bool OriginProjectParser::loadFolder(Folder*, tree<Origin::ProjectNode>::iterator, bool), top level GRAPH void Worksheet::handleAspectAdded(const AbstractAspect*) bool OriginProjectParser::loadWorksheet(Worksheet*, bool), preview = false bool OriginProjectParser::loadWorksheet(Worksheet*, bool), worksheet name = Graph1 Thread 1 "labplot2" received signal SIGSEGV, Segmentation fault. Origin::GraphLayer::is3D (this=0x5555565b28b0) at /usr/src/debug/labplot/labplot-2.10.0/src/3rdparty/liborigin/OriginObj.h:1051 Downloading source file /usr/src/debug/labplot/labplot-2.10.0/src/3rdparty/liborigin/OriginObj.h [### [ ### 1051 switch (c.type) { (gdb) set logging enabled on Copying output to gdb.txt. Copying debug output to gdb.txt. (gdb) thread apply all backtrace full Thread 10 (Thread 0x7fffca7fc6c0 (LWP 18758) "labplot2:sh5"): #0 0x00007ffff4a99f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55555614dbe8) at futex-internal.c:57 sc_cancel_oldtype = 0 __arg6 = <optimized out> __arg3 = <optimized out> _a5 = <optimized out> _a2 = <optimized out> sc_ret = <optimized out> __arg4 = <optimized out> __arg1 = <optimized out> _a6 = <optimized out> _a3 = <optimized out> resultvar = <optimized out> __arg5 = <optimized out> __arg2 = <optimized out> _a4 = <optimized out> _a1 = <optimized out> #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55555614dbe8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 err = <optimized out> clockbit = 256 op = 393 #2 0x00007ffff4a99f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55555614dbe8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 No locals. #3 0x00007ffff4a9c7a0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555614db98, cond=0x55555614dbc0) at pthread_cond_wait.c:503 spin = 0 buffer = {__routine = 0x7ffff4a9c510 <__condvar_cleanup_waiting>, __arg = 0x7fffca7fb960, __canceltype = 0, __prev = 0x0} cbuffer = {wseq = 10, cond = 0x55555614dbc0, mutex = 0x55555614db98, private = 0} err = <optimized out> g = 0 flags = <optimized out> g1_start = <optimized out> --Type <RET> for more, q to quit, c to continue without paging-- maxspin = 0 signals = <optimized out> result = 0 wseq = 10 seq = 5 private = 0 maxspin = <optimized out> err = <optimized out> result = <optimized out> wseq = <optimized out> g = <optimized out> seq = <optimized out> flags = <optimized out> private = <optimized out> signals = <optimized out> done = <optimized out> g1_start = <optimized out> spin = <optimized out> buffer = <optimized out> cbuffer = <optimized out> s = <optimized out> #4 ___pthread_cond_wait (cond=0x55555614dbc0, mutex=0x55555614db98) at pthread_cond_wait.c:618 No locals. #5 0x00007fffe60c256c in cnd_wait () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:135 No locals. #6 util_queue_thread_func () at ../mesa-23.0.3/src/util/u_queue.c:290 No locals. #7 0x00007fffe610b98c in impl_thrd_routine () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:67 No locals. #8 0x00007ffff4a9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444 ret = <optimized out> pd = <optimized out> out = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737298157936, -1334793560527558149, -296, 19, 140737488338624, 140736582369280, 1334834240407644667, 1334812646094055931}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} --Type <RET> for more, q to quit, c to continue without paging-- not_first_call = <optimized out> #9 0x00007ffff4b20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 No locals. Thread 9 (Thread 0x7fffcaffd6c0 (LWP 18757) "labplot2:sh4"): #0 0x00007ffff4a99f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55555614dbe8) at futex-internal.c:57 sc_cancel_oldtype = 0 __arg6 = <optimized out> __arg3 = <optimized out> _a5 = <optimized out> _a2 = <optimized out> sc_ret = <optimized out> __arg4 = <optimized out> __arg1 = <optimized out> _a6 = <optimized out> _a3 = <optimized out> resultvar = <optimized out> __arg5 = <optimized out> __arg2 = <optimized out> _a4 = <optimized out> _a1 = <optimized out> #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55555614dbe8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 err = <optimized out> clockbit = 256 op = 393 #2 0x00007ffff4a99f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55555614dbe8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 No locals. #3 0x00007ffff4a9c7a0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555614db98, cond=0x55555614dbc0) at pthread_cond_wait.c:503 spin = 0 buffer = {__routine = 0x7ffff4a9c510 <__condvar_cleanup_waiting>, __arg = 0x7fffcaffc960, __canceltype = 0, __prev = 0x0} cbuffer = {wseq = 8, cond = 0x55555614dbc0, mutex = 0x55555614db98, private = 0} err = <optimized out> --Type <RET> for more, q to quit, c to continue without paging-- g = 0 flags = <optimized out> g1_start = <optimized out> maxspin = 0 signals = <optimized out> result = 0 wseq = 8 seq = 4 private = 0 maxspin = <optimized out> err = <optimized out> result = <optimized out> wseq = <optimized out> g = <optimized out> seq = <optimized out> flags = <optimized out> private = <optimized out> signals = <optimized out> done = <optimized out> g1_start = <optimized out> spin = <optimized out> buffer = <optimized out> cbuffer = <optimized out> s = <optimized out> #4 ___pthread_cond_wait (cond=0x55555614dbc0, mutex=0x55555614db98) at pthread_cond_wait.c:618 No locals. #5 0x00007fffe60c256c in cnd_wait () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:135 No locals. #6 util_queue_thread_func () at ../mesa-23.0.3/src/util/u_queue.c:290 No locals. #7 0x00007fffe610b98c in impl_thrd_routine () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:67 No locals. #8 0x00007ffff4a9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444 ret = <optimized out> pd = <optimized out> --Type <RET> for more, q to quit, c to continue without paging-- out = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737298157936, -1334793560527558149, -296, 19, 140737488338624, 140736590761984, 1334835341529885179, 1334812646094055931}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #9 0x00007ffff4b20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 No locals. Thread 8 (Thread 0x7fffcb7fe6c0 (LWP 18756) "labplot2:sh3"): #0 0x00007ffff4a99f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55555614dbe8) at futex-internal.c:57 sc_cancel_oldtype = 0 __arg6 = <optimized out> __arg3 = <optimized out> _a5 = <optimized out> _a2 = <optimized out> sc_ret = <optimized out> __arg4 = <optimized out> __arg1 = <optimized out> _a6 = <optimized out> _a3 = <optimized out> resultvar = <optimized out> __arg5 = <optimized out> __arg2 = <optimized out> _a4 = <optimized out> _a1 = <optimized out> #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55555614dbe8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 err = <optimized out> clockbit = 256 op = 393 #2 0x00007ffff4a99f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55555614dbe8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 No locals. #3 0x00007ffff4a9c7a0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555614db98, cond=0x55555614dbc0) at pthread_cond_wait.c:503 spin = 0 --Type <RET> for more, q to quit, c to continue without paging-- buffer = {__routine = 0x7ffff4a9c510 <__condvar_cleanup_waiting>, __arg = 0x7fffcb7fd960, __canceltype = 0, __prev = 0x0} cbuffer = {wseq = 6, cond = 0x55555614dbc0, mutex = 0x55555614db98, private = 0} err = <optimized out> g = 0 flags = <optimized out> g1_start = <optimized out> maxspin = 0 signals = <optimized out> result = 0 wseq = 6 seq = 3 private = 0 maxspin = <optimized out> err = <optimized out> result = <optimized out> wseq = <optimized out> g = <optimized out> seq = <optimized out> flags = <optimized out> private = <optimized out> signals = <optimized out> done = <optimized out> g1_start = <optimized out> spin = <optimized out> buffer = <optimized out> cbuffer = <optimized out> s = <optimized out> #4 ___pthread_cond_wait (cond=0x55555614dbc0, mutex=0x55555614db98) at pthread_cond_wait.c:618 No locals. #5 0x00007fffe60c256c in cnd_wait () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:135 No locals. #6 util_queue_thread_func () at ../mesa-23.0.3/src/util/u_queue.c:290 No locals. #7 0x00007fffe610b98c in impl_thrd_routine () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:67 No locals. --Type <RET> for more, q to quit, c to continue without paging--q Quit (gdb) exit A debugging session is active. Inferior 1 [process 18678] will be killed. Quit anyway? (y or n) y -- You are receiving this mail because: You are watching all bug changes.