GNOME Bugzilla – Bug 570285
Use of g_return_if_fail to catch data errors
Last modified: 2018-05-22 12:54:18 UTC
Version: r1040 OS: Ubuntu Intrepid Steps to reproduce: - Download Attachment 104243 [details] (.xls file from Bug 513831) - ssconvert attachment.xls /tmp/foo.txt Console output: libgsf:msole-CRITICAL **: ole_dirent_new: assertion `!seen_before[entry]' failed libgsf:msole-CRITICAL **: ole_dirent_new: assertion `!seen_before[entry]' failed libgsf:msole-CRITICAL **: ole_dirent_new: assertion `!seen_before[entry]' failed Backtrace: (gdb) bt
+ Trace 212145
Well, that was how bug 513831 got fixed. I guess we could make our own g_return_... macros, but I am not sure that leaves us better off.
This stacktrace here was matched by the dup finder from the stacktrace filed today on Launchpad at https://launchpad.net/bugs/325902 I'll attach the trace, can you decide if the root cause is the same?
Created attachment 128064 [details] Trace from https://launchpad.net/bugs/325902
Retitling to reflect that the problem is the use of g_return_if_fail or its _val_ variant.
Re https://launchpad.net/bugs/325902 Insufficient data to determine whether the bugs are the same. This bug will only create a crash if glib is asked to abort on criticals. A sample file would be useful.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgsf/issues/3.