Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] dia crash

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: Discuss-list <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] dia crash
  • Date: Thu, 5 Aug 2004 09:27:46 -0700

Quoting Bas van Gils <Bas.vanGils AT cs.kun.nl>:
> Hi all,
>
> Today I noticed that dia keeps on crashing as soon as I hit the 'save as'
> button. This is kind of annoying since I use it a lot. I managed to make a
> dump of the strace output and attached it as a .bz2 file to this mail. Can
> anyone make anything of it?

Looks like this is the important part:
...
ioctl(3, FIONREAD, [64]) = 0
read(3, "\5\1\226)\310\16l\1:\0\0\0\272\1`\1\0\0\0\0\356\3\302\1"..., 64) = 64
gettimeofday({1091715499, 968693}, NULL) = 0
stat64("/home/basvg/Diagram1.dia", 0xbfffe8dc) = -1 ENOENT (No such file or
directory)
gettimeofday({1091715499, 971829}, NULL) = 0
open("/home/basvg/__dia8TSSQc", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
umask(0) = 022
umask(022) = 0
fchmod(4, 0644) = 0
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40d83000
_llseek(4, 0, [0], SEEK_CUR) = 0
close(4) = 0
munmap(0x40d83000, 4096) = 0
brk(0) = 0x857f000
brk(0x85ae000) = 0x85ae000
brk(0) = 0x85ae000
brk(0x85de000) = 0x85de000
open("/home/basvg/__dia8TSSQc", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40d83000
write(4, "\37\213\10\0\0\0\0\0\0\3\275W\313r\3320\24\335\363\25\36"..., 711) =
711
close(4) = 0
munmap(0x40d83000, 4096) = 0
brk(0) = 0x85de000
brk(0) = 0x85de000
brk(0x859c000) = 0x859c000
brk(0) = 0x859c000
unlink("/home/basvg/Diagram1.dia~") = -1 ENOENT (No such file or
directory)
rename("/home/basvg/Diagram1.dia", "/home/basvg/Diagram1.dia~") = -1 ENOENT
(No
such file or directory)
rename("/home/basvg/__dia8TSSQc", "/home/basvg/Diagram1.dia") = 0
...

Are any other apps having problems? I've been using dia the last few days
through a forwarded X connection via ssh and it saves just fine. You may want
to try recompiling dia and if that doesn't work, it's dependencies. Make sure
you have read and write access to those files and execute permissions to
/home/basvg (but then a bunch of other stuff would probably be broken as well
if these weren't set already ;)).

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.24.

Top of Page