View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005541 | Scribus | General | public | 2007-04-07 13:07 | 2007-04-10 06:02 |
Reporter | mhanski | Assigned To | cbradney | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Pentium(R) M processor 1.50GHz | OS | Kubuntu | OS Version | Dapper Drake |
Product Version | 1.3.4cvs | ||||
Fixed in Version | 1.3.4cvs | ||||
Summary | 0005541: 1.3.4cvs: crash while creating a new doc or opening an existing one | ||||
Description | as stated above, it happens with today's cvs, cmake, and cairo cmake . -DCMAKE_INSTALL_PREFIX:PATH=/opt/scribus134 -DWANT_CAIRO=1 -DWANT_LIBART=0 -DWANT_DEBUG=1 -DPREFIX_CAIRO:PATH=/opt/cairo /opt/scribus134/bin/scribus: symbol lookup error: /opt/scribus134/bin/scribus: undefined symbol: cairo_get_group_target Program exited with code 0177. (gdb) bt No stack. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
No crash here. If you are updating cairo to its cvs level you might need to rebuild Scribus completely. |
|
there were no changes to cairo on my system, it works fine with 1.3.3.9cvs, and it worked fine with 1.3.4cvs until a couple of days ago. |
|
Reminder sent to: christoph_s Christoph, could you test it? |
|
Nothing has changed in Scribus 1.3.4 in relation to cairo lately, I'd suggest a full rebuild. |
|
I built 1.3.4cvs two days ago. No crash here. |
|
it was a totally fresh rebuild from a few hours ago, and cvs -z3 co -r Version13x Scribus shows there were no changes in cvs. |
|
What version of cairo do you have then? |
|
cairo 1.2.6 |
|
no crash here with 134cvs and cairo 1.2.4 on Suse 10.2 |
|
crash with today's cvs as well. There is this error message: "symbol lookup error: /opt/scribus134/bin/scribus: undefined symbol: cairo_get_group_target" -- do you need any additional information from me to check what it means? |
|
I dont believe its anything to do with our code. Nothing related to cairo has changed in CVS in awhile. |
|
this is a linking error, so we would need a) arguments used for the final linking of Scribus, b) link information in the scribus executable, c) version information on installed cairo libs. it's pretty difficult to debug this kind of error if one doesnt have access to the system. |
|
Not our issue, we think. Resolving. |
|
nice... I can't test any more 1.3.4cvs issues until this one is gone but it's of course your decision. |
|
Sorry, but how can we fix this when its not crashing in our code? Try cairo 1.4.2 and see then. |
|
As per discussion on IRC, the issue seems occur if two different versions of cairo are installed. |
|
Well, sorry for closing it. I still dont know what has changed in any of the systems as you say you havent changed cairo or cmake.. and our RPATH setting hasn't changed at all.. I have committed a change that should fix this though. It does change the RPATH stored in the binary now. You will need to rm your CMakeCache.txt and make clean. Maciej, I notice you are not building out of source based on your commands. It makes for a much cleaner build method.. just a tip. |
|
Symptom seems to be triggered by a missing RPATH in scribus and an additional old cairo installation in /usr/lib. Use this to check against which cairo version scribus is linked: ldd scribus | grep cairo Is the the intended version? If not, the RPATH must include the directory where the current cairo lib exists. Use this to check the RPATH scribus uses: objdump -p scribus | grep RPATH |
|
Seems to be fixed: ldd scribus | grep cairo libcairo.so.2 => /opt/latest_cairo/lib/libcairo.so.2 (0xb7ebd000) |
|
tested, fixed, closing @Andreas: ==Output of both commands before the fix== objdump -p /opt/scribus134/bin/scribus | grep RPATH RPATH /home/maciej/dane/scribus/cvs134/Scribus/lib/scribus/plugins ldd /opt/scribus134/bin/scribus | grep cairo libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7ebb000) ==Output of both commands after the fix== objdump -p /opt/scribus134/bin/scribus | grep RPATH RPATH /home/maciej/dane/scribus/cvs134/Scribus/lib/scribus/plugins:desaxe:text:styles:fonts:pixbuf:/opt/cairo/lib:/usr/lib/python2.4/config ldd /opt/scribus134/bin/scribus | grep cairo libcairo.so.2 => /opt/cairo/lib/libcairo.so.2 (0xb7f28000) thx for going into depth with this issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-04-07 13:07 | mhanski | New Issue | |
2007-04-07 20:37 | cbradney | Note Added: 0015791 | |
2007-04-07 21:25 | mhanski | Note Added: 0015792 | |
2007-04-07 21:26 | mhanski | Note Added: 0015793 | |
2007-04-07 21:28 | cbradney | Note Added: 0015794 | |
2007-04-07 21:30 | christoph_s | Note Added: 0015795 | |
2007-04-07 21:36 | mhanski | Note Added: 0015796 | |
2007-04-07 21:37 | mhanski | Note Edited: 0015796 | |
2007-04-07 21:55 | cbradney | Note Added: 0015797 | |
2007-04-07 22:06 | mhanski | Note Added: 0015798 | |
2007-04-08 17:36 |
|
Note Added: 0015802 | |
2007-04-08 18:07 | mhanski | Note Added: 0015803 | |
2007-04-08 19:58 | cbradney | Note Added: 0015805 | |
2007-04-08 21:25 | avox | Note Added: 0015806 | |
2007-04-09 12:27 | cbradney | Status | new => resolved |
2007-04-09 12:27 | cbradney | Resolution | open => not fixable |
2007-04-09 12:27 | cbradney | Assigned To | => cbradney |
2007-04-09 12:27 | cbradney | Note Added: 0015822 | |
2007-04-09 14:52 | mhanski | Status | resolved => closed |
2007-04-09 14:52 | mhanski | Note Added: 0015827 | |
2007-04-09 15:41 | cbradney | Note Added: 0015830 | |
2007-04-09 22:35 | christoph_s | Status | closed => feedback |
2007-04-09 22:35 | christoph_s | Resolution | not fixable => reopened |
2007-04-09 22:35 | christoph_s | Note Added: 0015832 | |
2007-04-09 23:20 | cbradney | Note Added: 0015833 | |
2007-04-09 23:22 | avox | Note Added: 0015834 | |
2007-04-09 23:51 | christoph_s | Note Added: 0015837 | |
2007-04-09 23:58 | avox | Status | feedback => resolved |
2007-04-09 23:58 | avox | Fixed in Version | => 1.3.4cvs |
2007-04-09 23:58 | avox | Resolution | reopened => fixed |
2007-04-10 06:01 | mhanski | Status | resolved => closed |
2007-04-10 06:01 | mhanski | Note Added: 0015842 |