Bug #435

[Linux] segfault when adding bookmark

Added by Tom Sullivan about 10 years ago. Updated almost 10 years ago.

Status:FixedStart date:04/13/2011
Priority:NormalDue date:
Assignee:Tom Sullivan% Done:

100%

Category:Bookmarks
Target version:3.2
Found in version:2,99 Platform:

Description

When attempting to add a bookmark, I get a segfault as shown in the attached log.

I'm running Debian squeeze x86_64.

Showtime was built from git, configured with --disable-libpulse.

showtime.log (9.12 KB) Tom Sullivan, 04/13/2011 07:34 PM

notebook_lubuntu.log - 100% crash on notebook running lubuntu i686 (2.97 KB) Olivier Martin, 04/15/2011 03:46 AM

desktop_ubuntu.log - once only crash on desktop running ubuntu x86_64 (2.71 KB) Olivier Martin, 04/15/2011 03:46 AM

Associated revisions

Revision d5d5f02b
Added by Andreas Smas almost 10 years ago

glw: Fix problem with property cloneing when re-evaluating some view statements

Fixes #435

Change included in version 3.1.14

History

#1 Updated by Andreas Smas about 10 years ago

  • Category set to Bookmarks
  • Status changed from New to Accepted
  • Assignee set to Andreas Smas

#2 Updated by Andreas Smas about 10 years ago

  • Status changed from Accepted to Need feedback
  • Assignee changed from Andreas Smas to Tom Sullivan

I'm not able to reproduce the problem, does it happen every time?

#3 Updated by Olivier Martin about 10 years ago

I have the exact same crash log on my notebook (add bookmark) running lubuntu i686 with and Intel N10 integrated graphic controller (with same libvdpau_nvidia.so: cannot open shared object file)

mostly works fine on my desktop running ubuntu x86_64 with nVidia 8800 GTS (still missing libvdpau_nvidia.so); I did get a similar once-only crash on first launch that was unrelated to bookmarks, but related to prop_core; I could not repro this one consistently...

#4 Updated by Tom Sullivan about 10 years ago

For me this happens every time I attempt to add a bookmark.
I suspect the reference to libvdpau_nvidia.so isn't related to this, probably just reporting the fact that there isn't a VDPAU driver on the system. In any case, I reconfigured with:
'--disable-libpulse --disable-vdpau'
and rebuilt, but it still segfaults at the same point, with the same stack trace.
This is also after another git pull, which I noticed had some work done in glw.

#5 Updated by Tom Sullivan almost 10 years ago

I've reinstalled Debian squeeze, and for testing Slackware 13.1.
For both these installs, showtime segfaults at the same point, although it no longer prints the stack trace (Not sure why).
As per the gdb output below, the segfault line position is the same, but the backtrace is different with the addition of frame #1.

Program received signal SIGSEGV, Segmentation fault.
cloner_del_child (opaque=0xb1723628, event=PROP_DEL_CHILD) at /home/tom/Builds/showtime/src/ui/glw/glw_view_eval.c:1326
1326 assert(gpsp->gpsp_prop == p);
(gdb) bt
#0 cloner_del_child (opaque=0xb1723628, event=PROP_DEL_CHILD) at /home/tom/Builds/showtime/src/ui/glw/glw_view_eval.c:1326
#1 prop_callback_cloner (opaque=0xb1723628, event=PROP_DEL_CHILD) at /home/tom/Builds/showtime/src/ui/glw/glw_view_eval.c:1430
#2 0x0816f8da in prop_notify_dispatch (q=0xbfffe0b0) at /home/tom/Builds/showtime/src/prop/prop_core.c:599
#3 0x0816f99b in prop_courier_poll (pc=0xb2fba000) at /home/tom/Builds/showtime/src/prop/prop_core.c:3351
#4 0x0817b6b1 in glw_prepare_frame (gr=0x8323400, flags=0) at /home/tom/Builds/showtime/src/ui/glw/glw.c:494
#5 0x081a1806 in glw_x11_mainloop (ui=0x82a06c0, root=0x82fa5f0, argc=<value optimized out>, argv=0xbffff3ec, primary=1) at /home/tom/Builds/showtime/src/ui/glw/glw_x11.c:1148
#6 glw_x11_start (ui=0x82a06c0, root=0x82fa5f0, argc=<value optimized out>, argv=0xbffff3ec, primary=1) at /home/tom/Builds/showtime/src/ui/glw/glw_x11.c:1309
#7 0x081ae13e in ui_start (argc=0, argv=0xbffff468, argv00=0xbffff6c1 "/home/tom/Builds/showtime/build.linux/showtime") at /home/tom/Builds/showtime/src/ui/ui.c:150
#8 0x0815f963 in main (argc=<value optimized out>, argv=<value optimized out>;) at /home/tom/Builds/showtime/src/main.c:386

#6 Updated by Andreas Smas almost 10 years ago

  • Status changed from Need feedback to Accepted

#7 Updated by Tom Sullivan almost 10 years ago

I should also note that the re-install of Debian and the install of Slackware were both i386, so this seems to occur for both architectures.

#8 Updated by Tom Sullivan almost 10 years ago

It appears that this has been fixed, as of 2.99.337.gd32c8 (possibly earlier), adding bookmarks works on my current Debian i386 installation.

#9 Updated by ramaza - almost 10 years ago

I did a completely fresh install of Ubuntu 11.04 32Bit and Showtime from GIT on an Atom 330 + Nvidia ION board yesterday. The problem with crashes on adding bookmarks remains. So I'm afraid this problem isn't solved.

#10 Updated by Andreas Smas almost 10 years ago

  • Target version set to 3.0

#11 Updated by Andreas Smas almost 10 years ago

  • Status changed from Accepted to Need feedback
  • Found in version set to 2,99

I wonder.. could it be a problem with newer gcc and its more strict handling of type aliasing?

What version of GCC do you have?

gcc --version

#12 Updated by ramaza - almost 10 years ago

My Ubuntu 10.10 uses:
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

My Ubuntu 11.04 uses:
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

Problem is on both systems.

#13 Updated by Andreas Smas almost 10 years ago

  • Status changed from Need feedback to Accepted

Ok. I have 4.4.5 too.. hm hm.

#14 Updated by Andreas Smas almost 10 years ago

  • Target version changed from 3.0 to 33

#15 Updated by Andreas Smas almost 10 years ago

  • Target version changed from 33 to 3.2

#16 Updated by Andreas Smas almost 10 years ago

  • Status changed from Accepted to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF