dia segfaults on start...

Bug #10998 reported by Debian Bug Importer
8
Affects Status Importance Assigned to Milestone
dia (Debian)
Fix Released
Unknown
dia (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #284611 http://bugs.debian.org/284611

Revision history for this message
In , Jorgen Schaefer (forcer) wrote : Reassign

# This bug is caused by libtrash, not dias fault. Sorry for the confusion.
reassign 284611 libtrash
severity 284611 normal
thanks

--
Debian GNU/Linux Developer
<email address hidden>
http://www.forcix.cx/

Revision history for this message
In , Jorgen Schaefer (forcer) wrote : Re: Bug#284611: Acknowledgement (dia segfaults on start...)

More info:
The bug doesn't show up when dia has a ~/.dia directory. Here's a
strace of the bug:

execve("/usr/bin/dia", ["dia"], [/* 26 vars */]) = 0
uname({sys="Linux", node="forcix", ...}) = 0
brk(0) = 0x80ad000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe9000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libtrash/libtrash.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\21"..., 512) = 512
[...]
open("/home/forcer/.libtrash", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=662, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7387000
read(5, "INTERCEPT_UNLINK = YES\nINTERCEPT"..., 131072) = 662
read(5, "", 131072) = 0
close(5) = 0
munmap(0xb7387000, 131072) = 0
geteuid32() = 1000
open("/etc/passwd", O_RDONLY) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
_llseek(5, 0, [0], SEEK_CUR) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=1080, ...}) = 0
mmap2(NULL, 1080, PROT_READ, MAP_SHARED, 5, 0) = 0xb73a6000
_llseek(5, 1080, [1080], SEEK_SET) = 0
munmap(0xb73a6000, 1080) = 0
close(5) = 0
stat64("/home/forcer/.trashcan", {st_mode=S_IFDIR|0700, st_size=3512, ...}) = 0
access("/home/forcer/.trashcan", W_OK|X_OK) = 0
lstat64(0, 0xbffff4c4) = -1 EFAULT (Bad address)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

My .libtrash:
INTERCEPT_UNLINK = YES
INTERCEPT_RENAME = YES
INTERCEPT_FOPEN = NO
INTERCEPT_FREOPEN = NO
INTERCEPT_OPEN = NO

TRASH_CAN = .trashcan

# ALLOW_DESTRUCTION or PROTECT
IN_CASE_OF_FAILURE = PROTECT

SHOULD_WARN = NO
PROTECT_TRASH = NO

IGNORE_EXTENSIONS = o;log;aux;swp
IGNORE_HIDDEN = NO
IGNORE_EDITOR_BACKUP = YES
IGNORE_EDITOR_TEMPORARY = YES
IGNORE_RE = /sarg/

LIBTRASH_CONFIG_FILE_UNREMOVABLE = YES

GLOBAL_PROTECTION = NO
TRASH_SYSTEM_ROOT = SYSTEM_ROOT

UNREMOVABLE_DIRS =
UNCOVER_DIRS =

TEMPORARY_DIRS =
USER_TEMPORARY_DIRS =
REMOVABLE_MEDIA_MOUNT_POINTS =
EXCEPTIONS = /etc/mtab;/etc/resolv.conf;/etc/adjtime;/etc/upsstatus;/etc/dhcpc

Greetings,
        -- Jorgen

--
Debian GNU/Linux Developer
<email address hidden>
http://www.forcix.cx/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #284611 http://bugs.debian.org/284611

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1CbfoG-0001pV-J3@localhost>
Date: Tue, 07 Dec 2004 14:55:20 +0100
From: Jorgen Schaefer <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: dia segfaults on start...

Package: dia
Version: 0.94.0-3
Severity: grave
Justification: renders package unusable

<0>forcer@forcix[3]:~$ dia
I/O warning : failed to load external entity "NULL"
Segmentation fault

Greetings,
 -- Jorgen

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=en_US, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages dia depends on:
ii dia-common 0.94.0-3 Diagram editor (common files)
ii dia-libs 0.94.0-3 Diagram editor (library files)
ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi
ii libatk1.0-0 1.8.0-3 The ATK accessibility toolkit
ii libc6 2.3.2.ds1-19 GNU C Library: Shared libraries an
ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.4.8-1 The GLib library of C routines
ii libgtk2.0-0 2.4.13-1 The GTK+ graphical user interface
ii libpango1.0-0 1.6.0-3 Layout and rendering of internatio
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libxml2 2.6.11-5 GNOME XML library
ii zlib1g 1:1.2.2-3 compression library - runtime

-- no debconf information

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 07 Dec 2004 15:28:26 +0100
From: Jorgen Schaefer <email address hidden>
To: <email address hidden>
Subject: Re: Bug#284611: Acknowledgement (dia segfaults on start...)

More info:
The bug doesn't show up when dia has a ~/.dia directory. Here's a
strace of the bug:

execve("/usr/bin/dia", ["dia"], [/* 26 vars */]) = 0
uname({sys="Linux", node="forcix", ...}) = 0
brk(0) = 0x80ad000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe9000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libtrash/libtrash.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\21"..., 512) = 512
[...]
open("/home/forcer/.libtrash", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=662, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7387000
read(5, "INTERCEPT_UNLINK = YES\nINTERCEPT"..., 131072) = 662
read(5, "", 131072) = 0
close(5) = 0
munmap(0xb7387000, 131072) = 0
geteuid32() = 1000
open("/etc/passwd", O_RDONLY) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
_llseek(5, 0, [0], SEEK_CUR) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=1080, ...}) = 0
mmap2(NULL, 1080, PROT_READ, MAP_SHARED, 5, 0) = 0xb73a6000
_llseek(5, 1080, [1080], SEEK_SET) = 0
munmap(0xb73a6000, 1080) = 0
close(5) = 0
stat64("/home/forcer/.trashcan", {st_mode=S_IFDIR|0700, st_size=3512, ...}) = 0
access("/home/forcer/.trashcan", W_OK|X_OK) = 0
lstat64(0, 0xbffff4c4) = -1 EFAULT (Bad address)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

My .libtrash:
INTERCEPT_UNLINK = YES
INTERCEPT_RENAME = YES
INTERCEPT_FOPEN = NO
INTERCEPT_FREOPEN = NO
INTERCEPT_OPEN = NO

TRASH_CAN = .trashcan

# ALLOW_DESTRUCTION or PROTECT
IN_CASE_OF_FAILURE = PROTECT

SHOULD_WARN = NO
PROTECT_TRASH = NO

IGNORE_EXTENSIONS = o;log;aux;swp
IGNORE_HIDDEN = NO
IGNORE_EDITOR_BACKUP = YES
IGNORE_EDITOR_TEMPORARY = YES
IGNORE_RE = /sarg/

LIBTRASH_CONFIG_FILE_UNREMOVABLE = YES

GLOBAL_PROTECTION = NO
TRASH_SYSTEM_ROOT = SYSTEM_ROOT

UNREMOVABLE_DIRS =
UNCOVER_DIRS =

TEMPORARY_DIRS =
USER_TEMPORARY_DIRS =
REMOVABLE_MEDIA_MOUNT_POINTS =
EXCEPTIONS = /etc/mtab;/etc/resolv.conf;/etc/adjtime;/etc/upsstatus;/etc/dhcpc

Greetings,
        -- Jorgen

--
Debian GNU/Linux Developer
<email address hidden>
http://www.forcix.cx/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 07 Dec 2004 15:22:15 +0100
From: Jorgen Schaefer <email address hidden>
To: <email address hidden>
Subject: Reassign

# This bug is caused by libtrash, not dias fault. Sorry for the confusion.
reassign 284611 libtrash
severity 284611 normal
thanks

--
Debian GNU/Linux Developer
<email address hidden>
http://www.forcix.cx/

Revision history for this message
Matt Zimmerman (mdz) wrote :

Bug is in a universe package

Revision history for this message
Chuck Short (zulcss) wrote :

Works in hoary with ~/.dia

-- chuck

Revision history for this message
In , Jose Luis Tallon (jltallon) wrote : Quite some more tagging

tags #273515 +moreinfo
tags #284611 +moreinfo +unconfirmed
tags #293654 +pending
tags #296420 +upstream
forwarded #296420 <email address hidden>
tags #303456 +upstream
tags #166507 +upstream
tags #231304 +pending
tags #250019 +pending
tags #252587 +pending
tags #281957 +pending
tags #304076 +moreinfo
tags #298294 +pending +fixed-upstream
thanks

... so as to prepare for the deep freeze :-)

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 11 Apr 2005 14:01:16 +0200
From: =?ISO-8859-15?Q?Jos=E9_Luis_Tall=F3n?= <email address hidden>
To: <email address hidden>
Subject: Quite some more tagging

tags #273515 +moreinfo
tags #284611 +moreinfo +unconfirmed
tags #293654 +pending
tags #296420 +upstream
forwarded #296420 <email address hidden>
tags #303456 +upstream
tags #166507 +upstream
tags #231304 +pending
tags #250019 +pending
tags #252587 +pending
tags #281957 +pending
tags #304076 +moreinfo
tags #298294 +pending +fixed-upstream
thanks

... so as to prepare for the deep freeze :-)

Revision history for this message
In , Jose Luis Tallon (jltallon) wrote : Bug#284611: fixed in libtrash 2.4-1

Source: libtrash
Source-Version: 2.4-1

We believe that the bug you reported is fixed in the latest version of
libtrash, which is due to be installed in the Debian FTP archive:

libtrash_2.4-1.diff.gz
  to pool/main/libt/libtrash/libtrash_2.4-1.diff.gz
libtrash_2.4-1.dsc
  to pool/main/libt/libtrash/libtrash_2.4-1.dsc
libtrash_2.4-1_i386.deb
  to pool/main/libt/libtrash/libtrash_2.4-1_i386.deb
libtrash_2.4.orig.tar.gz
  to pool/main/libt/libtrash/libtrash_2.4.orig.tar.gz

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose Luis Tallon <email address hidden> (supplier of updated libtrash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 15 Jan 2006 1:14:22 +0100
Source: libtrash
Binary: libtrash
Architecture: source i386
Version: 2.4-1
Distribution: unstable
Urgency: low
Maintainer: Jose Luis Tallon <email address hidden>
Changed-By: Jose Luis Tallon <email address hidden>
Description:
 libtrash - A trash can library to use with LD_PRELOAD
Closes: 194064 250019 284611 326453 345682
Changes:
 libtrash (2.4-1) unstable; urgency=low
 .
   * New upstream version (Closes: #345682)
     - Supersedes 2.2, still buggy (Closes: #250019)
     - Solves SEGV on startup with FISH (Closes: #326453)
     - Solves problems with dia (Closes: #284611)
     ...due to an undocumented 'feature' w/ glibc2.1
 .
   * build process
     - upgrade to debhelper compat level 4
 .
   * Update upstream author's contact info (Closes: #194064)
 .
   * Package sponsored by Roberto Lumbreras <email address hidden>
Files:
 3a4433c24cf13fb557e77bbdc2da558a 570 admin optional libtrash_2.4-1.dsc
 c335bf506cfe2433d16df71dc29acfc3 90634 admin optional libtrash_2.4.orig.tar.gz
 78916001145cd07e83f4d3b42119eea5 3183 admin optional libtrash_2.4-1.diff.gz
 cab698d4020095e56b0bcb90b36b41d4 60460 libs optional libtrash_2.4-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDy7XGfIEQE/XJcI0RAt1sAJ98G0E6oRfOk9ggyuKB3MAVZVVdLQCeIAK9
oePbSQiacx54W5M4bQtXaUk=
=VgSY
-----END PGP SIGNATURE-----

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.