guitone

Issue 178: Segmentation fault on workspace update

Reported by AJK, Aug 18, 2011

Steps to reproduce the problem:
1.Open a workspace
2.Try to update it
3.

Expected result:
An updated workspace

Actual result:
Tail end of strace...

clock_gettime(CLOCK_MONOTONIC, {2057138, 382481122}) = 0
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, 
events=POLLIN}, {fd=36, events=POLLIN}], 4, 12724) = 1 ([{fd=36, 
revents=POLLIN}])
read(7, 0x829b028, 4096)                = -1 EAGAIN (Resource 
temporarily unavailable)
read(36, "\0"..., 1)                    = 1
waitpid(27535, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 
WNOHANG) = 27535
ioctl(-1, FIONREAD, [0])                = -1 EBADF (Bad file 
descriptor)
ioctl(-1, FIONREAD, [0])                = -1 EBADF (Bad file 
descriptor)
close(29)                               = 0
close(37)                               = 0
close(36)                               = 0
clock_gettime(CLOCK_MONOTONIC, {2057138, 382750868}) = 0
clock_gettime(CLOCK_MONOTONIC, {2057138, 383164446}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

System and version information:

Linux 2.6.38.2, SMP PREEMPT 
i686 AMD Phenom(tm) II X4 945 Processor AuthenticAMD
GNU/Linux

Slackware 13.37 with QT4 but running KDE 3.5 on QT3

Compiled with:
LDFLAGS/CFLAGS/CXXFLAGS ="-O2 -march=i486 -mtune=i686"

Comment 1 by AJK, Aug 18, 2011

Additional note: Workspace is updated properly, but the segfault 
kills guitone, a bit annoying to have to reopen guitone after this.

Comment 2 by Thomas Keller, Sep 13, 2011

Hi AJK!

Sorry for the late response - what Qt version are you running? Qt 
4.7.x by any chance? Unfortunately there is a bug (either in guitone 
or in Qt) that is quite hard to track down. Upstream is notified, 
but hasn't done anything so far:

https://bugreports.qt.nokia.com/browse/QTBUG-19261

Feel free to upvote this.

Thanks for the report!
Status: Accepted
Owner: tommyd

Comment 3 by AJK, Sep 14, 2011

Qt 3.3.8b

:-)

Comment 4 by AJK, Sep 15, 2011

Woops, posted too soon (damn mouse)

I guess I'll be more specific.

Qt 3.3.8b on the main GUI

guitone is linked against Qt 4.6.2_2d3d3e5

Yes other apps work happily when 'mixed' like this :-)

Created: 5 years 9 days ago by AJK

Updated: 4 years 11 months ago

Status: Accepted

Owner: Thomas Keller

Labels:
Type:Defect
Priority:Medium

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status