Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Ola Lundqvist
Hi

The reason that I reassigned it to that package is that I can not see
how lightspeed can distroy the internal data structure in fontconfig
so that it on finalize of the structure makes an assert. The lightspeed
application do not even call this function.

I think it is valid to forward this bug. But maybe I did not give enough
proof on that the problem is in fontconfig.

I can see a number of reasons why this has been introduced (changelog in 
reverse order):

fontconfig (2.4.0-1) experimental; urgency=low

  * fontconfig update to 2.4.0  
  * binary shared mmap'd caches 
  * split configuration

 -- Keith Packard [EMAIL PROTECTED]  Sat,  9 Sep 2006 23:03:30 -0700

fontconfig (2.4.0-4) unstable; urgency=low

  * Clean up old fontcaches before creating new ones   ===
  * Config files moved to -config package in 2.3.2-2

 -- Keith Packard [EMAIL PROTECTED]  Wed, 13 Sep 2006 00:11:37 -0700

fontconfig (2.4.2-1) unstable; urgency=low

  * Incorporate old Galacian translation (closes 361259)
  * Add fc-list to fontconfig-udeb. (closes 388161)
  * Add conf.d and conf.avail to fontconfig-udeb (closes 388165)
  * Update Czech translation (closes 389209)
  * Update Russian translation (closes 389436)
  * Update Dutch translation (closes 391462)
  * Update French translation (closes 392454)
  * Update Danish translation again (closes 388017, 393059)
  * Add Romanian translation (closes 395346)
  * Update German translation (closes 396941)
  * Update Brazilian Portuguese translation (closes 397846)
  * Update Japanese debconf translation (closes 398596)
  * Update Spanish translation (closes 399961)
  * Add default cache directories (closes 387928, 393909, 395880, 396554, 
298293)
  * Merge new upstream version (2.4.2).=

 -- Keith Packard [EMAIL PROTECTED]  Sat,  2 Dec 2006 16:24:55 -0800

Here is a stacktrace

Type help info followed by info subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb) info stack
#0  0xb744f947 in raise () from /lib/tls/libc.so.6
#1  0xb74510c9 in abort () from /lib/tls/libc.so.6
#2  0xb744905f in __assert_fail () from /lib/tls/libc.so.6
#3  0xb79fa5ee in FcDirCacheUnload () from /usr/lib/libfontconfig.so.1
#4  0xb7a03f5e in FcFini () from /usr/lib/libfontconfig.so.1
#5  0x0806234b in find_a_font ()
#6  0x08062495 in ogl_draw_string_ ()
#7  0x08061b71 in ogl_initialize ()
#8  0xb7814e1b in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#9  0xb780798b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0xb7817f2d in g_signal_chain_from_overridden () from 
/usr/lib/libgobject-2.0.so.0
#11 0xb7819429 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#12 0xb78195d9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0xb7d00ca4 in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7d00f58 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7b7e5a5 in gtk_container_child_type () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb7b410d0 in gtk_box_pack_start_defaults () from 
/usr/lib/libgtk-x11-2.0.so.0
#17 0xb7b7becc in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7b7e559 in gtk_container_child_type () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7814e1b in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#20 0xb7805f49 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#21 0xb7807a7c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb78183b8 in g_signal_chain_from_overridden () from 
/usr/lib/libgobject-2.0.so.0
#23 0xb7819429 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0xb78195d9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0xb7d00eef in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7b7e5a5 in gtk_container_child_type () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7b410d0 in gtk_box_pack_start_defaults () from 
/usr/lib/libgtk-x11-2.0.so.0
#28 0xb7b7becc in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7b7e559 in gtk_container_child_type () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7814e1b in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#31 0xb7805f49 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#32 0xb7807a7c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#33 0xb78183b8 in g_signal_chain_from_overridden () from 

Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Steinar H. Gunderson
On Sun, Dec 10, 2006 at 07:26:55PM -0800, Steve Langasek wrote:
 It does not follow that just because an assertion failure happens in
 fontconfig that the bug is in fontconfig.  This problem hasn't been reported
 against any other programs besides lightspeed,

It has been reported for several other programs -- abiword and ImageMagick,
for instance.

It's easily fixed, though; just remove the FcFini. At least that's what the
abiword people did...

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 402402 libfontconfig1
Bug#402402: lightspeed: crushes on start
Bug#387606: crashes on startup with a failed assertion (NULL pointer)
Bug reassigned from package `lightspeed' to `libfontconfig1'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Ola Lundqvist
reassign 402402 libfontconfig1
thanks

Hi

On Mon, Dec 11, 2006 at 02:04:55PM +0100, Steinar H. Gunderson wrote:
 On Sun, Dec 10, 2006 at 07:26:55PM -0800, Steve Langasek wrote:
  It does not follow that just because an assertion failure happens in
  fontconfig that the bug is in fontconfig.  This problem hasn't been reported
  against any other programs besides lightspeed,
 
 It has been reported for several other programs -- abiword and ImageMagick,
 for instance.
 
 It's easily fixed, though; just remove the FcFini. At least that's what the
 abiword people did...

Removed from where? In lightspeed case the FcFinit is not called
directly but rather via gtk libraries.

I'm reassigning back to fontconfig. If the function that is calling
fontconfig should be changed, please reassign to that library.

Regards,

// Ola

 /* Steinar */
 -- 
 Homepage: http://www.sesse.net/
 
 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://opalsys.net/ UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 402402 lightspeed
Bug#402402: lightspeed: crushes on start
Bug#387606: crashes on startup with a failed assertion (NULL pointer)
Bug reassigned from package `libfontconfig1' to `lightspeed'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Steinar H. Gunderson
reassign 402402 lightspeed
thanks

On Mon, Dec 11, 2006 at 02:47:35PM +0100, Ola Lundqvist wrote:
 Removed from where? In lightspeed case the FcFinit is not called
 directly but rather via gtk libraries.

Wrong. Check src/ogl-ftgl.cc, line 70.

 I'm reassigning back to fontconfig. If the function that is calling
 fontconfig should be changed, please reassign to that library.

lightspeed is the one calling fontconfig...

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed (with 1 errors): Re: Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 unmerge 387606 402402
Unknown command or malformed arguments to command.

 reassign 387606 lightspeed
Bug#387606: crashes on startup with a failed assertion (NULL pointer)
Bug#402402: lightspeed: crushes on start
Bug reassigned from package `lightspeed' to `lightspeed'.

 severity 402402 important
Bug#402402: lightspeed: crushes on start
Bug#387606: crashes on startup with a failed assertion (NULL pointer)
Severity set to `important' from `serious'

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#387606: Bug#402402: lightspeed: crushes on start

2006-12-11 Thread Ola Lundqvist
unmerge 387606 402402
reassign 387606 lightspeed
severity 402402 important
thanks

Hi

Doh!!! I have been looking in the wrong source tree for lightspeed.
Sorry about that. I must have downloaded the sarge version some time
ago and did not check which version I was looking into. Thanks a lot
for that pointer.

Detaching one of the bugs and reassign that back to lightspeed. I keep
one of them on fontconfig however as the real bug is there still but
not that serious as it is possible to go around it.

I have made a recheck of the source that do this kind of things and
I have not found any obvious faults. I checked for places where it could
pass a null pointer to fontconfig but all such cases is handled.

What I have done now is to comment out that FcFini call to make sure that
lightspeed do not crash. It is not a good solution, but good enough to
solve the immediate problem.

Thanks a lot! New version uploaded to the archives.

Best regards,

// Ola

On Mon, Dec 11, 2006 at 03:08:50PM +0100, Steinar H. Gunderson wrote:
 reassign 402402 lightspeed
 thanks
 
 On Mon, Dec 11, 2006 at 02:47:35PM +0100, Ola Lundqvist wrote:
  Removed from where? In lightspeed case the FcFinit is not called
  directly but rather via gtk libraries.
 
 Wrong. Check src/ogl-ftgl.cc, line 70.
 
  I'm reassigning back to fontconfig. If the function that is calling
  fontconfig should be changed, please reassign to that library.
 
 lightspeed is the one calling fontconfig...
 
 /* Steinar */
 -- 
 Homepage: http://www.sesse.net/
 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://opalsys.net/ UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]