edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] curl seg fault
@ 2015-01-14 12:05 Karl Dahlke
  2015-01-14 12:33 ` Chris Brannon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Karl Dahlke @ 2015-01-14 12:05 UTC (permalink / raw)
  To: Edbrowse-dev

If you would pull the latest, and then see if you can reproduce my seg fault,
because it is very very strange.
I think it's another curl thing so hoping Chris can help me here.

First, my latest push fixes a small bug wherein
r filename
would offer to download that file in certain cases.
But if you are commanding to read it into the buffer
then you never want to download it.
That was a one line fix, but did not fix or affect the following bug.

Bring up edbrowse with no args, an empty buffer, and then

r https://login.persona.org/include.js

Type qt to quit, bypassing as much machinery as possible.
seg fault.

This test does not involve javascript at all,
the process is never launched.

The seg fault goes away if you comment out the line
        curl_global_cleanup();
in main.c line 933.

Here's the interesting part; the seg fault also goes away, at least for me,
if you type vs first.
Don't verify certificates.
Read in the file as usual, and quit, and all is well.
What's up with that???
It means if you can't reproduce it it might depend on my local cert file.
It might depend on a lot of things.
Wonder if it is yet another bug in my somewhat older open ssl,
but damnit it's not that much older!

An unrelated question: bgl tracks and displays background downloads,
should it also track and display foreground downloads?
Obviously none of these will ever be in the in progress state.

Karl Dahlke

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-15 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14 12:05 [Edbrowse-dev] curl seg fault Karl Dahlke
2015-01-14 12:33 ` Chris Brannon
2015-01-15 15:21 ` Adam Thompson
2015-01-15 15:27 ` [Edbrowse-dev] bgl command Adam Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).