[apport] liferea-bin crashed with SIGSEGV in nsStandardURL::nsSegmentEncoder::EncodeSegmentCount()

Bug #98861 reported by Sam Williams
10
Affects Status Importance Assigned to Milestone
liferea (Ubuntu)
Fix Released
Medium
Emilio Pozuelo Monfort

Bug Description

Binary package hint: liferea

I was running liferea under Feisty Beta. I was attempting to use the <spacebar> to read through the articles in a feed when the error occurred. Only other major programs running on the system were thunderbird 2 beta2, gaim, and rhythmbox.

ProblemType: Crash
Architecture: i386
Date: Thu Mar 29 23:05:08 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/liferea-bin
Package: liferea 1.2.10b-0ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/liferea-bin
ProcCwd: /home/sam
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: liferea
StacktraceTop:
 nsStandardURL::nsSegmentEncoder::EncodeSegmentCount (
 nsStandardURL::BuildNormalizedSpec (this=0x9a7dc28,
 nsStandardURL::SetSpec (this=0x9a7dc28, input=@0xbf4b1970)
 nsStandardURL::Init (this=0x9a7dc28,
 NewURI (aSpec=@0xbf4b1970, aCharset=0x0, aBaseURI=0x0,
Uname: Linux samdesk 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dip floppy lpadmin plugdev scanner video

Related branches

Revision history for this message
Sam Williams (sam-williams) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report.

Changed in liferea:
importance: Undecided → Medium
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:nsStandardURL::nsSegmentEncoder::EncodeSegmentCount (this=0xbf4b1320, str=0x9a7dba0 "http://www.linuxcompatible.org/Logitech_Wingman_Attack_3_c13288.html",
nsStandardURL::BuildNormalizedSpec (this=0x9a7dc28, spec=0x9a7dba0 "http://www.linuxcompatible.org/Logitech_Wingman_Attack_3_c13288.html")
nsStandardURL::SetSpec (this=0x9a7dc28, input=@0xbf4b1970) at nsStandardURL.cpp:1119
nsStandardURL::Init (this=0x9a7dc28, urlType=<value optimized out>, defaultPort=80, spec=@0xbf4b1970, charset=0x0, baseURI=0x0) at nsStandardURL.cpp:2573
NewURI (aSpec=@0xbf4b1970, aCharset=0x0, aBaseURI=0x0, aDefaultPort=80, aURI=0xbf4b196c) at nsHttpHandler.cpp:128

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I've added a patch by Lars (the liferea developer) to fix this.
Please, test the liferea_1.2.10b-0ubuntu2.deb and liferea-mozilla_1.2.10b-0ubuntu2.deb from http://emilio.pozuelo.org/deb/
And report if solves the issue

Changed in liferea:
assignee: nobody → pochu
status: Unconfirmed → Needs Info
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Hello Sam

Please, install the liferea and liferea-mozilla packages from http://emilio.pozuelo.org/deb/ and run liferea with the following command:
liferea --debug-net --debug-verbose > liferea-net.log

Then crash liferea and attach the resulting file liferea-net.log

Thanks for testing

Changed in liferea:
status: Needs Info → Confirmed
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Sam, Janne:

Please, reinstall liferea again with the packages in http://emilio.pozuelo.org/deb/ and test. I think they fix your issue! It seems that a change in mozilla/mozembed.c caused this.

Thanks
Emilio

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I forgot to mention it, but you also have to reinstall liferea-mozilla (the package is in that url)

Revision history for this message
Janne Vanhala (jpvanhal) wrote :

I had to compile those packages myself since I'm on amd64 (not sure if I did it right), but here's the result of "liferea --debug-net --debug-verbose > liferea-net.log".

Revision history for this message
Janne Vanhala (jpvanhal) wrote :

Forgot to mention that the previous log was generated with the older patch. Noticed the new patch just a minute ago.

Revision history for this message
Janne Vanhala (jpvanhal) wrote :

The new patch fixed the issue for me.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Cool, thanks for confirming!

Changed in liferea:
status: Confirmed → In Progress
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Hello again!

Can you please test again the liferea and liferea-mozilla from http://emilio.pozuelo.org/deb/
The actual fix breaks the auto-load-link in external browser feature, so we are working in fix your crash without breaking it.

Thanks
Emilio

Revision history for this message
Janne Vanhala (jpvanhal) wrote :

Hi!

Liferea is segfaulting again with the new fix. With the previous fix everything was working fine for me, even the auto-load link in internal browser feature.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

This is fixed with the new 1.2.10c-0ubuntu1

Changed in liferea:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.