Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310295 - x11-terms/tilda 0.9.6 segfaults on startup (gdk resources not initialized porperly)
Summary: x11-terms/tilda 0.9.6 segfaults on startup (gdk resources not initialized por...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 22:06 UTC by simon
Modified: 2010-04-10 03:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for fix (tilda-0.9.6-gdk_resources.patch,621 bytes, patch)
2010-03-19 22:08 UTC, simon
Details | Diff
Same patch as simon's with adjusted path. (tilda-0.9.6-gdk_resources.patch,624 bytes, patch)
2010-03-21 17:59 UTC, Lars
Details | Diff
Ebuild which applies the patch. (tilda-0.9.6.ebuild,874 bytes, text/plain)
2010-03-21 18:02 UTC, Lars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2010-03-19 22:06:52 UTC
x11-terms/tilda-0.9.6 (drop down terminal emulator) crashes with segfault on start.
removing old configs as described in bug #300239 is not solving this (neither start with -C nor with shell passed with -c)
gdb shows 





Reproducible: Always

Actual Results:  
Program received signal SIGSEGV, Segmentation fault.
0xb7bddc33 in gdk_x11_window_set_user_time () from /usr/lib/libgdk-x11-2.0.so.0

Expected Results:  
startup without segfault.

used solution from 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550123
Comment 1 simon 2010-03-19 22:08:36 UTC
Created attachment 224285 [details, diff]
patch for fix
Comment 2 simon 2010-03-19 22:11:21 UTC
This issue did only occur on my x86 machine my amd64 didn't show this, so it seems to be triggered by outside parameters and may not be reproducable on each machine.

Comment 3 Lars 2010-03-21 17:59:53 UTC
Created attachment 224573 [details, diff]
Same patch as simon's with adjusted path.

Changed the paths to src/tilda_window.c to fit ebuild requirement.
Comment 4 Lars 2010-03-21 18:02:58 UTC
Created attachment 224575 [details]
Ebuild which applies the patch.

This is a modified ebuild which applies the patch originally posted by simon. I tested this ebuild on i386. It worked and fixed the segmentation fault.
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2010-04-04 13:52:38 UTC
I just pushed the patch into the gentoo-x86 tree.  Thanks for the work on this guys!
Comment 6 fow 2010-04-10 03:35:02 UTC
Shouldn't the version be bumped to 0.9.6-r1 so that users will be aware of the fix? Also, for what it's worth, this fix works on amd64 as well.