mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #241] SIGSEGV on Linux (Debian 9.0) #195
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hdijkema on GitHub (Aug 14, 2019).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/241
Originally assigned to: @jmcnamara on GitHub.
When I issue a 'workbook_close' on linux, I get a segmentation fault when zipOpen is called:
Line 109 in packager.c:
I don't understand why. I built the latest github clone, using the following commands:
Build log:
Actual building:
On windows the code works without any problems.
@jmcnamara commented on GitHub (Aug 14, 2019):
What is the return code/error when you compile and run the anatomy.c program in the examples directory?:
https://github.com/jmcnamara/libxlsxwriter/blob/master/examples/anatomy.c
@hdijkema commented on GitHub (Aug 14, 2019):
I tried using the system minizip, e.g. it could be using the wrong minizip functions at runtime?
because minizip is installed as library on the system?
So I installed libminizip-dev and compiled again using -DUSE_SYSTEM_MINIZIP=On
But it didn't change the behaviour.
@hdijkema commented on GitHub (Aug 14, 2019):
https://github.com/jmcnamara/libxlsxwriter/blob/master/examples/anatomy.c
works fine.
It could be some overlap. Multiple minizip's in the linked libraries (included as "third party"). I'm also using QuaZip in my project.
@jmcnamara commented on GitHub (Aug 14, 2019):
In that case it is probably a build/link issue in your app and I'm probably not going to be able to help you much.
But if you can reproduce it with a simple program or find an issue in the CMake build let me know and I'll take a look.
Closing for now.
@hdijkema commented on GitHub (Aug 15, 2019):
You can leave it closed. It was indeed a problem with multiple linked libraries that were included as 'third-party' (clash quazip / libxlsxwriter).
@jmcnamara commented on GitHub (Aug 15, 2019):
@hdijkema Thanks for letting me know.