Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351813

Summary: Segfault in www-client/httrack-3.43.9
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace output
GDB Backtrace
My emerge --info

Description Michael Orlitzky gentoo-dev 2011-01-16 00:16:23 UTC
I've tested this on the amd64, ~amd64, and even the latest out-of-tree version with the same results.

Basically, whenever I pass the -d flag to httrack, I get a segfault. For example:

  $ httrack -d -v -s0 -%F "" -I0 -%I0 --do-not-log -%x -C0 \
    http://michael.orlitzky.com/
  Segmentation fault

Without the -d, it works,

  $ httrack -D -v -s0 -%F "" -I0 -%I0 --do-not-log -%x -C0 \
    http://michael.orlitzky.com/
  ...

just fine.

I'll attach strace, gdb backtrace, and emerge --info. Most of my system was compiled hardened, so if there's anything useful missing from the backtrace you'll have to let me know.
Comment 1 Michael Orlitzky gentoo-dev 2011-01-16 00:18:14 UTC
Created attachment 259986 [details]
strace output
Comment 2 Michael Orlitzky gentoo-dev 2011-01-16 00:18:38 UTC
Created attachment 259987 [details]
GDB Backtrace
Comment 3 Michael Orlitzky gentoo-dev 2011-01-16 00:19:24 UTC
Created attachment 259988 [details]
My emerge --info
Comment 4 Michael Orlitzky gentoo-dev 2011-05-31 15:05:27 UTC
Still occurring in httrack-3.44.1 for what it's worth.
Comment 5 Pacho Ramos gentoo-dev 2012-02-09 12:34:59 UTC
(In reply to comment #4)
> Still occurring in httrack-3.44.1 for what it's worth.

and what about -r1?
Comment 6 Michael Orlitzky gentoo-dev 2012-02-09 15:07:33 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Still occurring in httrack-3.44.1 for what it's worth.
> 
> and what about -r1?

Same thing, unfortunately.

>>> Installing (2 of 2) www-client/httrack-3.44.1-r1
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
$ httrack -d -v -s0 -%F "" -I0 -%I0 --do-not-log -%x -C0 \
  http://michael.orlitzky.com/

Segmentation fault
Comment 7 Pacho Ramos gentoo-dev 2012-02-09 20:32:24 UTC
Can you try bumping it to 3.44.4 version locally?
Comment 8 Michael Orlitzky gentoo-dev 2012-02-09 20:55:25 UTC
(In reply to comment #7)
> Can you try bumping it to 3.44.4 version locally?

Yup, same result.
Comment 9 Pacho Ramos gentoo-dev 2012-02-09 21:16:26 UTC
Looks like an upstream problem to me, try reporting this to them:
http://forum.httrack.com/
Comment 10 Michael Orlitzky gentoo-dev 2012-02-09 21:23:38 UTC
Done, thanks:

  http://forum.httrack.com/readmsg/27815/index.html
Comment 11 Pacho Ramos gentoo-dev 2012-02-09 21:26:52 UTC
If you get any update on that problem upstream that could help to solve this on Gentoo, please comment it here (I cannot track it directly as I am really not taking care of the ton of orphan packages assigned to maintainer-needed, I simply try to help a bit with them :))
Comment 12 Xavier Roche 2012-02-11 13:26:43 UTC
Should be fixed in 3.44.5 release.

By the way, the issue should have been fixed a long time ago -- I did not see it until very recently. Do not hesitate to cross-report the issue to the Debian bug tracking (http://packages.qa.debian.org/h/httrack.html) :p
Comment 13 Michael Orlitzky gentoo-dev 2012-02-11 14:19:50 UTC
(In reply to comment #12)
> Should be fixed in 3.44.5 release.

Confirmed, thank you!
Comment 14 Pacho Ramos gentoo-dev 2012-02-11 14:26:01 UTC
+*httrack-3.44.5 (11 Feb 2012)
+
+  11 Feb 2012; Pacho Ramos <pacho@gentoo.org> +httrack-3.44.5.ebuild,
+  -httrack-3.44.1-r1.ebuild, -httrack-3.44.1.ebuild:
+  Version bump (should fix bug #351813 by Michael Orlitzky and Xavier Roche),
+  install docs in proper place (bug #241466 by flameeyes and Gef Lebster). Drop
+  old.
+