oasegips / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

sigil only runs as root--Linux64 #720

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install as either root or user
2. Launch

What is the expected output? What do you see instead?
App doesn't launch. Running from terminal shows I/O error, and parser error, 
and dumps.
Runing with sudo works.
Results look the same whether installed as root (in /opt) or as user (in ~).

What version of the product are you using? On what operating system?
Sigil-0.3.2-Linux-x86_64-Setup.bin
Fedora14 (2.6.35.10-74.fc14.x86_64)/Gnome 2.32.0

Please provide any additional information below. If your source file
(SGF/EPUB/HTML/etc) is required to fully understand the problem, please
attach it to this issue. Read the ReportingIssues wiki page before
submitting!

All files are default. Below is a terminal dump. This is running without the 
.sh file, but results with the .sh file are essentially the same.

[me@localhost sigil]$ ~/sigil/sigil 
/home/me/sigil/dickens-a-tale-of-two-cities.epub
I/O error : No such file or directory
/usr/share/mime/application/xml.xml:1: parser error : Extra content at the end 
of the document

^
*** glibc detected *** /home/me/sigil/sigil: double free or corruption (out): 
0x0000000002e8d650 ***
======= Backtrace: =========
/lib64/libc.so.6[0x37abc78e23]
libQtCore.so.4(+0xeca58)[0x7fe1ff62ea58]
/usr/lib64/libxml2.so.2[0x37b605d919]
/usr/lib64/libxml2.so.2(xmlFreeParserInputBuffer+0x3b)[0x37b605ebdb]
/usr/lib64/libxml2.so.2(xmlFreeTextReader+0x205)[0x37b60e0b25]
/usr/lib64/libgnomevfs-2.so.0[0x33530299f8]
/usr/lib64/libgnomevfs-2.so.0(gnome_vfs_mime_get_value+0x31)[0x3353029eb1]
/usr/lib64/libgnomeui-2.so.0(gnome_icon_lookup+0x301)[0x3353461c11]
/usr/lib64/libgnomeui-2.so.0(gnome_icon_lookup_sync+0x7d)[0x335346214d]
libQtGui.so.4(+0x5dc2d4)[0x7fe200cac2d4]
libQtGui.so.4(_ZNK17QFileIconProvider4iconERK9QFileInfo+0x150)[0x7fe200f07440]
/home/me/sigil/sigil(_ZNK8Resource4IconEv+0x3d)[0x5a058d]
/home/me/sigil/sigil(_ZN8OPFModel15InitializeModelEv+0xc1)[0x62cfb1]
/home/me/sigil/sigil(_ZN8OPFModel7SetBookE14QSharedPointerI4BookE+0xa6)[0x62d706
]
/home/me/sigil/sigil(_ZN11BookBrowser7SetBookE14QSharedPointerI4BookE+0xe9)[0x62
a7d9]
/home/me/sigil/sigil(_ZN10MainWindow10SetNewBookE14QSharedPointerI4BookE+0xd0)[0
x612a40]
/home/me/sigil/sigil(_ZN10MainWindow8LoadFileERK7QString+0xbf)[0x617f0f]
/home/me/sigil/sigil(_ZN10MainWindowC1ERK7QStringP7QWidget6QFlagsIN2Qt10WindowTy
peEE+0x20b)[0x61accb]
/home/me/sigil/sigil(main+0xe69)[0x557bb9]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x37abc1ee7d]
/home/me/sigil/sigil[0x556b99]
======= Memory map: ========
00400000-009e9000 r-xp 00000000 08:12 26216789                           
/home/me/sigil/sigil
00be8000-00be9000 r--p 005e8000 08:12 26216789                           
/home/me/sigil/sigil
00be9000-00c0d000 rw-p 005e9000 08:12 26216789                           
/home/me/sigil/sigil
00c0d000-00c0f000 rw-p 00000000 00:00 0 
02b58000-02edf000 rw-p 00000000 00:00 0                                  [heap]
3352000000-3352043000 r-xp 00000000 08:02 1572881                        
/lib64/libdbus-1.so.3.5.2
3352043000-3352242000 ---p 00043000 08:02 1572881                        
/lib64/libdbus-1.so.3.5.2
3352242000-3352243000 r--p 00042000 08:02 1572881                        
/lib64/libdbus-1.so.3.5.2
3352243000-3352244000 rw-p 00043000 08:02 1572881                        
/lib64/libdbus-1.so.3.5.2
3352400000-3352421000 r-xp 00000000 08:02 2913723                        
/usr/lib64/libdbus-glib-1.so.2.1.0
3352421000-3352620000 ---p 00021000 08:02 2913723                        
/usr/lib64/libdbus-glib-1.so.2.1.0
3352620000-3352622000 rw-p 00020000 08:02 2913723                        
/usr/lib64/libdbus-glib-1.so.2.1.0
3352800000-335281e000 r-xp 00000000 08:02 2899149                        
/usr/lib64/libgnome-keyring.so.0.1.1
335281e000-3352a1e000 ---p 0001e000 08:02 2899149                        
/usr/lib64/libgnome-keyring.so.0.1.1
3352a1e000-3352a1f000 rw-p 0001e000 08:02 2899149                        
/usr/lib64/libgnome-keyring.so.0.1.1
3352c00000-3352c10000 r-xp 00000000 08:02 2927104                        
/usr/lib64/libavahi-client.so.3.2.7
3352c10000-3352e0f000 ---p 00010000 08:02 2927104                        
/usr/lib64/libavahi-client.so.3.2.7
3352e0f000-3352e10000 rw-p 0000f000 08:02 2927104                        
/usr/lib64/libavahi-client.so.3.2.7
3353000000-3353067000 r-xp 00000000 08:02 2927105                        
/usr/lib64/libgnomevfs-2.so.0.2400.4
3353067000-3353267000 ---p 00067000 08:02 2927105                        
/usr/lib64/libgnomevfs-2.so.0.2400.4
3353267000-335326b000 rw-p 00067000 08:02 2927105                        
/usr/lib64/libgnomevfs-2.so.0.2400.4
335326b000-335326c000 rw-p 00000000 00:00 0 
3353400000-3353498000 r-xp 00000000 08:02 2914961                        
/usr/lib64/libgnomeui-2.so.0.2400.4
3353498000-3353698000 ---p 00098000 08:02 2914961                        
/usr/lib64/libgnomeui-2.so.0.2400.4
3353698000-335369d000 rw-p 00098000 08:02 2914961                        
/usr/lib64/libgnomeui-2.so.0.2400.4
335369d000-335369e000 rw-p 00000000 00:00 0 
3353800000-3353816000 r-xp 00000000 08:02 2927106                        
/usr/lib64/libgnome-2.so.0.3200.0
3353816000-3353a15000 ---p 00016000 08:02 2927106                        
/usr/lib64/libgnome-2.so.0.3200.0
3353a15000-3353a17000 rw-p 00015000 08:02 2927106                        
/usr/lib64/libgnome-2.so.0.3200.0
3353c00000-3353c6c000 r-xp 00000000 08:02 2927107                        
/usr/lib64/libbonoboui-2.so.0.0.0
3353c6c000-3353e6c000 ---p 0006c000 08:02 2927107                        
/usr/lib64/libbonoboui-2.so.0.0.0
3353e6c000-3353e70000 rw-p 0006c000 08:02 2927107                        
/usr/lib64/libbonoboui-2.so.0.0.0
3353e70000-3353e71000 rw-p 00000000 00:00 0 
3427600000-3427672000 r-xp 00000000 08:02 1580730                        
/lib64/libgcrypt.so.11.5.3
3427672000-3427871000 ---p 00072000 08:02 1580730                        
/lib64/libgcrypt.so.11.5.3
3427871000-3427875000 rw-p 00071000 08:02 1580730                        
/lib64/libgcrypt.so.11.5.3
37ab800000-37ab821000 r-xp 00000000 08:02 1580982                        
/lib64/ld-2.12.90.so
37aba20000-37aba21000 r--p 00020000 08:02 1580982                        
/lib64/ld-2.12.90.so
37aba21000-37aba22000 rw-p 00021000 08:02 1580982                        
/lib64/ld-2.12.90.so
37aba22000-37aba23000 rw-p 00000000 00:00 0 
37abc00000-37abd9a000 r-xp 00000000 08:02 1580983                        
/lib64/libc-2.12.90.so
37abd9a000-37abf99000 ---p 0019a000 08:02 1580983                        
/lib64/libc-2.12.90.so
37abf99000-37abf9d000 r--p 00199000 08:02 1580983                        
/lib64/libc-2.12.90.so
37abf9d000-37abf9e000 rw-p 0019d000 08:02 1580983                        
/lib64/libc-2.12.90.so
37abf9e000-37abfa4000 rw-p 00000000 00:00 0 
37ac000000-37ac002000 r-xp 00000000 08:02 1580989                        
/lib64/libdl-2.12.90.so
37ac002000-37ac202000 ---p 00002000 08:02 1580989                        
/lib64/libdl-2.12.90.so
37ac202000-37ac203000 r--p 00002000 08:02 1580989                        
/lib64/libdl-2.12.90.so
37ac203000-37ac204000 rw-p 00003000 08:02 1580989                        
/lib64/libdl-2.12.90.so
37ac400000-37ac418000 r-xp 00000000 08:02 1580988                        
/lib64/libpthread-2.12.90.so
37ac418000-37ac617000 ---p 00018000 08:02 1580988                        
/lib64/libpthread-2.12.90.so
37ac617000-37ac618000 r--p 00017000 08:02 1580988                        
/lib64/libpthread-2.12.90.so
37ac618000-37ac619000 rw-p 00018000 08:02 1580988                        
/lib64/libpthread-2.12.90.so
37ac619000-37ac61d000 rw-p 00000000 00:00 0 
37ac800000-37ac884000 r-xp 00000000 08:02 1580984                        
/lib64/libm-2.12.90.so
37ac884000-37aca83000 ---p 00084000 08:02 1580984                        
/lib64/libm-2.12.90.so
37aca83000-37aca84000 r--p 00083000 08:02 1580984                        
/lib64/libm-2.12.90.so
37aca84000-37aca85000 rw-p 00084000 08:02 1580984                        
/lib64/libm-2.12.90.so
37acc00000-37acc15000 r-xp 00000000 08:02 1580987                        
/lib64/libgcc_s-4.5.1-20100924.so.1
37acc15000-37ace14000 ---p 00015000 08:02 1580987                        
/lib64/libgcc_s-4.5.1-20100924.so.1
37ace14000-37ace15000 rw-p 00014000 08:02 1580987                        
/lib64/libgcc_s-4.5.1-20100924.so.1
37ad000000-37ad016000 r-xp 00000000 08:02 1580985                        
/lib64/libz.so.1.2.5
37ad016000-37ad216000 ---p 00016000 08:02 1580985                        
/lib64/libz.so.1.2.5
37ad216000-37ad217000 rw-p 00016000 08:02 1580985                        
/lib64/libz.so.1.2.5
37ad400000-37ad407000 r-xp 00000000 08:02 1581004                        
/lib64/librt-2.12.90.so
37ad407000-37ad607000 ---p 00007000 08:02 1581004                        
/lib64/librt-2.12.90.soAborted (core dumped)
[me@localhost sigil]$ /home/me/sigil/sigil 
/home/me/sigil/dickens-a-tale-of-two-cities.epub
I/O error : No such file or directory
/usr/share/mime/application/xml.xml:1: parser error : Extra content at the end 
of the document

^
Segmentation fault (core dumped)

Original issue reported on code.google.com by neil.bry...@gmail.com on 29 Dec 2010 at 6:01

GoogleCodeExporter commented 9 years ago
This is most peculiar, but it's sadly somehow related to your system and/or 
configuration. I'm running Sigil as a non-root user on several versions of 
Ubuntu and I know that most current Linux users run it as non-root on many 
other distros.

I'd help you if I knew how. Maybe you should ask about the problem in the Sigil 
subforum on MobileRead ( 
http://www.mobileread.com/forums/forumdisplay.php?f=203 ). Many Linux users 
frequent it as well, so perhaps someone else has encountered this before. 

Original comment by Strahinja.Markovic@gmail.com on 29 Dec 2010 at 6:11