[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#346448: marked as done (rosegarden does nothing but segfault)



Your message dated Thu, 12 Oct 2006 23:34:09 -0400
with message-id <20061013033409.GC14481@catfish.vireo.org>
and subject line closing due to inactivity
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

--- Begin Message ---
Package: rosegarden2
Version: 2.1pl4-2
Severity: important

If I start rosegarden, and click either Notate or Sequence, I get

Rosegarden Editor: Segmentation Violation: this shouldn't happen, sorry.
Rosegarden Sequencer: Segmentation Violation: this shouldn't happen, sorry.

A debug build returned

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaab1c3ec3 in _XtCountVaList () from /usr/X11R6/lib/libXt.so.6
(gdb) bt
#0  0x00002aaaab1c3ec3 in _XtCountVaList () from /usr/X11R6/lib/libXt.so.6
#1  0x00002aaaab1c2bda in XtVaSetValues () from /usr/X11R6/lib/libXt.so.6
#2  0x000000000044894f in CreateApplicationWidgets () at Widgets.c:189
#3  0x000000000041e889 in main (argc=1, argv=0x7fffffa91bb8, envp=0x7fffffa91bc8) at Main.c:488

which pointed to the reason: The calls to the XtVa... functions freely
mix int-sized (4) objects like 0 and pointer-sized (8) objects, and
terminate the arglists with a four byte NULL value (which will only
accitentally work in some cases).

I changed my lines 189ff in editor/src/Widget.c to
  XtVaSetValues(topBox,
		XtNleft,   (XtPointer) XawChainLeft,
		XtNright,  (XtPointer) XawChainRight,
		XtNtop,    (XtPointer) XawChainTop,
		XtNbottom, (XtPointer) XawChainTop,
		XtNhorizDistance, (XtPointer) 0,
		XtNvertDistance, (XtPointer) 0,
		XtNborderWidth, (XtPointer) 0,
		(XtPointer) NULL);
and now the editor starts. Of course, that is just an accident until the
other XtVa... calls are fixed, but I will not do that at 3 in the
morning.

Oh, and there is a build-dependecy on xaw3dg-dev missing.

Yours, Florian Hars.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.12.4
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

-- no debconf information


--- End Message ---
--- Begin Message ---
This bug is old, and is no longer reproducable.  I'm closing it due to
inactivity.  If you find you are still able to reproduce this bug, please
feel free to reopen it.

Thanks,

stew

--- End Message ---

Reply to: