Liferea crashes during "Update All Feeds" and deleting a folder

Bug #134086 reported by Juan Carlos Inostroza
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Liferea
Unknown
Unknown
liferea (Ubuntu)
Fix Released
Medium
Emilio Pozuelo Monfort

Bug Description

Binary package hint: liferea

1.- Install Liferea
2.- Run liferea
3.- Press "Update All"
4.- During the update process (with the default feeds) right-click on OSS and select "Delete"
5.- Confirm Delete
6.- Wait a couple of seconds. Instant crash. The message on the terminal reads

Liferea did receive signal 11 (Segmentation fault).

Related branches

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in liferea:
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Juan Carlos Inostroza (jci) wrote :

Bug confirmed in Feisty and Gutsy.

Revision history for this message
Juan Carlos Inostroza (jci) wrote :

Backtrace:

#0 0xb731b56b in strlen () from /lib/tls/i686/cmov/libc.so.6
#1 0xb751cc6e in g_strdup () from /usr/lib/libglib-2.0.so.0
#2 0x0806d6ba in network_process_request ()
#3 0x08073b48 in update_execute_request_sync ()
#4 0x08073ed9 in ?? ()
#5 0x088860b8 in ?? ()
#6 0xb683a398 in ?? ()
#7 0x08073340 in ?? ()
#8 0x00000000 in ?? ()

Revision history for this message
Pedro Villavicencio (pedro) wrote :

that trace is not really helpful, may you try again? please install the -dbg packages.

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Sometimes i'm able to reproduce the bugs, sometimes no.
Anyway the gdb trace goes as atthachment.

Revision history for this message
Basilio Kublik (sourcercito) wrote :

what i meant before is that i can reproduce this bug sometimes, not every time.

Changed in liferea:
status: Incomplete → New
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I can't reproduce this with 1.4.2 under Gutsy.

Could you try installing it from http://ppa.launchpad.net/pochu/ubuntu/pool/main/l/liferea/ , and trying again?

Thanks
Emilio

Changed in liferea:
assignee: nobody → pochu
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this report since no more information has been provided, feel free to re open it if you may install the package Emilio asked you for. thanks.

Changed in liferea:
status: Incomplete → Invalid
Revision history for this message
Federico Belvisi (armalite) wrote :
Download full text (3.7 KiB)

I have similar behaviour. Below is my liferea --debug-all. I think this is relevant to you, before this message the output seems not to have encountered errors.

.... (similar rows as the next one)....
DB: loading item 7443 (thread=0x80bdb58)
DB: loading item 7489 (thread=0x80bdb58)
DB: loading item 7490 (thread=0x80bdb58)
DB: Could not load item with id #7490 (error code 0)!
UPDATE: trying to merge "Manovra, si' Commissione Bilancio" to node id "fhrjijc"
CACHE: check new item for merging: "Manovra, si' Commissione Bilancio"

Liferea did receive signal 11 (Segmentation fault).
You have propably triggered a program bug. I will now try to
create a backtrace which you can attach to any support requests.

NET: received HTTP response for socket 29
NET: read 4096 bytes from socket 1348
NET: read HTTP status "200" for socket 29
NET: processing header line from socket 29 >>> Date: Fri, 02 Nov 2007 13:22:24 GMT

NET: processing header line from socket 29 >>> Server: BSOCOM

NET: processing header line from socket 29 >>> Last-Modified: Fri, 02 Nov 2007 10:51:56 GMT

NET: -> last modified "Fri, 02 Nov 2007 10:51:56 GMT"
NET: processing header line from socket 29 >>> ETag: "f8707-4167-472b014c"

NET: -> etag ""f8707-4167-472b014c""
NET: processing header line from socket 29 >>> Accept-Ranges: bytes

NET: processing header line from socket 29 >>> Content-Length: 16743

NET: processing header line from socket 29 >>> Connection: close

NET: processing header line from socket 29 >>> Content-Type: text/xml

NET: -> content type "text/xml"
NET: processing header line from socket 29 >>>

NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 1348
NET: read 4096 bytes from socket 802
NET: read 4096 bytes from socket 0
NET: read 16743 bytes message body from socket 29
NET: closed socket 29
UPDATE: download result - HTTP status: 200, error: 0, netio error:0, data: -1296001640
UPDATE: request (http:) finished
UPDATE: processing request (http://europe.nokia.com/EUROPE_NOKIA_COM_3/Get_Support/Software/Device_software_update/nsunews.xml)
UPDATE: downloading http://europe.nokia.com/EUROPE_NOKIA_COM_3/Get_Support/Software/Device_software_update/nsunews.xml
NET: downloading url=/EUROPE_NOKIA_COM_3/Get_Support/Software/Device_software_update/nsunews.xml host=europe.nokia.com
NET: NetConnect() (with getaddrinfo)
NET: host=europe.nokia.com port=80
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb743914b in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7518965 in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0
#3 0x08075189 in fatal_signal_handler (sig=10640) at main.c:110
#4 <signal handler called>
#5 0x0806a6d7 in item_get_id (item=0x8c22aa8) at item.c:128
#6 0x0806f00b in node_merge_items (node=0x85bc448, items=0x89dd2c0)
#7 0x08067e87 in feed_process_update_result (node=0x85bc448,
#8 0x08073166 in ...

Read more...

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

Reopening.

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

Federico, what Ubuntu and Liferea release do you have?

Changed in liferea:
status: New → Incomplete
Changed in liferea:
assignee: nobody → pochu
Revision history for this message
Federico Belvisi (armalite) wrote :

I have Ubuntu Gutsy:

fritz@hyperion:~$ uname -a
Linux hyperion 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

fritz@hyperion:~$ liferea --version
liferea 1.4.4

if you need more info just ask.

Changed in liferea:
assignee: pochu → nobody
status: Incomplete → Confirmed
Revision history for this message
Federico Belvisi (armalite) wrote :

Some more info: I had to delete liferea.db and liferea.db-journal in order to have liferea working again. Also, crash occours during the automatic update feeds when liferea starts, so it is a little different from the original poster bug (who deletes the a feeds folder). I have a backup copy of liferea.db and the whole ~/.liferea-1.4 directory, if you need to investigate that.

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

Federico, if it's a different bug, please report a new one. Also, attach a backtrace (https://wiki.ubuntu.com/Backtrace) to it, and the steps to reproduce it (if possible).

Thanks.

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

Should be fixed in svn, to be released with 1.4.7

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

liferea (1.4.7-0ubuntu1) hardy; urgency=low

  * New upstream release. LP: #154727, #156303, #141158, LP: #134086,
    LP: #125896.
  * debian/control: change liblua50-dev to liblualib50-dev, so configure
    recognizes LUA50. This builds the Script Manager. LP: #158422.
  * debian/patches/10_from_upstream_fixes_lp_151217.dpatch,
    debian/patches/20_from_upstream_fix_sql_join_lp_141155.dpatch,
    debian/patches/30_from_upstream_workaround_data_loss_lp_138208.dpatch:
    - Removed, fixed upstream.

  * Merge from Debian unstable, remaining Ubuntu changes:
    - debian/control:
      + Added firefox-dev and intltool to build-deps.
      + Removed libxul-dev and libwebkitgtk-dev from build-deps.
      + Build-depend on liblualib50-dev instead of liblua5.1-0-dev.
      + Changed Maintainer field to match DebianMaintainerSpec.
      + Added firefox to liferea dependencies.
      + Do not build transitional packages (not required due to Conflicts/
        Provides/Replaces).
      + Do not build webkit package.
    - debian/rules:
      + Call intltool-update -p to generate translation template for Rosetta
      + Don't disable gecko, and don't enable xulrunner and webkit.
    - debian/liferea-webkit.files:
      + Not needed. We don't build the webkit rendering plugin.

liferea (1.4.6-1) unstable; urgency=low

  * New upstream releases.
   1.4.5b:
   - Fixes use of sqlite3_free, avoiding crashing when using with sqlite
    3.5 (Closes: #446050).

   1.4.6:
   - No longer segfaults when selecting empty folder (Closes: #445457).
   - Fixes loss of customized feed titles (Closes: #443413).
   - Various other bug fixes not reported in Debian, see upstream changelog.

  * debian/control:
   - Correct typo in liferea-webkit description (Closes: #446109).
   - Remove XS- prefix from Vcs-* fields.
   - Move Homepage from description into propper field.

liferea (1.4.5-1) unstable; urgency=low

  * New upstream releases.
   1.4.3b:
   - Better handling of extra XML namespaces (Closes: #430782).
   - Avoid dropping flagged items from the cache (Closes: #442811, #443427).

   1.4.4:
   - Fixes assertion when cancelling feed updates using the update monitor
     dialog.
   - No longer tries to run scripts to retrieve favicons (Closes: #443751).
   - Reduces minimum window size (Closes: #434866).

   1.4.5:
   - Fixes crash when using "Select File" from the advanced subscribtion
    dialog (Closes: #445387).
   - Close and reopen database every 500 write attempts, to work around
    data loss on unclean termination (Closes: #445666).
   - Adapt WebKit plugin to renamed function names.

  * debian/rules: Add call to dh_icons, to register program icons with the
   Gtk icon cache. Thanks to Emilio Pozuelo Monfort for the suggestion.
  * debian/control: Update build-depends to libwebkitgtk-dev, the new name
    of the WebKit package.

 -- Emilio Pozuelo Monfort <email address hidden> Mon, 29 Oct 2007 23:14:45 +0100

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.

Other bug subscribers

Bug attachments

Remote bug watches

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